* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
}

ul {
    list-style-type: disc;
    padding-left: 20px;
    /* margin-bottom: 1rem; */
}

li {
    /* margin-bottom: 0.5rem; */
    line-height: 1.6;
    color: #333;
    /* Optional: for text clarity */
}

body {
    background-color: #f4f4f4;
    max-width: 1800px;
    margin: 0 auto !important; 
}

/* Header */
header {
    /* background-color: #a8e6cf; */
    background-color: white;
    padding: 10px 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.mobile-view {
    display: none !important;
}

.web-view {
    display: flex !important;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    /* width: 540px; */
    /* width: 40px; */
    margin-right: 10px;
    position: absolute;
        height: 93px;
}

.logo h1 {
    font-size: 24px;
    color: #2d6a4f;
}

.logo h1 span {
    color: #ff6f61;
}

.countdown-timer {
    background-color: #fff;
    border-radius: 3px;
    padding: 5px 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #2d6a4f;
}

.countdown-timer span {
    font-weight: 600;
    color: #ff6f61;
}

.countdown-timer .timer-label {
    font-size: 12px;
    color: white;
    /* color: #2d6a4f; */
    margin-right: 2px;
}

.countdown-timer .timer-value {
    font-size: 14px;
    /* color: #ff6f61; */
    color: #2d6a4f;
    ;
    font-weight: 600;
    font-family: 'Courier New', Courier, monospace;
    display: inline-block;
    width: 24px;
    text-align: center;
    padding: 3px 4px;
    border-radius: 3px;
    background: white;
}

.timer-box {
    border: 1px solid;
    padding: 2px;
    border-radius: 5px;
    background: #2d6a4f;
    text-align: center;
}

.header-submit-button {
    margin-top: -14px;
    text-align: center;
}

.header-submit-button a {
    padding: 3px 15px;
    background-color: #2d6a4f;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
}

.header-submit-button a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: white;
    border: 1px solid #2d6a4f;
    color: #2d6a4f;
}

.news-tag {
    background: #f86e64;
    padding: 10px;
    margin-left: -10px;
    font-weight: 600;
}

.nav-menu {
    background-color: #2d6a4f;
    border-radius: 3px;
    padding: 10px 0;
    display: flex;
    /* justify-content: center; */
    padding-left: 6px
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 10px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-menu ul li a:hover {
    color: #f86e64;
}

.menu-list {
    border-right: 1px solid white;
    padding-right: 10px;
    cursor: pointer;

}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #2d6a4f;
}

.close-btn {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    margin-bottom: 20px;
    align-self: flex-end;
}

.news-ticker {
    background-color: #2d6a4f;
    color: white;
    padding: 10px;
    border-radius: 3px;
    overflow: hidden;
    white-space: nowrap;
    margin-top: 10px;
    height: 40px;
    display: flex;
    align-items: center;
}

.news-ticker p {
    display: inline-block;
    /* animation: scroll 30s linear infinite; */
}

@keyframes scroll {
    0% {
        transform: translateX(50%);
        /* transform: translateX(100%); */
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Main Content */
.main-content {
    display: flex;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel {
    flex: 2;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    /* height: 400px; */
    object-fit: cover;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #2d6a4f;
}

.sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.latest-news,
.call-for-papers,
.recent-feedback-right {
    /* background-color: #a8e6cf; */
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 200px;
    display: flex;
    flex-direction: column;
}

.latest-news h3,
.call-for-papers h3,
.recent-feedback-right h3 {
    font-size: 18px;
    color: #2d6a4f;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 1px solid #c5c5c5;
}

.recent-feedback-right {
    min-height: 300px !important;
}

.news-list,
.papers-list {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.news-list-inner,
.papers-list-inner {
    position: absolute;
    width: 100%;
    animation: scroll-up 15s linear infinite;
}

.news-list-inner:hover,
.papers-list-inner:hover {
    animation-play-state: paused;
}

.news-item,
.paper-item {
    margin-bottom: 10px;
    padding: 5px;
    /* background-color: #fff; */
    border-radius: 5px;
    /* font-size: 14px; */
    /* color: #333; */
}

@keyframes scroll-up {
    0% {
        transform: translateY(50%);
    }

    100% {
        transform: translateY(-100%);
    }
}

@keyframes scroll-up-feedback {
    0% {
        transform: translateY(20%);
    }

    100% {
        transform: translateY(-100%);
    }
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: #a8e6cf;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 1200px;
}

.footer-buttons button {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #2d6a4f;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.footer-buttons button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: white;
    border: 1px solid #2d6a4f;
    color: #2d6a4f;
}

/* Journals Section */
.journals-section {
    padding: 15px 20px;
    background-color: #fff;
}

.subheading {
    font-size: 28px;
    color: #2d6a4f;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.subheading::after {
    content: '';
    width: 50px;
    height: 3px;
    background-color: #a8e6cf;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.journals-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 0 20px;
    align-items: stretch;
}

.journal-card {
    background-color: white;
    /* background-color: #a8e6cf; */
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
}

.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.journal-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
}

.journal-card h3 {
    font-size: 16px;
    color: #2d6a4f;
    text-align: center;
    margin-bottom: 10px;
    overflow-wrap: break-word;
    max-height: 80px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex-grow: 1;
}

.journal-card button {
    width: 80%;
    padding: 8px;
    background-color: #2d6a4f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.journal-card button:hover {
    /* background-color: #ff6f61; */
    background-color: white;
    color: #2d6a4f;
    border: 1px solid #2d6a4f;
    font-weight: 600;
}

.recent-section {
    display: flex;
    gap: 20px;
    padding: 40px 20px;
    background-color: #a8e6cf;
}

.recent-feedback,
.recent-articles {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    ;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 300px;
    display: flex;
    flex-direction: column;
}

.recent-feedback h2,
.recent-articles h2 {
    font-size: 22px;
    color: #2d6a4f;
    margin-bottom: 12px;
    text-align: center;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid #c5c5c5;
}

.feedback-list,
.articles-list {
    flex: 1;
    overflow: hidden;
    position: relative;

}

.feedback-list-inner,
.articles-list-inner {
    position: absolute;
    width: 100%;
    animation: scroll-up-feedback 25s linear infinite;
}

.feedback-item,
.article-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border-left: 3px solid #2d6a4f;
}

.feedback-item p,
.article-item p {
    font-size: 14px;
    color: #333;
}

/* .feedback-item p:first-child,
.article-item p:first-child {
    font-style: italic;
    color: #666;
} */

.feedback-list-inner:hover,
.articles-list-inner:hover {
    animation-play-state: paused;
}

.feedback-name {
    color: #28a745 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.paper-index {
    text-align: center;
    border-bottom: 1px solid #bfbfbf;
    font-weight: 600;
    padding-bottom: 5px;
}

/* Footer */
footer {
    background-color: #2d6a4f;
    color: #fff;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-section {
    flex: 1;
}

.footer-section h3 {
    font-size: 18px;
    color: #a8e6cf;
    margin-bottom: 15px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    width: 30px;
    height: 2px;
    background-color: #ff6f61;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    font-size: 14px;
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff6f61;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: #ff6f61;
    transform: scale(1.2);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 20px auto 0;
    padding-top: 20px;
    border-top: 1px solid #a8e6cf;
    font-size: 14px;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-right span {
    color: #e0e0e0;
}

.footer-bottom-right a {
    color: #a8e6cf;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-bottom-right a:hover {
    color: #ff6f61;
}

.button-link{
    text-decoration: none;
    color: white;
    display: contents;
}

.button-link:hover {
    color: #2d6a4f !important;
}

/* Style for common layout main container/section */
.main-left-section {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* padding: 20px; */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

}

.indexing-logo {
        max-width: 80vw;
        max-height: 200px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    .mobile-view {
        display: flex !important;
    }

    .web-view {
        display: none !important;
    }

    /* Header */
    .header-top {
        flex-wrap: wrap;
        /* gap: 10px; */
    }

    .logo img {
        width: 75vw;
        /* width: 40px; */
        margin-right: 10px;
        position: relative;
        /* margin-top: -15px; */
        height: 80px
    }

    .hamburger {
        display: block;
        margin-left: auto;
    }

    .header-submit-button {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100%;
        background-color: #2d6a4f;
        flex-direction: column;
        padding: 20px;
        transition: left 0.3s ease-in-out;
        z-index: 1000;
        margin: 0;
        border-radius: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .nav-menu ul li a {
        font-size: 16px;
    }


    .close-btn {
        display: block;
    }

    .countdown-timer {
        font-size: 12px;
        gap: 5px;
        flex: 1;
        justify-content: center;
    }

    .countdown-timer .timer-label {
        font-size: 10px;
        margin-right: 1px;
    }

    .countdown-timer .timer-value {
        font-size: 12px;
        width: 20px;
        min-width: 48px;
    }

    .news-ticker {
        height: 35px;
        margin-top: 15px;
    }

    /* Main Content */
    .main-content {
        flex-direction: column;
        padding: 15px;
    }

    .carousel-slide img {
        /* height: 300px; */
        height: auto;
    }

    .latest-news,
    .call-for-papers, 
    .recent-feedback-right {
        height: 220px;
    }

   

    .news-item,
    .paper-item {
        font-size: 12px;
    }

    .footer-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .footer-buttons button {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
    }

    /* Journals Section */
    .journals-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .journal-card {
        min-height: 180px;
    }

    /* .journal-card img {
        width: 30px;
        height: 30px;
    } */

    .journal-card h3 {
        font-size: 14px;
        max-height: 60px;
        -webkit-line-clamp: 2;
    }

    .recent-section {
        flex-direction: column;
    }

    .recent-feedback,
    .recent-articles {
        min-height: 300px;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .menu-list {
        border-right: none;
    }

    .main-left-section {
        width: 100%;
        /* padding: 10px; */
        margin: 0 auto;
    }

}

@media (max-width: 480px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .hamburger {
        position: absolute;
        top: 15px;
        right: 20px;
    }

    .countdown-timer {
        width: 92vw;
        /* margin-top: 10px; */
        max-width: 94vw;
    }
}


/* Style for Feedback page */

.feedback-container {
    width: 100%;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.feedback-form {
    padding: 0;
    background-color: white;
    color: black;
}

.accordion-header {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1e6143;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.accordion-header h2 {
    font-size: 22px;
    color: white;
}

.accordion-header .toggle-icon {
    font-size: 22px;
    transition: transform 0.3s ease;
    color: white;

}

.accordion-header .toggle-icon.open {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 30px;
    border-bottom: 1px solid #2d6a4f;
}

.accordion-content.open {
    max-height: 500px;
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    /* border: none; */
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.submit-btn {
    background-color: #2d6a4f;
    color: white;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    border: 1px solid #2d6a4f;

}

.submit-btn:hover {
    background-color: #ffffff;
    color: #2d6a4f;
    border: 2px solid #2d6a4f;
}

.feedback-header {
    color: #2d6a4f;
    text-align: center;
    /* border-bottom: 1px solid #e1e1e1; */
    padding-bottom: 7px;
}

.feedback-list-container {
    padding: 30px;
}

.feedback-item-in-page {
    border-bottom: 1px solid #2d6a4f;
    padding: 20px 0;
    display: flex;
    gap: 15px;
}

.feedback-item-in-page:last-child {
    border-bottom: none;
}

.avatar {
    width: 40px;
    height: 40px;
    background-color: #2d6a4f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 6px;
}

.feedback-content h3 {
    color: #4c4e51;
    ;
    /* margin-bottom: 5px; */
}

.feedback-content .date {
    color: #999;
    font-size: 14px;
    margin-bottom: 5px;
}

.feedback-content p {
    color: #666;
    text-align: justify;
    /* line-height: 1.6; */
}

.pagination {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 10px;
}

.pagination a {
    padding: 10px 15px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.pagination a:hover {
    background-color: #2d6a4f;
}

.pagination a.active {
    background-color: #2d6a4f;
    cursor: default;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    /* Header */
    header {
        padding: 10px 5px;
    }

    .feedback-container {
        margin: 0;
        border-radius: 0;
    }

    .accordion-header {
        padding: 15px 20px;
    }

    .accordion-header h2 {
        font-size: 20px;
    }

    .accordion-content.open {
        padding: 20px;
    }

    .feedback-list-container {
        padding: 20px;
    }

    .feedback-item-in-page {
        gap: 10px;
    }

    .avatar {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .pagination {
        flex-wrap: wrap;
    }
}