.ps-two-col-component {
    --ps-menu-bg: #ffffff;
    --ps-menu-hover: #FFEDD9;
    --ps-square-color: #004AAD;
    --ps-item-bg: #ffffff;
    --ps-text-color: #000;
    --ps-selected-color: #FBC108;
    
    font-family: 'Poppins', sans-serif;
    display: flex;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ps-two-col-component .ps-menu-column {
    width: 250px;
    background-color: var(--ps-menu-bg);
    padding: 30px 30px 0 0;
}

.ps-two-col-component .ps-menu-item {
    display: flex;
    align-items: stretch;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible; /* Changed from hidden to visible to show shadow */
    box-shadow: 0px 4px 10px 2px rgba(0, 0, 0, 0.25); /* Shadow moved here */
    border-radius: 0 15px 15px 0; /* Added to match rectangle shape */
}

.ps-two-col-component .ps-menu-item:hover .ps-rectangle {
    background-color: var(--ps-menu-hover);
}

.ps-two-col-component .ps-square {
    width: 20px;
    background-color: var(--ps-square-color);
    flex-shrink: 0;
}

.ps-two-col-component .ps-menu-item.ps-selected .ps-square {
    background-color: var(--ps-square-color);
    width: 20px;
    position: relative; /* Helps with z-index stacking */
    z-index: 2; /* Ensures square stays above the shadow */
}

.ps-two-col-component .ps-rectangle {
    padding: 15px 20px;
    background-color: var(--ps-item-bg);
    flex-grow: 1;
    color: var(--ps-text-color);
    border-radius: 0 15px 15px 0;
    position: relative;
    z-index: 1;
    box-shadow: none; /* Removed shadow from rectangle */
}

.ps-two-col-component .ps-content-column {
    flex-grow: 1;
    padding: 20px;
    background-color: var(--ps-item-bg);
    box-sizing: border-box; /* Add this */
    width: calc(100% - 250px);
}

.ps-two-col-component .ps-content-column h1 {
    color: var(--ps-text-color);
    margin-top: 0;
}

/* Selected state */
.ps-two-col-component .ps-menu-column .ps-menu-item.ps-selected .ps-rectangle {
    background-color: var(--ps-selected-color) !important;
    font-weight: bold;
    color: #000;
}

/* Content Area Styles */
.ps-content-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box; /* Add this */
    margin-bottom: 40px;
}

.ps-header-row {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.ps-header-row h1 {
    margin: 0;
    color: #004AAD !important;; 
    font-size: 48px;
}

.ps-products-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    max-width: 100%;
    padding-right: 20px; /* Add right padding */
    box-sizing: border-box;
}

.ps-product-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%; /* Ensure full width */
    box-sizing: border-box; 
}

.ps-product-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.ps-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.ps-product-label {
    background-color: #FFD700; /* Yellow color */
    color: #333;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

/* Updated Product Card Styles */
.ps-product-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* Alternate background colors for product cards */
.ps-products-row .ps-product-card:nth-child(odd) .ps-product-info {
    background-color: #FBC108; /* Yellow for odd cards */
}

.ps-products-row .ps-product-card:nth-child(even) .ps-product-info {
    background-color: #004AAD; /* Blue for even cards */
}

/* Text colors based on background */
.ps-products-row .ps-product-card:nth-child(odd) .ps-product-name {
    color: #303030; /* Dark gray for yellow background */
}

.ps-products-row .ps-product-card:nth-child(even) .ps-product-name {
    color: #FBC108; /* Yellow text for blue background */
}

/* Hover effects */
.ps-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Rest of your existing CSS remains the same */
.ps-product-info {
    padding: 12px 15px;
    text-align: left; /* Changed from center to left */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Added to left-align content */
}

.ps-product-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
}

.ps-product-description {
    font-size: 14px;
    line-height: 1.4;
    color: #FFFFFF;
    text-align: left; /* Ensure description is left-aligned */
    width: 100%; /* Take full width */
}

.ps-product-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.ps-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ps-product-card:hover .ps-product-image img {
    transform: scale(1.05);
}

.ps-products-row .ps-product-card .ps-product-info .ps-product-name:only-child {
    color: #FFFFFF !important;
}
.ps-products-row .ps-product-card:nth-child(odd) .ps-product-name:only-child {
    color: #FFFFFF !important; /* Override for name without label */
}

/* .ps-products-row .ps-product-card:nth-child(odd) .ps-product-description {
    color: #303030;
}

 .ps-products-row .ps-product-card:nth-child(even) .ps-product-description {
    color: #FFFFFF; 
} */

.ps-logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ps-category-logo {
    max-width: 200px;
    max-height: 100px;
    object-fit: contain;
}

.header-container {
    display: flex;
    align-items: center;
    margin: 0 20px;
}

.header-title {
    white-space: nowrap;
    margin-right: 15px;
    font-size: 48px;
    font-weight: 500;
    font-family: 'Poppins';
}

.header-line {
    width: 100%;
    height: 2px;
    background-color: #FBC108;
}

.product-two-column-section {
        display: flex;
        width: 100%;
        margin-top: 30px;
    }
        
.product-two-image-column {
    width: 25%;
    background-image: url('../assets/productLogo/circle_logo.png');
    background-size: cover;
    background-position: center;
    margin-left: -200px;
}

.product-two-content-column {
    width: 80%;
    padding-left: 20px;
    padding-bottom: 20px
}

.product-two-rectangle-row {
    background: #fff;
    border-radius: 15px;
    margin-bottom: 18px;
    padding: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.25);
}

.product-two-rectangle-row:last-child {
  margin-bottom: 0;
}

.product-two-bulleted-list {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
}

.product-two-bulleted-list li {
  margin-bottom: 8px; 
  line-height: 1.4;
}


.product-two-bulleted-list li::marker {
  color: #666;
}

.product-two-bulleted-list.indented {
  padding-left: 40px; 
}

.product-two-rectangle-title {
  font-weight: bold;
  margin-top: 0; 
  margin-bottom: 15px;
}

/* Product Three - Container */
.three-container-wrapper {
    margin-bottom: 40px;
}

.three-container-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 50px 300px 50px 300px;
}

.rounded-container {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    background-color: white;
    position: relative;
    height: auto;
    min-height: 508px;
}

.image-half {
    height: 0;
    padding-bottom: 70%;
    background-size: fit;
    background-position: center;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    flex-shrink: 0;
}
.round-profile-image {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
}

.description-container {
    padding: 70px 20px 20px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.description-title {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}


/* Responsive adjustments */
@media (max-width: 1629px) {
    .product-two-image-column {
        display: none;
    }
    
    .product-two-content-column {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
}
@media (max-width: 1200px) {
     .image-half {
        padding-bottom: 100%; /* Image takes 50% height */
        flex-shrink: 0;
    }
     .three-container-row {
        margin: 50px 200px;
    }
    .ps-products-row {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    .header-title {
        font-size: 1.8rem;
        margin-right: 15px;
    }
    .header-container {
        margin: 0 4%;
    }
    .product-two-image-column {
        margin-left: -150px;
        width: 25%;
    }
    
    .product-two-content-column {
        width: 75%;
    }
}

@media (max-width: 768px) {
    .description-title {
    font-size: 14px;
}
     .image-half {
        padding-bottom: 100%; /* Image takes 50% height */
        flex-shrink: 0;
    }
     .round-profile-image {
        display: none;
    }
    .three-container-row {
        margin: 40px 100px;
        gap: 20px;
    }
    
    .rounded-container {
        min-height: 450px;
    }
    
    .product-two-product-two-column-section {
        padding: 0 15px; /* Reduced side padding */
        flex-direction: column;
    }
    
    .product-two-image-column {
        display: none;
    }
    
    .product-two-content-column {
        width: 100%;
        padding-left: 0;
    }
    
    .product-two-rectangle-row {
        margin: 0 0 15px 0; /* Remove right margin */
        width: 100%; /* Ensure full width */
        box-sizing: border-box; /* Include padding in width calculation */
    }
    .ps-products-row {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .ps-logo-row {
        padding: 15px;
    }
    .ps-category-logo {
        max-width: 150px;
    }
    .header-title {
        font-size: 1.5rem;
        margin-right: 12px;
    }
    .header-container {
        margin: 0 3%;
    }
    .header-line {
        height: 1.5px;
    }
}

@media (max-width: 486px) {
    .three-container-row {
        margin: 30px 20px;
        flex-direction: column;
        gap: 30px;
    }
    
    .rounded-container {
        min-height: auto;
    }
    
    .round-profile-image {
        display: none;
    }
    
    .description-container {
        padding: 30px 15px 15px 15px;
    }
    
    .description-title {
        font-size: 16px;
    }
    
    .image-half {
        padding-bottom: 60%;
    }
    .product-two-product-two-column-section {
        padding: 0 12px; /* Even tighter side padding */
    }
    
    .product-two-rectangle-row {
        margin-bottom: 12px;
        padding: 15px 18px; /* Adjusted horizontal padding */
    }
    
    .product-two-bulleted-list {
        padding-left: 15px;
    }
    
    .product-two-bulleted-list.indented {
        padding-left: 30px;
    }
    
    .product-two-rectangle-title {
        margin-bottom: 10px;
        font-size: 1.1rem;
    }
    .header-title {
        font-size: 1.2rem;
        margin-right: 8px;
        white-space: normal;
    }
    .header-container {
        margin: 0 2%;
        flex-direction: column;
        align-items: flex-start;
    }
    .header-line {
        width: 100%;
        margin-top: 5px;
    }
    .ps-header-row {
        text-align: left;
        padding: 12px 15px;
    }
    
    .ps-header-row h1 {
        margin: 0;
        font-size: 34px;
        white-space: normal;
        word-break: break-word;
    }
    
    .ps-two-col-component .ps-menu-column {
        padding: 15px 10px 0 10px;
    }
    
    .ps-two-col-component .ps-menu-item {
        margin-bottom: 12px;
        box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, 0.15);
    }
    
    .ps-two-col-component .ps-square {
        width: 12px;
    }
    
    .ps-two-col-component .ps-rectangle {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .ps-two-col-component .ps-menu-item.ps-selected .ps-rectangle {
        font-weight: 600;
    }

    .ps-products-row {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .ps-product-name {
        font-size: 14px;
    }
    
    .ps-product-description {
        font-size: 12px;
    }
}
