:root {
    --primary-color: #eb4e0b;
    --secondary-color: #fff1e3;
    --accent-color: #b41212;
    /* Deep Red */
    --text-color: #34495e;
    /* Standard Text */
    --background-color: white;
    /* Light Background */
}

body {
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

header {
    width: 100%;
    background-color: #eb4e0b;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    position: fixed;
}

.navbar {
    padding: 0 2.5rem 0 0rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.4rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: var(--secondary-color) !important;
}

.navbar-brand img {
    height: 42px;
    width: auto;
}

.navbar-brand span {
    font-size: 1.3rem;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 6px 20px;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    /* color: var(--accent-color) !important; */
    background-color: rgba(255, 255, 255, 0.25);
}

.navbar-toggler {
    border-color: #ffffff;
    background-color: transparent;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* Hero Section */
.hero-section {
    width: 100%;
    margin: 0;
    /* background: url("https://img.freepik.com/free-vector/soft-hexagonal-mosaic-pattern-background_1409-1938.jpg?ga=GA1.1.2005950338.1747138607&semt=ais_hybrid&w=740");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; */
    background: var(--secondary-color);
    padding: 4rem 2rem;
    color: var(--text-color);
    padding-top: 8rem;
}

.hero-logo {
    width: 250px;
    height: auto;
    display: block;
    margin: 0 40px;
}

.section-sub {
    color: var(--primary-color);
}

.lead {
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: 900;
    font-style: italic;
}

.hero-heading {
    font-size: 58px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1.3;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.divider {
    width: 120px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.registration-text {
    font-size: 1rem;
    color: var(--text-color);
}

.animated-markers .marker {
    padding: 0.4rem 1rem;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease-in;
}

/* .animated-markers .marker:hover {
    animation: floatMarker 2s ease-in-out infinite alternate;
}
.animated-markers .marker:nth-child(2) {
    animation-delay: 0.5s;
} */
/* 
@keyframes floatMarker {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-8px);
    }
} */

.logo-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.image-wrapper {
    position: relative;
    display: flex;
    justify-content: left;
}

.about-img {
    width: 300px;
    height: 300px;
    margin: 0 20px;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
    position: relative;
    border: 6px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.section-message span {
    color: #eb4e0b !important;
    font-weight: 600 !important;
}

.img-background-decor {
    position: absolute;
    width: 350px;
    height: 280px;
    z-index: 1;
}

.img-background-decor::before,
.img-background-decor::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50% / 40%;
    opacity: 0.9;
    z-index: 0;
    transform-origin: center;
}

.img-background-decor::before {
    transform: rotate(45deg);
    background-color: var(--primary-color);
}

.img-background-decor::after {
    transform: rotate(0deg);
    background-color: var(--secondary-color);
}

.section-line {
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin-bottom: 1rem;
    border-radius: 2px;
}

/* Upcoming Events */
.schedule-section {
    /* background-image: url("/images/website/bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; */
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

.section-subtitle-color {
    color: var(--accent-color) !important;
}

.section-line {
    display: block;
    height: 4px;
    width: 60px;
    background-color: var(--accent-color) !important;
    margin-bottom: 0.5rem;
}

.section-title,
.section-subtitle {
    color: var(--accent-color) !important;
}

.table-wrapper {
    background: linear-gradient(
        135deg,
        var(--secondary-color),
        rgba(255, 203, 107, 0.5)
    );
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.festival-table {
    background: transparent;
    margin-bottom: 0;
    width: 100%;
    border-radius: 12px;
}

.festival-table .proposed-program {
    border: 1px solid var(--primary-color);
    padding: 1rem;
    /* text-align:center; */
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--text-color);
}

.festival-table .serial-no {
    border: 1px solid var(--primary-color);
    padding: 1rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--text-color);
}

.festival-table th {
    border: 1px solid var(--secondary-color);
    padding: 1rem;
    /* text-align:center; */
    background-color: rgb(139, 0, 0, 0.1);
    color: var(--background-color);
}

.festival-table thead {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.festival-table tbody tr:nth-child(even) td {
    background-color: rgba(255, 255, 255, 0.4);
}
.event-sapankaryakarm-content{
    height: 200px;
}
.btn-custom {
    background-color: var(--accent-color);
    color: white;
    font-weight: bold;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Gallery */
#artwork-gallery {
    padding: 5rem 0;
}

#artwork-gallery .section-line {
    display: block;
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    margin-bottom: 0.5rem;
    margin-left: auto;
    margin-right: auto;
}

.artwork-carousel-wrapper {
    background-color: var(--background-color);
    border-radius: 1rem;
    padding: 1rem 0;
}

.artwork-carousel {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
}

.artwork-card {
    margin-left: 5px;
    /* flex: 0 0 auto; */
    width: 360px;
    border-radius: 10px;
    border-right: 4px solid var(--primary-color);
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artwork-card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.artwork-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px 10px 0 0;
    object-fit: cover;
}

.artwork-info {
    padding: 15px;
    text-align: center;
    border-radius: 0 0 10px 10px;
}

.artwork-info .date {
    text-align: center !important;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.artwork-info .title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
}

.view-btn-container {
    display: flex;
    justify-content: center;
    text-align: center;
}

.view-btn-container a {
    width: 100px;
}

.artwork-info a {
    margin-top: 5px;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    padding: 5px 10px;
    text-decoration: none !important;
    font-weight: bold;
    transition: color 0.3s ease-in;
}

.artwork-info a:hover {
    color: var(--background-color);
    background: var(--accent-color);
    border: 0;
    transition: background 1.2s;
}

.btn-custom {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    padding: 10px 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.section-line h2 {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .no-data-img {
        width: 50%;
    }

    .carousel-button {
        font-size: 1.2rem;
    }
}

@media (max-width: 990px) {
    .image-wrapper {
        justify-content: center;
    }
}

/* Contact Us */

#contact {
    padding: 5rem 0;
    background-image: url("/images/website/formbg.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.section-title {
    color: var(--primary-color);
}

.btn-custom {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 40px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.btn-custom:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.section-line {
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 1rem auto;
    border-radius: 2px;
}

.contact-info {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.contact-form {
    background-color: rgb(139, 0, 0, 0.1);
}

.contact-form label {
    font-weight: 550;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--secondary-color);
    border-radius: 0.5rem;
}

.contact-info p {
    font-size: 1rem;
    color: var(--text-color);
}

.contact-info i {
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    font-size: 1rem;
}

.footer-topbar {
    background-color: #eb4e0b !important;
    color: var(--secondary-color);
    flex-wrap: wrap;
    z-index: 1000;
}

.footer-line {
    display: block;
    height: 1px;
    width: 50px;
    background-color: var(--secondary-color);
}

.social-link {
    /* border: 2px solid var(--secondary-color); */
    color: var(--background-color);
    padding: 2px 5px;
    /* border-radius:20px; */
    margin: 0 0.5rem;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: #edf1f2;
}

.footer-heading {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-divider {
    height: 2px;
    width: 60px;
    background-color: var(--accent-color) !important;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-color);
    max-width: 320px;
}

.footer-links a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-heading a:hover {
    border: 2px solid black;
    color: var(--accent-color) !important;
}

.qr-code {
    background: var(--background-color);
    border-radius: 5px;
    padding: 0 5px 5px 5px;
    max-width: 160px !important;
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

.last-footer {
    width: 100%;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding: 10px 25px;
    font-weight: 600;
    background-color: var(--primary-color);
    color: var(--background-color);
}

@media (max-width: 768px) {
    .social-link {
        margin: 0;
        font-size: 0.9rem;
        justify-content: center;
    }

    .footer-text {
        max-width: 100%;
    }

    .footer-topbar {
        text-align: center;
    }

    .last-footer {
        font-size: 0.9rem;
        gap: 15px;
    }
}

/* Sadasyta Form */

.membership-bg {
    max-width: 100%;
    background-color: #f9b774;
    background-image: url(/images/website/formbg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mem-contact-form {
    width: 100%;
    background: white;
    padding: 30px !important;
    border-radius: 12px !important;
    /* glass bg */
    background-color: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37) !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.membership-imgbox {
    height: 100%;
}
.membership-imgbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: -120px center;
    border-radius: 10px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37) !important;
}

.section-title {
    color: var(--primary-color);
}

.btn-custom {
    background-color: var(--background-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 6px 30px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.btn-custom:hover {
    background-color: var(--accent-color);
    color: rgb(255 255 255);
}

.text-accent {
    color: var(--accent-color);
}

.section-line {
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 1rem auto;
    border-radius: 2px;
}

.mem-contact-info {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.mem-contact-form {
    background-color: rgb(139, 0, 0, 0.1);
}

.mem-contact-form label {
    font-weight: 550;
}

.mem-contact-form .form-control,
.mem-contact-form .form-select {
    border: 1px solid var(--secondary-color);
    border-radius: 0.5rem;
}

.mem-contact-info p {
    font-size: 1rem;
    color: var(--text-color);
}

.mem-contact-info i {
    color: var(--accent-color);
}

/* Sangeet */
.lyrics-grid-section {
    font-size: 2rem;
    color: #8b0000;
    /* Deep Red */
    margin-bottom: 20px;
    text-align: center;
}

.lyrics-grid-section {
    /* max-width: 1200px;
    margin: auto; */
    padding: 40px 0;
    background: var(--background-color);
}

.lyrics-grid {
    display: flex;
    flex-direction: column;
}

.first-row {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 40px;
}

.music-player-bar {
    background-image: url("/images/website/sangeetbg.avif");
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.music-player-bar img {
    height: 280px;
    margin: 20px 0;
}

.custom-audio {
    margin: 10px 0;
    width: 100%;
    max-width: 400px;
}

.lyrics-card {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-left: 6px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.lyrics-card h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.chhand-card {
    margin: 40px 0;
    background: linear-gradient(
        135deg,
        rgba(255, 203, 107, 0.4),
        rgba(255, 203, 107, 0.2)
    );
    padding: 20px 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.chhand-card h4 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.chhand-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.chhand-columns > div {
    background-color: white;
    padding: 20px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.lyrics-card p {
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--text-color);
    font-weight: 540;
}

.section-line {
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    text-align: center;
}

@media (max-width: 768px) {
    .first-row {
        grid-template-columns: 1fr;
    }

    .music-player-bar {
        padding: 20px 10px;
    }

    .custom-audio {
        width: 100%;
    }
}

/* Literature */

/* #literature {
    /* background-image: url("/images/website/bg.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
} */

.table-head {
    border-radius: 12x 12px 0 0;
}

.table-head .table-tr {
    border-radius: 12px 0 0 0 !important;
}

.table-head .table-td {
    border-radius: 0 12px 0 0 !important;
}

.lit-img {
    width: auto;
}

.literature-table-wrapper {
    background: linear-gradient(
        135deg,
        var(--secondary-color),
        rgba(255, 203, 107, 0.5)
    );
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

.literature-table {
    background: transparent;
    width: 100%;
    border-radius: 12px;
}

.literature-table td {
    border: 1px solid var(--primary-color);
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.7);
    color: black;
}

.literature-table th {
    border: 1px solid var(--secondary-color);
    background-color: rgba(139, 0, 0, 0.1);
    color: var(--background-color);
    padding: 1rem;
}

.literature-table thead {
    background-color: var(--primary-color);
    color: white;
    font: bold;
}

.literature-table tbody tr:nth-child(even) td {
    background-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-primary {
    border-color: var(--text-color);
    color: var(--text-color);
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px !important;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--text-color);
    color: rgb(255 255 255);
    border-color: rgb(255 255 255);
}

.btn-outline-danger {
    border-color: var(--accent-color);
    color: var(--accent-color);
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Events Completed */
.event-section {
    height: 100%;
    /* background-image: url("/images/website/formbg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

.section-header .section-divider {
    display: inline-block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.section-heading {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 2.2rem;
}

.event-card {
    border-right: 4px solid var(--primary-color);
    /* border-bottom: 4px solid var(--primary-color); */
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.9);
    /* display: flex; */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.event-image {
    height: 235px;
    width: 100%;
    object-fit: cover;
}

/* .event-content {
    flex: 1;
} */

.event-date {
    font-size: 0.9rem;
    color: var(--text-color);
}

.event-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #8b0509;
}

.card-desc {
    font-size: 1rem;
    color: var(--text-color);
    overflow: hidden;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2;
}

.event-btn {
    background-color: var(--background-color);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.event-btn:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
}

.card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2;
}

.event-content {
    position: relative;
    width: 100%;
}

.sapan-karyakarm-btn {
    margin-bottom: 20px;
    float: right;
}

@media (max-width: 768px) {
    .btn-outline-primary {
        margin: 0px;
    }

    .event-card {
        flex-direction: column;
        height: 100%;
    }
}

@media (max-width: 768px) and (min-width: 440px) {
    .event-card {
        flex-direction: column;
        min-height: 440px;
    }
}

/* Karyakram */
.table-light {
    border-radius: 12px;
}

.table-light .table-tr {
    border-radius: 12px 0 0 0 !important;
}

.table-light .table-td {
    border-radius: 0 12px 0 0 !important;
}

.karya-event-detail-section {
    background-color: var(--background-color);
    color: var(--text-color);
}

.karya-event-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.karya-event-detail-section h2 {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 600;
}
.card-sampannimg {
    width: 100%;
    /* height: 200px; */
      height: 130px;
    object-fit: cover;
}

.karya-event-image img {
    min-width: 100%;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.karya-event-image img:hover {
    transform: scale(1.02);
}

.karya-event-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    text-align: justify;
    /* background: linear-gradient(135deg,
            rgba(255, 203, 107, 0.4),
            rgba(255, 203, 107, 0.2)) !important;
    padding: 1rem;
    border-left: 5px solid #8b0509;
    border-radius: 6px; */
}
.event-video iframe {
    border-radius: 10px;
}
.karyakram-sampann-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    padding-left: 10px;
    margin-top: 0 !important;
}
.text-titledate {
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
}
.text-orange {
    color: #e24c00;
}
.karya-event-detail-section h5 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 1rem;
}

.karyakram {
    /* background-image: url("/images/website/formbg.jpg"); */
    padding: 0.5rem;
    border-radius: 5px;
    /* height: 310px; */
      height: 230px;
}

.literature-entry {
    background: #fdedca;
    border-left: 4px solid var(--primary-color);
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
.literature-entry-white {
    background: #ffffff;
    border-left: 2px solid var(--primary-color);
    padding: 0.75rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    box-shadow: 0px 0px 3px #e0e0e0;
}
.literature-entry-sampannkaryakram {
    flex-direction: column;
    background-color: transparent !important;
    border-left: none !important;
}
.karyakram-2 {
    border: solid thin #ffeead;
    background: #fff9e7;
}
.literature-entry h6 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.literature-entry small {
    font-size: 0.9rem;
}

/* .literature-entry img {
    width: 50px;
    height: auto;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
} */

.section-subtitle {
    text-align: center;
    color: var(--text-color) !important;
}

@media (max-width: 768px) {
    .event-description {
        font-size: 1rem;
    }

    /* .literature-entry {
        flex-direction: column;
        align-items: flex-start;
    } */

    .literature-entry img {
        margin-top: 0;
        width: 15%;
        /* max-width: 250px; */
    }
}

/* Gallery Section */
.karya-gallery-section {
    background-image: url("/images/website/formbg.jpg");
    color: var(--text-color);
    background-size: cover;
    background-position: center;
}

.karya-gallery-card {
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid var(--primary-color);
    border-right: 3px solid var(--primary-color);
}

.karya-gallery-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.karya-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.karya-gallery-card:hover img {
    transform: scale(1.02);
}

.karya-gallery-card:hover::before {
    opacity: 1;
}

/* Responsive Margin */
@media (max-width: 768px) {
    .gallery-card {
        margin-bottom: 1rem;
    }
}

/* Blogs */
.blog-detail-section {
    background: var(--background-color);
    color: var(--text-color);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.blog-detail-section h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.4;
}

.blog-description {
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
    color: var(--text-color);
    background: linear-gradient(
        135deg,
        rgba(255, 203, 107, 0.4),
        rgba(255, 203, 107, 0.2)
    ) !important;
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}
.blog-description-white {
    background: white !important;
    padding: 0 !important;
    border-radius: 12px !important;
    border-left: none !important;
}
.literature-entry-blog {
    background: #ffffff !important;
    border-left: 2px solid var(--primary-color) !important;
    box-shadow: 0px 0px 3px #e0e0e0;
}

.blog-featured-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.blog-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 70px;
    z-index: 100;
    background: url("/images/website/formbg.png") no-repeat center;
    background-size: cover;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0.85);
}

.blog-sidebar h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.blog-sidebar-entry {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 12px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.blog-sidebar-entry:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
    transform: translateY(-2px);
}

.blog-sidebar-entry h6 {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.blog-sidebar-entry small {
    font-size: 0.9rem;
}

.blog-sidebar-entry img {
    object-fit: cover;
    border-radius: 8px;
    width: 100px;
    height: 90px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .blog-detail-section h2 {
        font-size: 1.75rem;
    }

    .blog-description {
        font-size: 0.95rem;
    }

    .blog-sidebar {
        position: relative;
        top: auto;
        box-shadow: none;
    }

    .blog-sidebar-entry img {
        width: 80px;
        height: 70px;
    }
}

/* Objective */
.card-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.coming-soon-card {
    width: 500px;
    border: 2px solid var(--primary-color);
    background-color: linear-gradient(
        135deg,
        rgba(255, 203, 107, 0.4),
        rgba(255, 203, 107, 0.2)
    ) !important;
    color: var(--primary-color);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.coming-soon-card:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.gallery-section {
    color: var(--text-color);
    /* background-image: url("/images/website/formbg.jpg"); */
    background: linear-gradient(
        135deg,
        rgba(255, 203, 107, 0.4),
        rgba(255, 203, 107, 0.2)
    );
}

.gallery-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
}

.filter-grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.custom-dropdown {
    display: flex;
    /* justify-content: center; */
}

.custom-dropdown label {
    font-weight: 600;
    color: var(--primary-color);
    /* margin: 0.5rem 1rem; */
    font-size: 20px;
    margin-right: 15px;
}

.enhanced-select {
    appearance: none;
    background-color: #fff;
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.enhanced-select:hover {
    border-color: var(--accent-color);
}

.enhanced-select:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.15);
}

.gallery-grid .gallery-img {
    width: 100%;
    height: auto;
    /* border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.gallery-grid .gallery-img-card {
    border-right: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid .gallery-img-card:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.gallery-section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.gallery-btn {
    display: flex;
    justify-content: center;
}

.gallery-btn .btn-primary {
    border: 2px solid var(--accent-color);
}

/* Base styles for the Select2 container */
.select2-container--default .select2-selection--single {
    appearance: none;
    background-color: #fff;
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    height: auto;
    width: 100%;
    /* padding: 8px 12px; */
}

span.select2-selection.select2-selection--single {
    padding: 18px 0;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    margin-top: -1rem;
}

/* Hover state */
.select2-container--default .select2-selection--single:hover {
    border-color: var(--accent-color);
}

/* Focus state */
.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus
    .select2-selection--single {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.15);
}

/* Style the dropdown arrow */
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 100%;
    width: 20px;
    top: 0;
    right: 10px;
}

/* Style the dropdown menu */
.select2-container--default .select2-dropdown {
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

/* Style the dropdown options */
.select2-container--default .select2-results__option {
    font-size: 1rem;
    color: var(--text-color);
    padding: 8px 12px;
}

/* Highlighted option on hover */
.select2-container--default .select2-results__option--highlighted {
    background-color: var(--accent-color);
    color: #fff;
}

.infinite-scroll {
    position: relative;
}

.loading {
    position: relative;
    z-index: 1000;
}

.gallery-grid {
    min-height: 200px;
    /* Prevent layout shift */
}

.ellipsis-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 768px) {
    .filter-grid {
        flex-direction: row;
        margin-bottom: 0 !important;
    }

    .enhanced-select {
        width: 100%;
    }
}

.privacy-policy-bg p,
.privacy-policy-bg ul li,
.terms-and-conditions-bg ul li,
.terms-and-conditions-bg p {
    font-weight: 500;
}

.gallery-img-details {
    padding-top: 7rem;
    padding-bottom: 2rem;
}

.thankyoucard {
    max-width: 500px;
    margin: 100px auto;
    padding: 30px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.thankyoucard h3 {
    color: #198754;
    /* Bootstrap success color */
    font-weight: bold;
}

.thankyoucard h6 {
    color: #6c757d;
    margin-top: 15px;
}

.modal-content {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-body {
    padding: 2rem;
}

.privacy-policy-bg,
.terms-and-conditions-bg {
    background: #ffeccb70;
}

.pagination {
    margin-left: 10px;
}

.active > .page-link,
.page-link.active {
    background-color: #8b0000 !important;
    border-color: #8b0000 !important;
    color: white !important;
}

.page-link {
    color: #000000 !important;
}

.no-data-img {
    border-radius: 20px;
    width: 35%;
    height: auto;
}

.right-sidebar-item {
    text-decoration: none;
    color: #000000;
}

/* mobile sidemenu css */
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 0px;
    right: 15px;
    font-size: 60px;
}

@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px;
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

.mob-slidebar {
    display: none;
}

#modalTitle {
    color: green;
}

.contact-container {
    padding-top: 7rem;
    padding-bottom: 4rem;
}

.ellipsis-text-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 0.5rem;
    height: 35px;
    line-height: 27px;
    word-break: break-all;
}

.ellipsis-text-3-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 540px) {
    .no-data-img {
        width: 60%;
    }

    .artwork-carousel {
        display: block;
    }

    .artwork-card {
        width: 350px;
        margin: auto;
        margin-bottom: 20px;
    }
}

@media (max-width: 320px) {
    .no-data-img {
        width: 80%;
    }
}

@media (max-width: 767px) and (min-width:320px) {
    
        .swiper-wrapper .swiper-button-next,
        .swiper-wrapper .swiper-button-prev {
            top: 70% !important;
            left: 20% !important;
        }

       .mySwiper .swiper-button-next {
            right: 90% !important;
            position: absolute;
            top: var(--swiper-navigation-top-offset, 95%) !important;
            left: 88% !important;
        }

       .mySwiper .swiper-button-prev {
            left: 75% !important;
            position: absolute;
            top: var(--swiper-navigation-top-offset, 95%) !important;
            right: 40% !important;
        }
           .swiper-slide {
            padding: 10px;
        }
}

@media (max-width: 1699px) and (min-width:1300px) {
    .mySwiper .swiper-button-next {
        top: var(--swiper-navigation-top-offset, 95%) !important;
    }

   .mySwiper .swiper-button-prev {
        top: var(--swiper-navigation-top-offset, 95%) !important;
    }
} 

.select2-container .select2-selection--single .select2-selection__rendered {
    overflow: scroll;
    text-overflow: ellipsis;
    white-space: nowrap;
    scrollbar-width: thin;
}

    .preview-modal{
        background:#00000069;
    }
.gallery-image-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden; 
    border-radius: var(--bs-border-radius); 
}
.preview-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Hidden */
    transition: opacity 0.3s ease-in-out; 
}
.gallery-image-wrapper:hover .preview-image-overlay {
    opacity: 1; 
}
.preview-btn {
    font-weight: 500;
}

.media-flex{
    display: flex;
    justify-content: space-between;
}

.scan-btn {
    background-color: var(--accent-color);
    border: 2px solid var(--accent-color);
    color:var(--background-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s 
ease;
    font-size: 0.9rem;
    

}

.open-btn-modal{
    background-color: var(--accent-color);
    border: 2px solid var(--accent-color);
     color:var(--background-color);
}

.open-btn-modal:hover {
    background-color: var(--background-color) ;
     border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.scan-btn:hover {
    background-color: var(--background-color) ;
     border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.white-bg {
    background-color:white;
    height: 210px;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.white-bg img.gallery-img {
       max-width: 100%;
       max-height:100%;
    height: auto;
    display: block;
     object-fit: contain; 
}
.karya-media-card img {
    width: auto;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.preview-modal .modal-dialog {
  max-width: 80vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.white-bg-modal {
  background-color: #fff;
  width: 80vw;
  height: 80vh;
  max-height: 100%; 
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.white-bg-modal img.carousel-img {
  max-width: 100%;
  max-height: 100%;
   height: 100%;
  object-fit: contain;
  display: block;
}
.white-bg-modal-sampan{
     background-color: #fff;
  width: 100%;
  height: 93vh;
  max-height: 100%; 
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.inner-box-sampan{
       max-height: 100%;
    min-width: 100%;
    padding: 0px 10%;
}
.sampan-modal-dialog{
           margin-top: 80px;
}
.inner-box-sampan img{
    object-fit:contain;
    width:100%;
}
.white-bg-modal-sampan img.carousel-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}
.btn-close.btn-close-white {
  background-color: #00000077 !important;
  filter:none;
  color:white;
  font-size:20px;
  border-radius: 50%;
  opacity: 1;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
--bs-btn-close-bg: none;
}

.carousel-control-prev-icon.white-icon,
.carousel-control-next-icon.white-icon {
    background-image:none !important;
  background-color:  #00000077 !important;
 font-size:24px;
  filter:none;
  color:white;
  border-radius: 50%;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-prev,
.carousel-control-next{
     padding:10px !important;
}
.open-img-card {
        padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-weight: 600;
    background-color: #ffede5f5;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
        gap: 22px;
}

