/* ================================
   Google Fonts Import
   ================================ */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Roboto+Slab:wght@400;600;700&family=Oswald:wght@400;600;700&display=swap');

body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #7b82d5;
    color: #333;
}

.header {
    background-color: #d3d6f8;  
    color: white;
    padding: 4px;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header2 {
    background-color: #37478c;  
    color: white;
    padding: 4px;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    width: 150px;
    position: relative;
}

.author-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid black;
    background-color: #d91e18;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.author-circle:hover {
    transform: scale(1.05);
}

.author-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-circle:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    white-space: nowrap;
    font-family: 'Roboto Slab', serif;
    font-size: 0.9em;
    z-index: 1001;
}

.author-job {
    position: absolute;
    top: 40px;
    left: 80px;
    background-color: #d94a18;
    color: white;
    font-family: 'Roboto Slab', serif;
    font-weight: bold;
    font-size: 0.8em;
    padding: 4px 8px;
    border: 2px solid black;
    border-left: none;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
    height: 15px;
    line-height: 15px;
}

.author-job:hover {
    background-color: #b51812;
}

.author-box {
    background-color: #1d397f;
    color: white;
    font-family: 'Roboto Slab', serif;
    font-weight: bold;
    font-size: 0.9em;
    padding: 8px 10px;
    border: 3px solid black;
    border-top: none;
    margin-top: 0;
    text-align: center;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

.author-box:hover {
    background-color: #b51812;
}

.header-title-img {
    flex-grow: 0;
    flex-shrink: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
}

.header-title-img img {
    max-width: 100%;
    height: auto;
}

.podcast-section {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 10px;
    width: 150px;
}

.podcast-link img {
    width: 125px;
    height: 125px;
    border: 3px solid black;
    transition: transform 0.3s ease;
}

.podcast-link img:hover {
    transform: scale(1.05);
}

.yt-link img {
    width: 222px;
    height: 125px;
    border: 3px solid black;
    transition: transform 0.3s ease;
}

.yt-link img:hover {
    transform: scale(1.05);
}

.nav {
    background-color: #333;
    color: #feca02;
    padding: 10px 0px 10px 0px;
    position: relative;
    width: 100%;
    z-index: 999;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-link {
    color: #feca02;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Roboto Slab', serif;
}

.nav-link-red {
    color: red;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Roboto Slab', serif;
}

.nav-link-red:hover {
text-decoration: underline;
}

.nav-link:hover {
    text-decoration: underline;
}

.tagline-section {
    text-align: center;
    background-color: #1d397f;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2em;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    border-radius: 8px;
    margin: 200px 0 20px 0px;
}

.carousel {
    background-color: #ccd4ff;
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.carousel-title {
    font-family: 'Roboto Slab', serif;
    font-size: 2em;
    margin-bottom: 10px;
    background-color: #1d397f;
    color: #feca02;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    border: 2px solid #000;
}

.carousel-title2 {
    font-family: 'Roboto Slab', serif;
    font-size: 2em;
    margin-bottom: 10px;
    background-color: #1d397f;
    color: #feca02;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    border: 2px solid #ffffff;
}

 .carousel-title3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.5em;
    margin-bottom: 10px;
 
    background-color: #1d397f;
    color: #feca02;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    border: 2px solid #ffffff;
}

  .category-link {
            font-family: 'Roboto', sans-serif;
            font-size: 18px;
            font-weight: bold;
            color: orange;
            text-decoration: none;
            display: inline-block;
            margin-top: 10px;
            text-align: right;
        }
        .category-link:hover {
            color: red;
            text-decoration: none;
        }

.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    font-family: 'Oswald', sans-serif;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-weight: bold;
    font-family: 'Roboto Slab', serif;
}

.footer-menu li {
    display: inline;
    margin: 0 10px;
}

.footer-menu-link {
    color: #feca02;
    text-decoration: none;
}

.footer-menu-link:hover {
    text-decoration: underline;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    padding: 0 20px;
}

.footer-content > div {
    flex: 1;
    padding: 0 10px;
}

.footer-about-us {
    text-align: left;
}

.footer-about-text {
    margin: 0;
}

.footer-social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-subheading {
    font-family: 'Oswald', sans-serif;
    font-weight: normal;
    font-size: 1.1em;
    margin: 0px 0;
}

.footer-subheadingyellow {
    font-family: 'Oswald', sans-serif;
    font-weight: normal;
    font-size: 1.1em;
    color: #feca02;
    margin: 0px 0;
}

.footer-buy-coffee {
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
}

.footer-buy-coffee-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1877f2;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.footer-buy-coffee:hover .footer-buy-coffee-img {
    transform: scale(1.1);
}

.footer-buy-coffee-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.footer-buy-coffee:hover .footer-buy-coffee-tooltip {
    display: block;
}

.footer-social-icons {
    margin: 0;
}

.footer-social-link {
    color: white;
    margin: 0 15px;
    font-size: 1.5em;
    transition: transform 0.3s;
    display: inline-block;
}

.footer-social-link:hover {
    transform: scale(1.1);
}

.footer-map {
    text-align: center;
}

.footer-map-img {
    width: 200px;
    height: auto;
}

.footer-copyright {
    font-family: 'Oswald', sans-serif;
    margin-top: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-content > div {
        margin-bottom: 20px;
    }
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5em;
    color: white;
    position: absolute;
    top: 20px;
    right: 20px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav {
        top: 150px;
    }
}


.blog-title {
    font-family: 'Roboto Slab', serif;
    font-size: 2.5em;
    color: #feca02;
    text-align: center;
    margin-bottom: 15px;
}



/* Privacy Policy Section */
.privacy-title {
    font-family: 'Roboto Slab', serif;
    font-size: 2.5em;
    color: #1d397f;
    text-align: center;
    margin-bottom: 15px;
}

.privacy-content {
    background-color: #1d397f;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-heading {
    font-family: 'Roboto Slab', serif;
    font-size: 1.8em;
    color: #feca02;
    margin: 20px 0 10px;
}

.privacy-text {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1em;
    color: white;
    margin: 0 0 15px;
}

.privacy-list {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1em;
    color: white;
    margin: 0 0 15px 20px;
    padding: 0;
}

.privacy-list li {
    margin-bottom: 8px;
}

.privacy-link {
    color: #feca02;
    text-decoration: none;
    font-weight: bold;
}

.privacy-link:hover {
    text-decoration: underline;
    color: #b51812;
}

/* WhatsApp Section */
.whatsapp-section {
    background-color: #ccd4ff;
    padding: 20px;
    margin: 220px auto 0;
    max-width: 1200px;
}

.content-container {
    max-width: 1024px;
    margin: 0 auto;
 ;
    padding: 0 1rem;
}

.content-container2 {
    max-width: 900px;
    overflow-y: auto;
    margin: 0 auto;
 
      padding: 20px;
    box-sizing: border-box;
}

 

.whatsapp-box {
    background-color: #1d397f;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

@media (min-width: 768px) {
    .whatsapp-box {
        flex-direction: row;
    }
}

.whatsapp-icon {
    font-size: 2.5em;
    color: #25D366;
}

.whatsapp-title {
    font-family: 'Roboto Slab', serif;
    font-size: 1.25em;
    font-weight: bold;
    color: white;
    margin: 0;
}

.whatsapp-text {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1em;
    color: white;
    margin: 5px 0 0 0;
}

/* Main Content */
.main-content {
    background-color: #ccd4ff;
    padding: 200px 15px 30px;
    flex-grow: 1;
}

.wonderful-main {
    padding-top: 20px;
}

/* Form Styles */
.form-title {
    font-family: 'Roboto Slab', serif;
    font-size: 2.5em;
    color: #1d397f;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.form-icon {
    font-size: 2em;
}



.form-description {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2em;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.form-required {
    color: #000000;
    font-weight: bold;
}

.form-container {
    background-color: #7b82d5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-family: 'Roboto Slab', serif;
    font-size: 1.1em;
    color: white;
    font-weight: medium;
    margin-bottom: 8px;
    display: block;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 10px;
    border: 2px solid #333;
    border-radius: 5px;
    font-family: 'Nunito', sans-serif;
    font-size: 1em;
    color: #333;
    background-color: white;
    box-sizing: border-box;
}

.form-input::placeholder, .form-textarea::placeholder, .form-select:invalid {
    color: #1d397f;
    font-weight: bold;
    opacity: 1;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: #1d397f;
    box-shadow: 0 0 5px rgba(29, 57, 127, 0.5);
}

.form-textarea {
    resize: vertical;
}

.form-textarea::-webkit-scrollbar {
    width: 6px;
}

.form-textarea::-webkit-scrollbar-thumb {
    background-color: rgba(29, 57, 127, 0.6);
    border-radius: 3px;
}

.form-counter {
    text-align: right;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9em;
    color: white;
    margin-top: 5px;
}

.form-error {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9em;
    color: #d91e18;
    margin-top: 5px;
    display: none;
}

.form-error.hidden {
    display: none;
}

.form-fieldset {
    border: 2px solid #1d397f;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-legend {
    font-family: 'Roboto Slab', serif;
    font-size: 1.5em;
    color: white;
    font-weight: bold;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-submit {
    width: 100%;
    background-color: #1d397f;
    color: white;
    font-family: 'Roboto Slab', serif;
    font-size: 1.2em;
    font-weight: bold;
    padding: 12px;
    border: 2px solid #333;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: #b51812;
}

.submission-result {
    background-color: #7b82d5;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    display: none;
}

.submission-result.hidden {
    display: none;
}

.submission-content {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1em;
    color: white;
    white-space: pre-line;
}

.submission-title {
    font-family: 'Roboto Slab', serif;
    font-size: 1.8em;
    color: #1d397f;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.submission-icon {
    font-size: 2em;
}

.hidden {
    display: none;
}

/* Index Page Styles */
.index-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #7b82d5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .row {
        flex-direction: row;
    }
}

.column {
    flex: 1;
    background-color: #1d397f;
    padding: 15px;
    color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.podcasts-column, .youtube-column {
background-color: #1d397f;
    flex: 2;
}

.contribute-column, .facebook-column {
background-color: #1d397f;
    flex: 1;
}

.podcast-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 600px) {
    .podcast-grid {
        flex-direction: row;
    }
}

.podcast-item {
    flex: 1;
    text-align: center;
}

.podcast-img {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.podcast-img:hover {
    transform: scale(1.05);
}

.podcast-note {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8em;
    font-weight: bold;
    color: white;
    margin-top: 5px;
}

.contribute-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contribute-img {
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.contribute-img:hover {
    transform: scale(1.05);
}

.contribute-text {
    text-align: center;
    color: white;
}

.youtube-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.media-item {
    flex: 1 1 45%;
    max-width: 200px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.youtube-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    color: white;
}

.youtube-link .mdi-youtube {
    font-size: 1.5em;
    color: #ff0000;
}

.facebook-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 1em;
    color: white;
}

.facebook-icon {
    width: 44px;
    height: 44px;
    color: #1877f2;
}

/* Index Page Updates */
.youtube-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .youtube-row {
        flex-direction: row;
    }
}

.full-width {
    flex: 1;
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    justify-content: center;
}

.media-item {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Header Mobile Adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .content-container {
    margin-top: 200px;
}

    .author-section {
        width: auto;
        align-items: center;
        padding: 5px;
    }

    .author-circle {
        width: 80px;
        height: 80px;
        padding: 0;
    }

    .author-job, .author-box {
        font-size: 0.7em;
        padding: 4px 6px;
    }

    .header-title-img {
        position: relative;
        z-index: 1;
        padding: 10px 0;
    }

    .header-title-img img {
        max-width: 90%;
        height: auto;
    }

    .nav {
        position: relative;
        top: 0 !important;
        background-color: #333;
        padding: 20px;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 2em;
        color: white;
        position: absolute;
        top: -4px;
        right: 55px;
        z-index: 10;
        transition: transform 0.3s ease;
    }

    .menu-toggle.open {
        transform: rotate(90deg);
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        background-color: #333;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 9;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        text-align: center;
        margin: 5px 0;
    }

    .body, .main-content {
        padding-top: 120px;
    }
    
    .tagline-section {
        margin: 290px 0 20px 0px;
    }
}

/* Ensure transparent PNG doesn't cause visibility issues */
.header-title-img img {
    background-color: transparent;
    object-fit: contain;
}

/* General Fixes for Overlap */
body {
    position: relative;
    z-index: 0;
}

.header {
    z-index: 1000;
}

/* Custom Alert Styles */
.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #15803d;
    border: 1px solid #4ade80;
    border-radius: 8px;
    padding: 20px;
    z-index: 2000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    width: 400px;
    text-align: center;
}

.alert-content {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.6;
}

.alert-close {
    margin-top: 15px;
    background-color: #1d397f;
    color: #ffffff;
    font-family: 'Roboto Slab', serif;
    font-size: 1.1em;
    font-weight: 600;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.alert-close:hover {
    background-color: #feca02;
}

.custom-alert.hidden {
    display: none;
}

.blog-blog-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 200px;
    background-color: #ffffff;
    color: #000;
    border-radius: 8px;
}

.blog-blog-container a  {
     color: #0000ff;
     text-decoration: none;
     font-weight: bold;

 }
 
 .blog-blog-container a:hover {
    transform: scale(1.02);
}

.blog-blog-container2 {
    max-width: 1000px;
    padding: 20px;
    background-color:#1d397f;
    color: #000;
    border-radius: 8px;
    margin-top: 260px; /* Adjust for header/nav */
        padding: 20px;
}

.blog-blog-container2 a  {
     color: #ffff00;
     text-decoration: none;
     font-weight: bold;

 }



 .blog-category {
            text-align: right;
            font-size: 0.9em;
            color: blue;
            margin: 10px 0;
        }
        .blog-date {
            text-align: right;
            font-size: 0.8em;
            color: #555;
            margin-top: 20px;
        }

.blog-amazon-container {
    background: #f5f5f5;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 30px 30px 60px 30px;
    margin: 10px auto;
    max-width: 940px;
    display: flex;
    justify-content: center;
    gap: 20px;
    border-radius: 5px;
    transition: transform 0.3s;
}

.blog-amazon-container:hover {
    transform: scale(1.02);
}

.blog-amazon-image-container {
    width: 275px;
    height: 275px;
    text-align: center;
}

.blog-amazon-image-container img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.blog-product-image {
    height: 200px;
    border-radius: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    width: auto;
}

.blog-product-image:last-child {
    margin-right: 0;
}

.blog-product-image:hover {
    transform: scale(1.05);
}

 
  

.blog-amazon-section-container {
    background: #fff;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

 

.blog-blog-paragraph a {
    color: #0000EE;
    text-decoration: none;
}

.blog-blog-paragraph a:hover {
    text-decoration: none;
}

.blog-blog-paragraph {
    margin: 10px 0;
    line-height: 1.6;
    font-weight: bold;
}

.blog-blog-quote {
    margin: 20px;
    padding: 10px 20px;
    border-left: 5px solid #eee;
    font-style: italic;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.blog-image-caption {
    text-align: left;
    margin: 10px 0 20px 0;
    font-style: italic;
    font-family: Arial, sans-serif;
}

.blog-youtube-container {
    margin: 20px auto;
    max-width: 533px;
    max-height: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    position: relative;
    transition: transform 0.3s;
}

.blog-youtube-container:hover {
    transform: scale(1.02);
}

.blog-youtube-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.blog-youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 300px;
    display: block;
}

.blog-element-container {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: 960px;
    padding-left: 70px;
    padding-right: 70px;
    clear: both;
}

.blog-blog-image-container {
    display: block;
    width: fit-content;
    max-width: 75%;
    margin: 20px auto; /* Centers the container horizontally */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s;
}

.blog-blog-image-container:hover {
    transform: scale(1.02);
}

.blog-blog-image-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Explicitly center the image within its container */
}

h1 {
    text-align: center;
    font-size: 2.5em;
    color: #000;
    font-weight: bold;
    margin: 20px 0;
    font-family: 'Roboto Slab', serif;
}

h2 {
    text-align: center;
    font-size: 1.5em;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Roboto Slab', serif;
}

h3 {
    font-size: 1.5em;
    margin-top: 50px;
    color: #000;
    margin-bottom: 0;
    font-weight: bold;
    font-family: 'Roboto Slab', serif;
}

/* Comment Section Styles */
.comment-section {
    background-color: #1d397f;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    max-width: 1000px;
    margin: 20px auto;
}

.comment-title {
    font-family: 'Roboto Slab', serif;
    font-size: 2em;
    color: #feca02;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.comment-text {
    font-family: 'Roboto Slab', serif;
    font-size: 1em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* Comment form styles with centering */
.comment-form {
    background-color: #7b82d5;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.comment-item {
    background-color: #ccd4ff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 30px;
    border: 2px solid #333;
    transition: transform 0.2s ease;
}

/* Hover effect for comment items */
.comment-item:hover {
    transform: scale(1.05);
}

/* Alternating background colors for nested replies */
.comment-item .comment-item {
    background-color: #ffffff;
}
.comment-item .comment-item .comment-item {
    background-color: #ccd4ff;
}
.comment-item .comment-item .comment-item .comment-item {
    background-color: #ffffff;
}
.comment-item .comment-item .comment-item .comment-item .comment-item {
    background-color: #ccd4ff;
}

/* Ensure deeper levels continue alternating */
.comment-item .comment-item .comment-item .comment-item .comment-item .comment-item {
    background-color: #ffffff;
}
.comment-item .comment-item .comment-item .comment-item .comment-item .comment-item .comment-item {
    background-color: #ccd4ff;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-header strong {
    font-family: 'Roboto Slab', serif;
    font-size: 1.2em;
    color: #1d397f;
}

.comment-header small {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9em;
    color: #555;
}

.comment-message {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1em;
    color: #000;
    font-weight: bold;
    line-height: 1.6;
    margin: 0 0 10px;
}

.comment-error {
    font-family: 'Nunito', sans-serif;
    font-size: 1em;
    color: #d91e18;
    text-align: center;
    margin-bottom: 15px;
}

.comment-empty {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1em;
    color: white;
    text-align: center;
    margin-bottom: 15px;
}

.reply-to {
    color: #ff0000;
}

/* Updated classes for login form and logged-in notice */
.logged-in-notice {
    color: #ffffff;
    text-align: right;
    margin: 10px 20px;
    font-size: 16px;
}

.login-username-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #0ffff;
    color: #1d397f;
    font-size: 14px;
}

.login-submit-button {
    width: 100%;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #feca02;
    color: #1d397f;
    cursor: pointer;
    font-size: 14px;
}

.login-form {
    max-width: 25%;
    margin-left: auto;
    margin-right: 20px;
    background-color: #5d3e99;
    padding: 15px;
    border-radius: 5px;
}

/* Styling for reCAPTCHA */
.g-recaptcha {
    margin-bottom: 15px;
}

/* Main layout */
.main-container {
    display: flex;
        justify-content: center;
 
    min-height: 100vh;
}

.blog-container {
 width: 900px;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.blog-panel-container {
    width: 300px;
    position: relative;
    margin-top: 220px;
    margin-right: 20px;
 
    right: 0;
    top: 0;
    height: 100vh;
    background-color: #1d397f;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
 
    border-radius: 5px;
}

.blog-panel-heading {
    font-family: 'Roboto Slab', serif;
    font-size: 2em;
    margin-bottom: 10px;
    background-color: #b04415;
    color: #feca02;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    border: 2px solid #000;
}

h4 {
    font-size: 1.5em;
    margin-top: 50px;
    color: #000;
    margin-bottom: 0;
    font-weight: bold;
    font-family: 'Roboto Slab', serif;
}

.blog-panel-content {
    color: #fff;
    font-size: 15px;
}

.blog-panel-content h2 {
    font-size: 25px;
    color: #fff;
    margin-bottom: 15px;
}

.blog-panel-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.blog-panel-content ul li {
    color: #fff;
    margin-bottom: 10px;
}

.blog-panel-content ul li a {
    color: #fff;
    text-decoration: none;
}

.blog-panel-content ul li a:hover {
    text-decoration: underline;
}

.blog-panel-link a {
    color: yellow;
    font-weight: bold;
    font-size: 16px;
    font-family: 'Roboto Slab', serif;
    text-decoration: none;
}

.widget {
    margin-bottom: 20px;
}

.widget2 {
    margin-bottom: 20px;
}

.widget h4 {
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
}

.widget2 h4 {
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
}

.widget p {
    margin: 5px 0;
    font-size: 18px;
}

.widget2 p {
    margin: 5px 0;
  font-size: 16px;
    color: white;
}

.widget p a {
    color: #feca02;
    text-decoration: none;
}

.widget2 p a {
    color: #feca02;
    text-decoration: none;
}

.widget p a:hover {
     color: #fff;
    text-decoration: none;
}

/* Ensure reCAPTCHA badge aligns with blog-container */
.grecaptcha-badge {
    bottom: 10px !important;
    right: calc(50% - 825px + 260px) !important; /* Center relative to 900px blog-container */
}
/* Mobile layout */
@media (max-width: 768px) {
    .main-container {
    margin-top: 150px;
    padding-right: 0; /* Remove padding for blog-panel-container */
    }

    .blog-container {
        max-width: 95%; /* Full width on mobile */
        
        margin: 0; /* Remove centering margins */
        padding: 20px; /* Reduced padding for mobile */
    }

    .blog-panel-container {
        display: none; /* Hide blog panel on mobile */
    }
    
    .author-job {
   display: none; /* Hide author job on mobile */
}
      .author-box {
   display: none; /* Hide author box on mobile */
}

    .blog-blog-container {
        margin-top: 150px; /* Adjust for header/nav */
        padding: 20px;
    }

    .comment-section {
        max-width: 100%;
        padding: 10px;
    }

    .comment-form {
        max-width: 100%; /* Full-width comment form */
    }

    .login-form {
        max-width: 100%; /* Full-width login form */
        margin: 10px;
    }

    .grecaptcha-badge {
        display: none; /* Hide captcha panel on mobile */
    }
}

 

/* Dark mode toggle button styles */
  .dark-mode-container {
            position: fixed;
            width: 1000px;
    color: #000;
    font-weight: bold;
            top: 40px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1000;
        }
        .dark-mode-toggle {
            position: absolute;
            display: flex;
    flex-direction: column;
    flex-shrink: 0;
            right: 0;
            width: 150px;
            padding: 8px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            text-align: center;
            transition: background 0.3s ease;
        }
        
        
       /*  @media (max-width: 1000px) */
    .dark-mode-container {
        max-width: 1000px; /* Optional: minimum width for very small screens */
        padding: 0 5px; /* Reduce padding on small screens if needed */
    }
 

.dark-mode-toggle small {
    font-size: 0.8em;
    margin-top: 2px;
    color: #000;
    font-weight: bold;
    text-align: center;
}

#dark-mode-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    transition: background 0.3s ease;
}

#dark-mode-btn:hover {
    background: #0056b3;
}

/* Dark mode variants for blog elements */
body.dark-mode .blog-blog-container {
    background-color: #1d397f;
    color: #ecf0f1;
}

body.dark-mode .blog-blog-container a {
    color: #4da6ff;
    text-decoration: none;
    font-weight: bold;
}

body.dark-mode .blog-blog-paragraph a {
    color: #4da6ff;
    text-decoration: none;
}

body.dark-mode .blog-blog-paragraph a:hover {
    text-decoration: none;
}

body.dark-mode .blog-blog-paragraph {
    margin: 10px 0;
    line-height: 1.6;
    font-weight: bold;
}

body.dark-mode .blog-blog-quote {
    margin: 20px;
    padding: 10px 20px;
    border-left: 5px solid #555;
    font-style: italic;
    background: #34495e;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body.dark-mode h1 {
    text-align: center;
    font-size: 2.5em;
    color: #ecf0f1;
    font-weight: bold;
    margin: 20px 0;
    font-family: 'Roboto Slab', serif;
}

body.dark-mode h2 {
    text-align: center;
    font-size: 1.5em;
    color: #ecf0f1;
    margin-bottom: 20px;
    font-family: 'Roboto Slab', serif;
}

body.dark-mode h3 {
    font-size: 1.5em;
    margin-top: 50px;
    color: #ecf0f1;
    margin-bottom: 0;
    font-weight: bold;
    font-family: 'Roboto Slab', serif;
}

body.dark-mode .blog-date {
            text-align: right;
            font-size: 0.8em;
            color: #fff;
            margin-top: 20px;
        }
        
    body.dark-mode      .blog-category {
            text-align: right;
            font-size: 0.9em;
            color: blue;
            margin: 10px 0;
        }

/* Optional: Adjust dark mode toggle appearance in dark mode */
body.dark-mode .dark-mode-toggle {
    background: rgba(0, 0, 0, 0.8);
}

body.dark-mode .dark-mode-toggle small {
    color: #ccc;
}





/* Mobile-specific styles for dark mode toggle */
@media (max-width: 768px) {
    .dark-mode-toggle {
        right: auto;
        left: 100px;
        top: 10px;
        position: fixed;
    }
}

/* Fixed positioning for podcast image link to float above reCAPTCHA badge */
.podcast2-link {
    position: fixed;
    bottom: 80px;
    right: calc(50% - 765px + 260px);
    z-index: 1001;
    display: block;
    text-align: center;
    margin: 0;
}

.podcast2-link img {
    max-width: 150px; /* Adjust size as needed for visibility */
    height: auto;
    border-radius: 8px; /* Optional: subtle rounding */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow for float effect */
    transition: transform 0.2s ease;
}

.podcast2-link:hover img {
    transform: scale(1.05); /* Optional: hover effect */
}

/* Share social icons styling */
.share-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
}

.share-social-link {
    font-size: 1.5em;
    color: #ffff00;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

.share-social-link:hover {
    color: #00cc00; /* Green hover to distinguish from follow links */
    transform: scale(1.2);
}

/* Mobile adjustments for share icons */
@media (max-width: 768px) {
    .share-social-icons {
        gap: 10px;
    }
    .share-social-link {
        font-size: 1.2em;
    }
}

.listen-hour-link {
    color: orange !important;   /* ? force it red */
    font-weight: bold;
    margin-left: 8px;
    text-decoration: none;
}
.listen-hour-link:hover {
    color: darkred !important; /* ? darker red on hover */
    text-decoration: underline;
}

        .catalogue-grid {
                    display: grid;
                    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
                    gap: 20px;
                    margin-top: 20px;
                }
                .catalogue-card {
                    background: #1a1a1a;
                    border: 1px solid #333;
                    border-radius: 10px;
                    overflow: hidden;
                    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
                    transition: transform 0.2s ease;
                }
                .catalogue-card:hover {
                    transform: scale(1.03);
                }
                .catalogue-card img {
                    width: 90%;
                    height: 180px;
                    object-fit: cover;
    display: block;        /* makes it act like a block element */
    margin: 10px auto;        /* centres it horizontally */
     border-radius: 10px 10px 0 0; /* top-left, top-right, bottom-right, bottom-left */
                }
                .catalogue-card-content {
                    padding: 15px;
                }
                .catalogue-card h3 {
                    font-size: 1.2rem;
                    margin: 0 0 10px;
                    color: #fff;
                }
                .catalogue-card p {
                    font-size: 0.95rem;
                    color: #ccc;
                    margin: 0 0 10px;
                }
                .catalogue-card a {
                    text-decoration: none;
                    font-weight: bold;
                    color: orange;
                }
                .catalogue-card a:hover {
                    color: yellow;
                }