/* 84 Baithakji Section Styles */
.baithakji-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.baithakji-title {
    color: #e67e22; /* Use theme orange color */
    font-weight: 700;
    margin-bottom: 10px;
}

.baithakji-subtitle {
    color: #555;
    margin-bottom: 40px;
}

.feature-item {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.feature-item .icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #e67e22;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    flex-shrink: 0;
    border: 5px solid #fff; /* Inner white spacing */
    box-shadow: 0 0 0 1px #e67e22; /* Outer orange ring */
}

.feature-item .content {
    padding: 0 25px;
}

.feature-item .title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px;
    color: #000;
}

.feature-item .desc {
    font-size: 13px;
    margin: 0;
    color: #777;
}

/* Alignments for Desktop */
@media (min-width: 992px) {
    .feature-item.left-align {
        text-align: right;
        flex-direction: row-reverse;
    }
    
    .feature-item.left-align .content {
        padding-left: 0;
        padding-right: 25px;
    }

    .feature-item.right-align {
        text-align: left;
    }
}

.central-image-frame {
    border: 10px solid #5a381a; /* Dark brown styling frame */
    padding: 5px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    max-width: 100%;
    margin: 0 auto 30px;
}

/* More Pustimarg Resources Section */
.resources-section {
    padding: 60px 0;
    background-color: #fff;
}

.resource-item {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-5px);
}

.resource-circle {
    width: 210px; /* Increased size to match visual */
    height: 210px;
    border-radius: 50%;
    background-color: #e67e22; /* Solid Orange Background */
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #fff; /* Inner white spacing */
    box-shadow: 0 0 0 1px #e67e22; /* Outer orange ring */
    color: #fff; /* White icon color */
    font-size: 50px; /* Larger icon */
    overflow: hidden; /* Ensure image fits purely inside */
}

.resource-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.resource-title {
    font-weight: 700;
    font-size: 18px; /* Larger */
    margin-bottom: 5px;
    color: #000; /* Dark Black */
    text-transform: capitalize;
}

.resource-desc {
    color: #555;
    font-size: 14px;
    margin-bottom: 25px;
    min-height: auto; 
}

.btn-read-more {
    background-color: #e67e22;
    color: #fff;
    border: none;
    padding: 10px 30px; /* Larger padding */
    text-transform: capitalize; /* "Read More" not "READ MORE" */
    font-weight: 500;
    font-size: 14px;
    border-radius: 4px; /* Slight roundness as per button standard or 0 if strictly rectangular */
    transition: background-color 0.3s;
}

.btn-read-more:hover {
    background-color: #d35400;
    color: #fff;
}

/* Mobile Responsiveness tweaks */
@media (max-width: 767px) {
    .feature-item {
        flex-direction: row !important; /* Force standard direction on mobile */
        text-align: left !important;
        justify-content: flex-start;
    }
    
    .feature-item .content {
        padding-left: 15px !important;
        padding-right: 0 !important;
    }
    
    
    .central-image-frame {
        max-width: 80%;
    }
}

.baithakji-link {   
    display: block; 
    text-decoration: none;
    color: inherit;
}

.baithakji-link:hover {
    text-decoration: none;
    color: inherit;
}

.baithakji-link:hover .title {
    color: #e67e22; /* Highlight title on hover */
    transition: color 0.3s;
}

/* Flexbox for equal height columns on desktop */
@media (min-width: 992px) {
    .baithakji-content-row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .baithakji-content-row > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }
    
    .baithakji-center-image-container {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Vertically center the image frame if it's shorter than content, but we want it to stretch? User said "increase height till content" */
    }
}

.central-image-frame {
    border: 10px solid #5a381a; /* Dark brown styling frame */
    padding: 5px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    width: auto; 
    max-width: 80%; /* Reduce dominance */
    height: auto;
    max-height: 100vh; /* Prevent becoming too tall */
    object-fit: contain;
    margin: 0 auto 30px;
    align-self: center; /* Center in flex container */
}
