/* Body adjustments to clear fixed header */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f6f2; 
    color: #4a4a4a;
    line-height: 1.6;
}

/* Content wrapper padding to push below 80px fixed header */
.program-section-wrapper {
    padding-top: 120px; /* Isse aapka header navbar ke piche nahi chhupega */
    padding-bottom: 60px;
}

/* Header Styles */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #2c4a3e; 
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.1rem;
    color: #7a827e;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layout */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

/* Card Styles */
.program-card {
    background: #ffffff;
    border-radius: 20px; 
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 74, 62, 0.05); 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(44, 74, 62, 0.12);
}

/* Card Image */
.program-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card:hover .program-image img {
    transform: scale(1.06);
}

/* Card Content */
.program-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c4a3e;
    margin-bottom: 12px;
}

.program-description {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Duration & Fees Info */
.program-details {
    background-color: #f0f4f1; 
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8a9a91;
    font-weight: 600;
    margin-bottom: 2px;
}

.detail-value {
    font-size: 0.95rem;
    color: #3d4a41;
    font-weight: 500;
}

.detail-value-price {
    font-size: 1.3rem;
    color: #c026d3; 
    font-weight: 700;
}

/* Join Now Button */
.btn-join {
    display: block;
    text-align: center;
    background-color: #c026d3 ;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn-join:hover {
    background-color: #2c4a3e; 
}

.btn-join:active {
    transform: scale(0.98);
}

/* Responsive Breakpoints */
@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .program-grid {
        grid-template-columns: 1fr;
    }
}