/* Import Poppins Font */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* Header Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #004080;
    color: white;
    gap: 10px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust spacing between hamburger and logo */
}

.logo {
    font-size: 25px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    border-bottom: 1px solid black; /* Adjust thickness and color */
    padding-bottom: 8px; /* Optional: Adds spacing before the border */
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: gray; /* Default color */
    font-weight: 600;
    transition: color 0.3s ease; /* Smooth transition effect */
}

.nav-links a:hover {
    color: #33b2ff; /* Light blue */
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: #ffffff;
    min-width: 220px;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    color: #333;
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
    border-radius: 5px;
}

.dropdown-menu a:hover {
    background: #007bff;
    color: #ffffff;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu,
.dropdown-menu.active {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Hamburger Menu */
.hamburger {
    font-size: 24px;
    cursor: pointer;
    display: none;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    top: 0;
    left: -350px;
    width: 250px;
    height: 100%;
    background-color: #00274d;
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 1000;
}

.side-nav.active {
    left: 0;
}

.side-nav a {
    display: block;
    color: white;
    padding: 12px 0;
    text-decoration: none;
}

.side-nav a:hover {
    background-color: #004080;
}

/* Side Dropdown */
.side-dropdown {
    position: relative;
}

.side-dropdown-toggle {
    display: block;
    cursor: pointer;
    color: white;
    padding: 12px 0;
    text-decoration: none;
}

.side-dropdown-menu {
    display: none;
    flex-direction: column;
    background-color: #00274d;
    margin-left: 10px;
}

.side-dropdown-menu a {
    padding: 10px;
    color: white;
    text-decoration: none;
}

.side-dropdown-menu a:hover {
    background-color: #0055a5;
}

/* Show dropdown on active */
.side-dropdown.active .side-dropdown-menu {
    display: flex;
}


.close-btn {
    color: white;
    font-size: 28px;
    cursor: pointer;
}

/* Layout */
.container {
    display: flex;
    padding: 40px;
    gap: 30px;
}

.main-content {
    flex: 3;
    background-color: white;
    padding: 20px;
    text-align: justify;
}

.sidebar {
    flex: 1;
    background-color: #e6f2ff;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar a {
    text-decoration: none;
    color: #004080;
    display: block;
    padding: 5px 0;
}

/*sidebar right*/
.sidebar1 {
    flex: 1; /* Most Read small*/
   
   
}

.sidebar1 h3 {
    margin-bottom: 15px;
    color: #333;
}

.sidebar1 ul {
    list-style: none;
    padding: 0;
}

.sidebar1 ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}
.sidebar1 ul li img {
    margin-right: 10px;
    width: 16px; /* small flag logo */
    height: 16px;
}

/* Right Sidebar */
.sidebar2 {
    flex: 1;
    background-color: #e6f2ff;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-left: 1px solid #ddd;
}

.sidebar2 h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.2rem;
}

.sidebar2 ul {
    list-style: none;
    padding: 0;
}

.sidebar2 ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

.sidebar2 p {
    font-size: 0.9rem;
    color: #555;
}

.sidebar2 a {
    color: #004080;
    text-decoration: none;
    font-weight: bold;
}

.sidebar2 a:hover {
    text-decoration: underline;
}

/* Styling for the dropdown */
.dropdown-content {
    display: none;
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
}

.dropdown-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    font-weight: bold;
    color: #004080;
    cursor: pointer;
}

.dropdown-item .arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown-item.open .arrow {
    transform: rotate(180deg);
}

.dropdown-item.open .dropdown-content {
    display: block;
}

/* Adjust layout for main content and sidebars */
.container {
    display: flex;
    gap: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar1, .sidebar2 {
        border-left: none;
        border-top: 1px solid #ddd;
        padding-top: 20px;
    }
}

/* Fix: Button Spacing */
.submission-form button {
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .container {
        flex-direction: column;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
    }
}

/* Separator and Current Issue */
.separator {
    border-top: 2px solid #ddd;
    margin: 20px 0;
}

.current-issue h2 {
    text-decoration: underline;
    color: #004080;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Table of Contents */
.table-of-contents {
    margin: 20px 0;
}

.table-of-contents h3 {
    margin-bottom: 15px;
    color: #004080;
}

.article {
    margin-bottom: 15px;
}

.article h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.article p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #555;
}

.pdf-button {
    display: inline-block;
    background: #004080;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.pdf-button:hover {
    background: #004080;
}

/*privacy*/
.side-nav a.active {
    font-weight: bold;
    color: #33b2ff;
}

/* Footer */
footer {
    text-align: center;
    background: #333;
    color: #fff;
    padding: 1rem 0;
    font-size: 0.9rem;
    margin-top: 100px;
}

footer a {
    color: #00aced;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.2rem;
}

/* Styling for the submission form */

.submission-form {
    background-color: #ffffff;
    padding: 20px;
	padding-right: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.submission-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.submission-form input[type="text"],
.submission-form input[type="email"],
.submission-form input[type="file"],
.submission-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.submission-form input[type="text"]:focus,
.submission-form input[type="email"]:focus,
.submission-form input[type="file"]:focus,
.submission-form textarea:focus {
    border-color: #004080;
    outline: none;
}

.submission-form button {
    display: inline-block;
    margin-top: px;
    background-color: #004080;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submission-form button:hover {
    background-color: #00274d;
}

/*Breadcrumb*/
.breadcrumb {
    font-size: 0.9rem;
    margin: 10px 0;
	padding: 0px 30px;
    border-radius: 5px;
}

.breadcrumb a {
    text-decoration: none;
    color: gray;
	margin: 30px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #555;
    font-weight: bold;
}

/* Hide the ordered list initially */
.hidden {
	display: none;
}

/* Styling for the toggleable list item */
li.toggle {
    cursor: pointer;
    font-weight: bold;
    background-color: #cce5ff; /* Lighter blue */
    color: black;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 5px;
    list-style-position: inside; /* Ensures the number is inside */

}

/* Styling for the arrow */
li.toggle .arrow {
    font-size: 16px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

/* Rotate arrow when active */
li.toggle.active .arrow {
    transform: rotate(180deg);
}

/* Styling for both checklists */
ol#checklist,
ol#checklist2,
ul#checklist3,
ol#checklist3,
ol#checklist4 { /* Add another checklist ID here */
    padding: 10px;
    margin: 0;
    list-style-position: inside; /* Ensures numbers are inside */
    font-weight: normal; /* Ensures checklist items are not bold */
}

/* Styling for image editorial board */

.editorial-board {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
}

/* Chief Editor (1st person - center) */
.editor:nth-child(1) {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Senior Editors (2 - row-2) */
.editor:nth-child(2), 
.editor:nth-child(3) {
    width: 45%;
    display: flex;
    justify-content: center;
}

/* Editors (4  - row -3) */
.editor:nth-child(4), 
.editor:nth-child(5), 
.editor:nth-child(6), 
.editor:nth-child(7) {
    width: 22%;
    display: flex;
    justify-content: center;
}

/* Assistant Editors (6  - row-4) */
.editor:nth-child(8), 
.editor:nth-child(9), 
.editor:nth-child(10), 
.editor:nth-child(11), 
.editor:nth-child(12), 
.editor:nth-child(13) {
    width: 15%;
    display: flex;
    justify-content: center;
}

/* Editor */
.editor {
    background: linear-gradient(135deg, #003366, #0055a5);
    color: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

/* Hover Effect */
.editor:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* pic*/
.image-container {
    width: 100px;
    height: 120px;
    overflow: hidden;
    border-radius: 10px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Name*/
.editor h3 {
    margin-top: 10px;
    font-size: 16px;
}

/* position */
.editor p {
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .editor:nth-child(2), .editor:nth-child(3) {
        width: 100%;
    }

    .editor:nth-child(4), .editor:nth-child(5), 
    .editor:nth-child(6), .editor:nth-child(7) {
        width: 45%;
    }

    .editor:nth-child(8), .editor:nth-child(9), 
    .editor:nth-child(10), .editor:nth-child(11), 
    .editor:nth-child(12), .editor:nth-child(13) {
        width: 30%;
    }
}

@media (max-width: 480px) {
    .editor {
        width: 100%;
    }
}



.image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 10px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.4s ease-in-out;
}

@media (max-width: 768px) {
    .editorial-board {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}


.image-container:hover img {
    filter: grayscale(100%);
}

.overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: bottom 0.4s ease-in-out, opacity 0.4s ease-in-out;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.image-container:hover .overlay {
    bottom: 0;
    opacity: 1;
}

.editor h3 {
    margin: 10px 0;
    font-size: 16px;
    min-height: 50px; /* Ensures names don’t affect card height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.editor p {
    font-size: 14px;
    min-height: 30px; /* Ensures position text doesn’t shrink */
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Styling for Editorial Messages */
.editorial-messages {
    background: linear-gradient(to right, #004080, #0073e6);
    color: white;
    padding: 50px 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 30px;
}

.editorial-messages h2 {
    font-size: 26px;
    margin-bottom: 30px;
    color: #ffcc00; /* Gold Title */
}

/* Individual Message Layout */
.editor-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: auto;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Image Styling */
.editor-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid #ffcc00; /* Gold border */
}

/* Text Styling */
.editor-text {
    max-width: 600px;
    text-align: left;
}

.editor-text h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #ffcc00;
}

.editor-text p {
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .editor-message {
        flex-direction: column;
        text-align: center;
    }

    .editor-text {
        text-align: center;
    }
}


@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 5px;
        text-align: center;
        padding-bottom: 0;
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 10px;
        width: 100%;
        background-color: #004080;
        color: white;
        text-align: center;
    }
    
    .nav-links a:hover {
        background-color: #33b2ff;
        color: white;
    }
}

/* Contact Page Styling */
.contact-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-container h2 {
    text-align: center;
    color: #333;
}

.contact-container label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.contact-container input,
.contact-container textarea {
    width: 100%;
    padding: 12px;
    margin: 6px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.contact-container button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.contact-container button:hover {
    background: #0056b3;
}

/* Responsive Fix */
@media (max-width: 600px) {
    .contact-container {
        width: 90%;
        margin: 20px auto;
    }
}