*{
    margin: 0;
    padding: 0;

}
body{padding: 0px; margin: 0px;}
h1 {
    font-size: 2.5rem;
    color: #5f6368;
    margin-bottom: 20px;
    font-weight: 300;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Audio Card Styling */
.audio-card {
    margin: 10px;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    text-align: center;
    animation: fadeInUp 0.5s ease-in-out;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.audio-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.audio-label {
    font-size: 1.3rem;
    font-weight: bold;
    color: #052c65;
    margin-bottom: 8px;
}

.audio-player {
    width: 100%;
    max-width: 450px;
    border-radius: 8px;
    margin-top: 10px;
}

/* PDF Section */
.pdf-section {
    text-align: center;
    margin-top: 20px;
    animation: fadeIn 0.8s ease-in-out;
}

.no-pdf-message {
    font-size: 1.1rem;
    color: #6c757d;
    margin-top: 15px;
    font-weight: bold;
}

/* Hukamnama Card Styling */
.hukamnama-card,
.hukamnama-card2 {
    text-align: justify;
    padding:20px;
    border-radius: 15px;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.15);
    margin: px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.8s ease-in-out;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    
}

.hukamnama-card:hover,
.hukamnama-card2:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.hukamnama-title {
    color: #052c65;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 8px;
}


.hukamnama-subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    color: #052c65;
    margin-bottom: 15px;
}

.hukamnama-text {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
    color: #333;
    padding: 10px;
}

#calendarResults {
    background: url('old-paper.jpg') no-repeat center center;
    /* Local image */
    background-size: cover;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Georgia', serif;
    /* Classic book font */
    color: #5a4635;
    /* Dark brown text for an aged look */
    border: 3px solid rgba(90, 70, 53, 0.5);
    /* A faded brown border */
}

/* Alternative: Use an online background image */
#calendarResults {
    /* background: url('assets/images/oldBook.jpg') no-repeat center center; */
    background: url('../assets/images/oldBook.jpg') no-repeat center center;

    background-size: cover;
}

.sangrandBackground {

background: url('../assets/images/oldBook.jpg') no-repeat center center;

    background-size: cover;
    padding: 40px 20px 20px;
    /* Add extra padding on top */
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Georgia', serif;
    color: #5a4635;
    margin-top: 30px;
    top: 40px;
    border: 3px solid rgba(90, 70, 53, 0.5);
   
}

#sangrandSection {
    margin-top: 150px;
    
    
/* Adjust based on navbar height */
}



/* background styling */

/* Navigation Buttons */


/* Content Wrapper */
.content-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hukamnama-title {
    font-size: 24px;
    font-weight: bold;
    color: #052c65;
}

.hukamnama-subtitle {
    font-size: 18px;
    color: #052c65;
}



/* PDF Section */
.pdf-section {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
}

/* PDF Button */
.pdf-button {
    display: inline-block;
    background: linear-gradient(135deg, #0354aa, #31165e);
    color:#ffcc00;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 15px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: none;
}

.pdf-button:hover {
    background: linear-gradient(135deg, #0056b3, #520dc2);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .hukamnama-card,.hukamnama-card2{
        padding-top: 10px;
        padding:2px;
      
     }
     .hukamnama-title {
         font-size: 20px;
     }
 
     .hukamnama-text {
         font-size: 17px;
     } 
     
}

@media screen and (max-width: 480px){
    .hukamnama-card,.hukamnama-card2{
        padding-top: 10px;
        padding:2px;
       
     }
     .hukamnama-title {
         font-size: 20px;
     }
 
     .hukamnama-text {
         font-size: 17px;
     } 
     .sangrandBackground{
        margin-left:10px;
        margin-right:10px;
       width:auto;
     }

}

@media screen and (max-width: 375px){
    .hukamnama-card,.hukamnama-card2{
        padding-top: 10px;
        padding:2px;
        margin:px;
     }
     .hukamnama-title {
         font-size: 20px;
     }
 
     .hukamnama-text {
         font-size: 17px;
     } 
     .sangrandBackground{
        margin-left:10px;
        margin-right:10px;
       width:auto;
     }
}

@media screen and (max-width: 320px) {
    .hukamnama-card,.hukamnama-card2{
        
       padding:2px;
       margin:px;
       padding-top: 10px;
    }
    .hukamnama-title {
        font-size: 20px;
    }

    .hukamnama-text {
        font-size: 17px;
    }
    .sangrandBackground{
        margin-left:10px;
        margin-right:10px;
       width:auto;
     }
}

/* Rounded Background for Date */
.hukamnama-date {
    display: inline-block;
    background: linear-gradient(135deg, #0a3d62, #1e90ff);
    /* Deep Blue */
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    /* Makes it round */
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #0a3d62, #1e90ff);
    color: white;
    padding: 10px 20px;
    /* Adjusted padding */
    border-radius: 15px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin: 10px auto;
    max-width: 500px;
    min-height: 50px;
    /* Ensures enough height */
    display: flex;
    /* Enables flexbox */
    align-items: center;
    /* Centers content vertically */
    justify-content: center;
    /* Centers content horizontally */
    animation: glowEffect 1.5s infinite alternate;
}

/* âœ… Remove Extra Space Inside */
.highlight-box p {
    margin: 0;
    /* Removes default margin */
    padding: 0;
    /* Removes extra spacing */
    line-height: 1.2;
    /* Adjust text spacing */
    display: inline-block;
    /* Prevents block-level spacing issues */
}

/* Fade-out Effect */
.showContents {
    /* Blue Gradient */
    color: black;
    padding: 15px;

    /* Rounded Borders */
    text-align: justify;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    max-width: auto;
    animation: none;
    /* Stop animation when fading out */
}

/* Glow Animation */
@keyframes glowEffect {
    0% {
        box-shadow: 0px 4px 10px rgba(30, 144, 255, 0.4);
        /* Light Blue Glow */
    }

    100% {
        box-shadow: 0px 6px 15px rgba(30, 144, 255, 0.8);
        /* Deep Blue Glow */
    }
}

/* Top Alert Bar */
.top-alert {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4444;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    display: none;
    opacity: 1;
    animation: blinkEffect 0.2s 0.5s alternate;
    /* Blinking effect */
    transition: opacity 0.5s ease-in-out;
    z-index: 9999;
}

/* Blinking Animation */
@keyframes blinkEffect {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* ðŸŽ¨ Add spacing for better readability */
.text-center h2 {
    margin-bottom: 10px; /* Adds space below the titles */
}



/* header style */
  .text-center h2 {
        margin-bottom: 10px;
    }

    /* Gradient Text */
    .gradient-text {
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        display: inline-block;
        background: linear-gradient(135deg, #003092, #ff8c00);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Date Styling */
    .customDate {
        display: inline-block;
        font-size: 1rem;
        font-weight: 570;
        background: transparent;
        padding: 5px 0;
        border-radius: 5px;
        text-align: center;
        margin-right: 20px;
        transition: all 0.3s ease-in-out;
        position: relative;
    }

    .customDate::after {
        content: "";
        display: block;
        width: 100%;
        height: 3px;
        background: linear-gradient(135deg, #003092, #ff8c00);
        position: absolute;
        left: 0;
        bottom: -2px;
        transform: scaleX(0);
        transition: transform 0.3s ease-in-out;
    }

    .customDate:hover {
        color: #000435;
    }

    .customDate:hover::after {
        transform: scaleX(1);
    }

    .w-60 {
        width: 60%;
    }

    

    /* Fixed Navbar Padding */
    #details {
        margin-top: 180px;
    }

    .container-fluid {
        position: relative;
        z-index: 1;
    }

    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
    }

    @media (max-width: 768px) {
        #details {
            margin-top: 180px;

        }

        .w-60 {
            width: 100%;
        }
    }