
*:focus-visible {
    outline: 3px solid #0d6efd !important;
    outline-offset: 2px !important;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #0d6efd;
    color: white;
    padding: 8px;
    z-index: 9999;
}

    .skip-link:focus {
        top: 0;
    }
/* Mega Menu Custom Constraint using Bootstrap utilities */
.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
}

.bg-green {
    background-color: #1d9455 !important;
    color: #FFF !important;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        background: 0 0;
        color: #333;
        font-family: Roboto;
        text-transform: uppercase;
        font-size: 1.125em;
    }
}

.dropdown-link {
    color: #555;
    display: block;
    padding: 3px;
    text-decoration: none;
    font-size: 1em;
    border-bottom: 1px solid #1d9455;
    padding-top: 1px;
    padding-left: 0px;
    margin-bottom: 2px;
}
/* Rounded Green Carousel Buttons with High Contrast (WCAG 1.4.3) */
.carousel-control-prev,
.carousel-control-next {
    opacity: 0.9;
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #198754; /* Accessible Bootstrap Green */
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    background-size: 50%;
    background-position: center;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon,
.carousel-control-prev:focus .carousel-control-prev-icon,
.carousel-control-next:focus .carousel-control-next-icon {
    background-color: #198754; /* Darker green on hover/focus for clear feedback */
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.5;
    border: 2px solid transparent; /* Prevents layout shifts and sizing issues */
    transition: opacity 0.6s ease, background-color 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #198754; /* Green indicator color for the active slide */
}

/* Container layout */
.social-container {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Base icon styling */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    /* Hover effects with official brand colors */
    .social-icon:hover {
        color: #fff;
        transform: translateY(-3px); /* Subtle lift effect */
    }

.facebook:hover {
    background-color: #1877F2;
}

.twitter:hover {
    background-color: #000000;
}

.instagram:hover {
    background-color: #E1306C;
}

.youtube:hover {
    background-color: #FF0000;
}

.linkedin:hover {
    background-color: #0077B5;
}

.text-2x {
    font-size: 1.2em !important;
}

.border-default {
    border: 1px solid #0077B5;
}

.text-default {
    color: #198754 !important;
    text-decoration: none;
}

a {
    color: #1e6238;
    text-decoration: none;
}

.civic-services-box {
    width: 25%;
    text-align: center;
    color: white;
    margin: auto;
    height: 40px;
    line-height: 40px;
    background-color: #1d9455;
    font-size: 1.4vw;
    border-radius: 5px;
}

.service-box {
    min-height: 265px;
    border: 1px solid #d2eade;
    margin-bottom: 25px;
    position: relative;
    padding: 10px 10px 0px 10px;
    background: #eff7f3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .service-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    }

.service-box-icon {
    background-color: #198754;
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    background-size: 50%;
    background-position: center;
    text-align: center;
    margin-right: 15px;
}



    .service-box-icon h3 {
        color: #1d9455;
    }

.service-box .contents {
    color: #3F4A54;
    width: 100%;
    font-size: .9em;
    line-height: 20px;
}

.heading-link {
    padding: 10px 0;
    font-weight: 700;
}

    .heading-link, .heading-link a {
        color: #1d9455;
        font-family: roboto;
    }

.other-services {
    padding: 30px 0 10px;
    background: url(../Images/other_bg.png) top #31b0d5;
}

.service-block-btn {
    -webkit-transition: background .3s linear;
    -moz-transition: background .3s linear;
    -ms-transition: background .3s linear;
    -o-transition: background .3s linear;
    font-family: Oswald, sans-serif;
    background: #fff;
    -webkit-border-radius: 4;
    -moz-border-radius: 4;
    border-radius: 4px;
    color: #888;
    font-size: 1.2em;
    padding: 10px 2px 10px 10px;
    text-decoration: none;
    width: 100%;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
    transition: background .3s linear;
}

.primary-color {
    color: #1d9455 !important;
}

footer {
    background-color: #f4f4f4;
    border-top: 1px solid black;
}

    footer .commonlinks {
        padding: 20px 0 0;
    }

    footer .copyright {
        background: #1e1e1e;
        padding: 10px 0;
        color: #A8A8A8;
    }

.btn-theme {
    --bs-btn-color: #fff;
    --bs-btn-bg: #1d9455;
    --bs-btn-border-color: #1d9455;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #1d9455;
    --bs-btn-disabled-border-color: #1d9455;
}

.about-section {
    margin-top: 0.5rem;
}

.about-header {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-content {
    text-align: justify;
    line-height: 1.8;
    color: #555;
}

.about-image-wrapper {
    display: flex;
    justify-content: center;
}

    .about-image-wrapper img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.about-content p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.8;
}

.about-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-content strong {
    color: #333;
    font-weight: 600;
}

.about-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

    .about-content ul li {
        margin-bottom: 0.75rem;
        color: #555;
    }

.commitment-text {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-left: 4px solid #007bff;
    border-radius: 4px;
    margin: 1.5rem 0;
}

/* Tablet and larger screens */
@media (min-width: 768px) {
    .about-image-wrapper {
        float: left;
        width: 40%;
        padding-right: 2rem;
        margin-bottom: 0;
    }

    .about-header {
        text-align: left;
    }

    .about-content {
        overflow: hidden;
    }
}

/* Mobile screens */
@media (max-width: 767px) {
    .about-section {
        margin-top: 1rem;
        padding: 0 1rem;
    }

    .about-header {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .about-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }

        .about-content h3 {
            font-size: 1.25rem;
            margin-top: 1.5rem;
        }

        .about-content p {
            font-size: 0.95rem;
        }

    .commitment-text {
        padding: 1rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .about-header {
        font-size: 1.25rem;
    }

    .about-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .about-content h3 {
        font-size: 1.1rem;
    }
}

.circulars {
    height: 245px;
}

.Noticeboard_list ul li {
    list-style: none !important;
    margin-bottom: 10px;
}

.indent2 {
    text-indent: -34px;
    margin-left: 30px !important;
}

.liststyle1 {
    padding: 8px;
    list-style: none !important;
    width: 100%;
    background: #8bc34a2b;
    margin-top: 12px;
    border-radius: 33px;
    margin-left: -20px;
}

/* Responsive Banner Logo Styling */
#bannerlogo {
    max-width: 410px;
    max-height: 75px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Desktop screens (>= 1200px) */
@media (min-width: 1200px) {
    #bannerlogo {
        width: 410px;
        height: 75px;
    }
}

/* Large tablets and smaller desktops (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    #bannerlogo {
        width: 360px;
        height: 66px;
    }
}

/* Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    #bannerlogo {
        width: 300px;
        height: 55px;
    }
}

/* Small tablets and larger phones (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    #bannerlogo {
        width: 250px;
        height: 45px;
    }
}

/* Mobile phones (< 576px) */
@media (max-width: 575px) {
    #bannerlogo {
        width: 200px;
        height: 36px;
    }
}

.gmc-profile-card {
    background: linear-gradient(135deg, rgba(11, 43, 82, 0.96), rgba(18, 60, 114, 0.96));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: all .35s ease;
    backdrop-filter: blur(10px);
}

.passport-photo-box {
    margin: auto;
    width: 100px;
    height: 132px; /* Standard passport ratio approx 3.5cm x 4.5cm */
}

@media (min-width: 768px) {
    .passport-photo-box {
        width: 120px;
        height: 158px;
    }
}

@media (min-width: 992px) {
    .passport-photo-box {
        width: 140px;
        height: 184px;
    }
}

.bg-light-green {
    background: #19c66a;
    color: #d6e4ff;
}

/* Social Media Feed Styling - 3 Column Carousel Layout */
#social-media {
    background-color: #f9f9f9;
}

    #social-media .card {
        border: none;
        border-top: 4px solid #1d9455;
    }

    #social-media .card-header {
        border-bottom: 2px solid #1d9455;
    }

/* Social Media Card Styling */
.social-media-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .social-media-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    }

/* Social Media Header */
.social-media-header {
    padding: 15px;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .social-media-header i {
        font-size: 1.8rem;
    }

    .social-media-header h5 {
        margin: 0;
        font-weight: 600;
        font-size: 1.3rem;
    }

.facebook-header {
    background-color: #1877F2;
}

.youtube-header {
    background-color: #FF0000;
}

.instagram-header {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Carousel Container */
.social-media-carousel {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

    .social-media-carousel .carousel {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .social-media-carousel .carousel-inner {
        flex: 1;
        border-radius: 5px;
        background-color: #f5f5f5;
    }

    .social-media-carousel .carousel-item {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Carousel Controls */
    .social-media-carousel .carousel-control-prev,
    .social-media-carousel .carousel-control-next {
        opacity: 0.7;
        width: auto;
        background: none;
        top: 50%;
        transform: translateY(-50%);
    }

        .social-media-carousel .carousel-control-prev:hover,
        .social-media-carousel .carousel-control-next:hover {
            opacity: 1;
        }

    .social-media-carousel .carousel-control-prev-icon,
    .social-media-carousel .carousel-control-next-icon {
        background-color: #1d9455;
        border-radius: 50%;
        width: 2.5rem;
        height: 2.5rem;
        background-size: 50%;
    }

/* Feed Post (Facebook) */
.feed-post {
    background: white;
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

    .post-header img {
        object-fit: cover;
    }

    .post-header h6 {
        margin: 0;
        font-weight: 600;
        color: #333;
    }

    .post-header small {
        display: block;
        color: #999;
        font-size: 0.8rem;
    }

.post-content {
    flex: 1;
    margin: 10px 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

.post-footer {
    display: flex;
    gap: 5px;
    margin-top: auto;
}

    .post-footer .btn {
        flex: 1;
        background-color: #f0f0f0 !important;
        color: #555 !important;
        border: none;
        font-size: 0.85rem;
    }

        .post-footer .btn:hover {
            background-color: #e0e0e0 !important;
        }

/* Video Post (YouTube) */
.video-post {
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    background-color: #000;
    flex: 1;
}

    .video-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.video-post:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .play-overlay i {
        color: white;
        font-size: 1.8rem;
    }

.video-post:hover .play-overlay {
    background-color: rgba(255, 0, 0, 0.7);
}

.video-info {
    background: white;
    flex-shrink: 0;
}

    .video-info h6 {
        margin: 0;
        font-weight: 600;
        color: #333;
        font-size: 0.9rem;
    }

    .video-info small {
        color: #999;
    }

/* Instagram Post */
.instagram-post {
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .instagram-post img {
        width: 100%;
        height: 60%;
        object-fit: cover;
    }

.post-stats {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f5f5f5;
}

    .post-stats span {
        display: inline-block;
        margin: 0 10px;
        color: #555;
        font-weight: 600;
    }

    .post-stats i {
        color: #FF0000;
        margin-right: 5px;
    }

.post-caption {
    padding: 10px 15px;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex: 1;
}

/* Social Media Footer */
.social-media-footer {
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}

.btn-facebook {
    background-color: #1877F2 !important;
    color: white !important;
    border: none;
}

    .btn-facebook:hover {
        background-color: #0a5ec7 !important;
    }

.btn-youtube {
    background-color: #FF0000 !important;
    color: white !important;
    border: none;
}

    .btn-youtube:hover {
        background-color: #cc0000 !important;
    }

.btn-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: white !important;
    border: none;
}

    .btn-instagram:hover {
        opacity: 0.9;
    }

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .social-media-card {
        height: 600px;
    }

    .social-media-carousel {
        min-height: 350px;
    }
}

@media (max-width: 767px) {
    .social-media-card {
        height: 550px;
    }

    .social-media-carousel {
        min-height: 300px;
    }

        .social-media-carousel .carousel-control-prev-icon,
        .social-media-carousel .carousel-control-next-icon {
            width: 2rem;
            height: 2rem;
        }

    .post-content {
        font-size: 0.9rem;
    }

    .video-info h6 {
        font-size: 0.85rem;
    }

    .post-caption {
        font-size: 0.8rem;
    }
}

@media (max-width: 575px) {
    .social-media-card {
        height: auto;
        min-height: 500px;
    }

    .social-media-header h5 {
        font-size: 1.1rem;
    }

    .social-media-carousel {
        min-height: 280px;
    }

    .post-footer {
        flex-direction: column;
    }

        .post-footer .btn {
            width: 100%;
            padding: 0.4rem 0.5rem;
        }
}

.bg-brown-gradient {
    background: radial-gradient(circle at 12% 0%, rgba(255, 181, 112, .2), transparent 28%), linear-gradient(120deg, #5c1b15 0%, #7d2b1b 52%, #4d1713 100%);
    color: #FFF !important;
}

.pp-header {
    background: radial-gradient(circle at 12% 0%, rgba(255, 181, 112, .2), transparent 28%), linear-gradient(120deg, #5c1b15 0%, #7d2b1b 52%, #4d1713 100%);
    color: #FFF !important;
    padding: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 8px rgba(92, 27, 21, 0.2);
}

    .pp-header i {
        font-size: 1.8rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .pp-header h5 {
        margin: 0;
        font-weight: 700;
        font-size: 1.1rem;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

.pp-body {
    padding: 20px;
    background-color: #fff;
    min-height: 250px;
    overflow-y: auto;
    color: #555;
    line-height: 1.6;
}

.pp-body-img-box {
    width: 100%;
    height: 60%;
    object-fit: cover;
}

.pp-body p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    text-align: justify;
    color: #555;
}

.pp-body ul {
    list-style-position: inside;
    padding-left: 10px;
    margin: 15px 0;
}

.pp-body li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #555;
    border-left: 3px solid #7d2b1b;
    padding-left: 10px;
    line-height: 1.5;
}

.pp-body strong {
    color: #5c1b15;
    font-weight: 700;
}

.pp-footer {
    padding: 15px;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    border-top: 2px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
}

.pp-lite-bg {
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('../Images/ppmela.png') center/cover no-repeat;
    background-attachment: fixed;
    padding: 40px 0;
    position: relative;
}

@media (max-width: 1199px) {
    .pp-lite-bg {
        background-attachment: scroll;
    }
}

.btn-pp {
    background: linear-gradient(120deg, #5c1b15 0%, #7d2b1b 52%, #4d1713 100%);
    color: white !important;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(92, 27, 21, 0.2);
}

    .btn-pp:hover {
        background: linear-gradient(120deg, #4d1713 0%, #5c1b15 52%, #3d1209 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(92, 27, 21, 0.3);
    }

    .btn-pp i {
        transition: transform 0.3s ease;
    }

    .btn-pp:hover i {
        transform: translateX(3px);
    }

/* Pitrapaksha Section Enhancement */
#pitrapaksha {
    position: relative;
}

    #pitrapaksha::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, #5c1b15, #7d2b1b, #5c1b15);
        border-radius: 5px;
    }

    #pitrapaksha .row {
        position: relative;
        z-index: 1;
    }

    /* Social Media Card Enhancements for Pitrapaksha */
    #pitrapaksha .social-media-card {
        border: 2px solid rgba(125, 43, 27, 0.15);
        border-radius: 12px;
        overflow: hidden;
        background: white;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 5px 15px rgba(92, 27, 21, 0.1);
        display: flex;
        flex-direction: column;
    }

        #pitrapaksha .social-media-card:hover {
            border-color: rgba(125, 43, 27, 0.3);
            box-shadow: 0 15px 35px rgba(92, 27, 21, 0.2);
            transform: translateY(-8px);
        }

    /* Instagram Post in Pitrapaksha */
    #pitrapaksha .instagram-post {
        display: flex;
        flex-direction: column;
        gap: 10px;
        background-color: #f9f9f9;
        padding: 10px;
        border-radius: 8px;
    }

        #pitrapaksha .instagram-post img {
            border-radius: 6px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

            #pitrapaksha .instagram-post img:hover {
                transform: scale(1.05);
            }

        #pitrapaksha .instagram-post ul {
            margin: 10px 0;
            padding-left: 15px;
        }

        #pitrapaksha .instagram-post li {
            margin-bottom: 8px;
            font-size: 0.9rem;
            color: #555;
        }

    /* Decorative Divider */
    #pitrapaksha .social-media-card::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, #7d2b1b, transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    #pitrapaksha .social-media-card:hover::after {
        opacity: 1;
    }

/* Responsive adjustments for Pitrapaksha */
@media (max-width: 1199px) {
    #pitrapaksha .social-media-card {
        height: auto;
    }

    .pp-body {
        min-height: 300px;
    }

    .pp-header h5 {
        font-size: 1rem;
    }
}

@media (max-width: 991px) {
    #pitrapaksha .social-media-card {
        min-height: 450px;
    }

    .pp-body {
        min-height: 280px;
        max-height: 350px;
    }

    .pp-header {
        padding: 12px;
    }

        .pp-header h5 {
            font-size: 0.95rem;
        }

        .pp-header i {
            font-size: 1.5rem;
        }
}

@media (max-width: 767px) {
    #pitrapaksha {
        padding: 20px !important;
    }

        #pitrapaksha .mt-5 {
            margin-top: 1rem !important;
        }

    .pp-body {
        min-height: 250px;
        max-height: 300px;
        padding: 15px;
        font-size: 0.9rem;
    }

        .pp-body p {
            margin-bottom: 12px;
        }

        .pp-body li {
            margin-bottom: 8px;
            font-size: 0.85rem;
        }

    .pp-footer {
        padding: 12px;
    }

    .btn-pp {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }

    .pp-header h5 {
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    #pitrapaksha {
        padding: 15px !important;
    }

        #pitrapaksha .social-media-card {
            min-height: 420px;
        }

    .pp-header {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
    }

        .pp-header i {
            font-size: 1.3rem;
        }

        .pp-header h5 {
            font-size: 0.85rem;
            margin: 0;
        }

    .pp-body {
        min-height: 220px;
        max-height: 250px;
        padding: 12px;
        font-size: 0.85rem;
    }

        .pp-body ul {
            padding-left: 8px;
            margin: 10px 0;
        }

        .pp-body li {
            margin-bottom: 6px;
            font-size: 0.8rem;
            padding-left: 8px;
        }

    .pp-footer {
        padding: 10px;
    }
}
/* WhatsApp Styling */
.whatsapp-header {
    background-color: #25D366;
}

.whatsapp-message {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background-color: #f5f5f5;
    height: 100%;
    overflow-y: auto;
}

.message-bubble {
    padding: 10px 12px;
    border-radius: 12px;
    word-wrap: break-word;
    max-width: 90%;
    font-size: 0.9rem;
    line-height: 1.4;
}

    .message-bubble.incoming {
        background-color: #e8e8ea;
        color: #333;
        align-self: flex-start;
        border-radius: 18px 18px 18px 2px;
    }

    .message-bubble.outgoing {
        background-color: #dcf8c6;
        color: #333;
        align-self: flex-end;
        border-radius: 18px 18px 2px 18px;
    }

    .message-bubble small {
        display: block;
        font-size: 0.75rem;
        color: #888;
        margin-top: 4px;
    }

.btn-whatsapp {
    background-color: #25D366 !important;
    color: white !important;
    border: none;
    font-weight: 600;
}

    .btn-whatsapp:hover {
        background-color: #20ba58 !important;
    }

/* X (Twitter) Styling */
.x-header {
    background-color: #000000;
}

.tweet-post {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    background-color: #f5f5f5;
    height: 100%;
    overflow-y: auto;
}

.tweet-header {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.tweet-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #ddd;
    flex-shrink: 0;
}

    .tweet-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.tweet-info h6 {
    margin: 0;
    font-weight: 700;
    color: #000;
    font-size: 0.95rem;
}

.tweet-info small {
    display: block;
    color: #657786;
    font-size: 0.8rem;
    margin-top: 2px;
}

.tweet-content {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    margin: 10px 0;
    flex: 1;
}

.tweet-stats {
    display: flex;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    color: #657786;
    font-size: 0.85rem;
}

    .tweet-stats span {
        display: flex;
        align-items: center;
        gap: 5px;
        cursor: pointer;
        transition: color 0.3s ease;
    }

        .tweet-stats span:hover {
            color: #1da1f2;
        }

    .tweet-stats i {
        color: #657786;
        font-size: 0.9rem;
    }

.btn-x {
    background-color: #000000 !important;
    color: white !important;
    border: none;
    font-weight: 600;
}

    .btn-x:hover {
        background-color: #222222 !important;
    }

/* Responsive adjustments for 5-column layout */
@media (max-width: 1399px) {
    .social-media-card {
        height: 500px;
    }
}

@media (max-width: 1199px) {
    .social-media-card {
        height: 500px;
    }

    .col-lg-2 {
        flex: 0 0 auto;
        width: 33.333%;
    }
}

@media (max-width: 991px) {
    .col-lg-2 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-md-4 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (max-width: 767px) {
    .col-lg-2,
    .col-md-4,
    .col-sm-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .social-media-card {
        height: auto;
        min-height: 450px;
    }

    .tweet-post,
    .whatsapp-message {
        max-height: 280px;
    }
}

.page-header {
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url(../Images/ppmela.png) center / cover no-repeat;
    background-attachment: fixed;
    padding: 20px 0;
    position: relative;
    max-height: 300px;
}

.notice-item {
}

    .notice-item item-title {
    }

    .notice-item item-details {
    }
@keyframes scroll-up {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
    }
}
.marquee-container {
    height: 345px;
    overflow: hidden;
    position: relative;
}
.marquee-content {
    animation: scroll-up 20s linear infinite;
    display: flex;
    flex-direction: column;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}