  /* Pravachan Section */
    .pravachan-section {
        padding: 10px 40px 10px;
        max-width: 1200px;
        margin: 0 auto;
        color: white;
         display: flex;
    justify-content: center; /* Center the section container */

    }

    .section-container {
        width: 100%;
        max-width: 1200px;
    }

    .section-header {
        text-align: center;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 10px;
        background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .section-subtitle {
        font-size: 1.2rem;
        opacity: 0.9;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.6;
    }

    .pravachan-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
        margin-top: 20px;
       justify-content: center;
        max-width: 1200px;
    margin: 0 auto;
    }

    .pravachan-card {
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 20px;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        position: relative;
        height: 180px;
        display: flex;
        flex-direction: column;

         width: 100%;
    min-width: 180px;
    max-width: 240px;
    margin: 0 auto;
    }

    .pravachan-card:hover {
        transform: translateY(-8px);
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(255, 87, 34, 0.3);

}

    .card-image {
        position: relative;
        width: 100%;
        height: 120px;
        overflow: hidden;
    }

    .card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.4s ease;
    }

    .pravachan-card:hover .card-img {
        transform: scale(1.1);
    }

    .card-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .pravachan-card:hover .card-overlay {
        opacity: 1;
    }

    .play-icon {
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.9);

        color: #667eea;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: bold;
        transform: scale(0.8);
        transition: all 0.3s ease;
    }

    .pravachan-card:hover .play-icon {
        transform: scale(1);
    }

    .card-content {
        padding: 10px 15px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card-title {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 12px;
        color: white;
        
        text-align: center;
    }

    .card-description {
        font-size: 0.95rem;
        opacity: 0.9;
        line-height: 1.6;
        margin-bottom: 20px;
        flex: 1;
    }

    .card-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: auto;
    }

    .meta-item {
        font-size: 0.8rem;
        background: rgba(255, 255, 255, 0.1);
        padding: 6px 12px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }

    .pravachan-card:hover .meta-item {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
    }

    /* Individual card hover effects */
    .pravachan-card[data-page="hari-paramrut"]:hover {
        box-shadow: 0 20px 40px rgba(255, 193, 7, 0.3);
    }

    .pravachan-card[data-page="akshar-vani"]:hover {
        box-shadow: 0 20px 40px rgba(76, 175, 80, 0.3);
    }

    .pravachan-card[data-page="mara-swamiji"]:hover {
        box-shadow: 0 20px 40px rgba(156, 39, 176, 0.3);
    }

    .pravachan-card[data-page="mara-guruhari"]:hover {
        box-shadow: 0 20px 40px rgba(255, 87, 34, 0.3);
    }

       /* Mobile Styles */
    @media (max-width: 768px) {
        /* Pravachan section mobile styles */
        .pravachan-section {
            padding: 10px 20px 40px;
        }

        .section-title {
            font-size: 1.5rem;
        }

        .section-subtitle {
            font-size: 1rem;
            padding: 0 10px;
        }
 /* Pravachan grid mobile styles */
    .pravachan-grid {
        grid-template-columns: repeat(2, 1fr); /* Changed to 2 columns */
        gap: 15px;
        margin: 10px 20px; /* Adjusted side margins */
    }

    .pravachan-card {
        height: 130px; /* Slightly reduced height */
        min-width: 140px; /* Reduced minimum width */
        max-width: 180px; /* Reduced maximum width */
    }

    .card-image {
        height: 80px;
    }

        .card-content {
            padding: 10px 10px;
        }

        .card-title {
            font-size: 0.8rem;
        }

        .card-description {
            font-size: 0.6rem;
        }

        .card-meta {
            gap: 8px;
        }

        .meta-item {
            font-size: 0.75rem;
            padding: 5px 10px;
        }

       
    }

   
/* HPYM Section Styles */
.hpym-section {
    padding: 40px 20px;
   /* background: rgba(255, 255, 255, 0.05);*/
   
    backdrop-filter: blur(10px);
   
    display: flex;
    justify-content: center; /* Center the section container */

}

.youtube-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
   margin-top: 20px;
    margin: 0 auto;
    
    justify-content: center;
    max-width: 1200px;
}


/* Update YouTube card styles to match pravachan cards */
.youtube-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    height: 180px;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 180px;
    max-width: 240px;
    margin: 0 auto;
}

.youtube-card:hover {
	   transform: translateY(-8px);
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(255, 87, 34, 0.3);

}

.youtube-card .card-image {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    padding-top: 0; /* Remove previous padding-top */
}

.youtube-card .thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.youtube-card:hover .thumbnail {
    transform: scale(1.1);
}

.youtube-card .card-content {
    padding: 10px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.youtube-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    text-align: center;
}

.youtube-card .card-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

@media (max-width: 768px) {
    .youtube-cards-container {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 10px 60px;
    }

    .youtube-card {
        height: 200px;
    }

    .youtube-card .card-image {
        height: 160px;
    }

    .youtube-card .card-content {
        padding: 10px;
    }

    .youtube-card .card-title {
        font-size: 1rem;
    }

    .youtube-card .card-date {
        font-size: 0.75rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

.close-button {
    position: absolute;
    top: -30px;
    right: -30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Add new responsive iframe container */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

@media (max-width: 768px) {
   
  .modal-content {
        width: 95%;
        margin: 20px auto;
        padding: 10px;
    }
    
    .close-button {
        right: 0;
    }
}

@media (max-width: 768px) {
    /* YouTube cards container mobile styles */
    .youtube-cards-container {
        grid-template-columns: repeat(2, 1fr); /* Changed to 2 columns */
        gap: 15px;
        margin: 10px 20px; /* Adjusted side margins */
    }

    .youtube-card {
        height: 150px; /* Matching pravachan card height */
        min-width: 140px; /* Matching pravachan card width */
        max-width: 180px; /* Matching pravachan card width */
    }

    .youtube-card .card-image {
        height: 80px;
    }

    /* Adjust text sizes for smaller cards */
    .card-title {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .card-date {
        font-size: 0.7rem;
    }
}

/* Add smaller screen breakpoint for single column */
@media (max-width: 480px) {
    /*
    .pravachan-grid,
    .youtube-cards-container {
        grid-template-columns: 1fr; margin: 10px 40px;
    }

    .pravachan-card,
    .youtube-card {
        max-width: 220px;   }
*/
    }