/* Ensure the body and html take full height */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Main content is hidden behind the curtain by default */


nav {
    background-color: #39313c;
	font-family: Tiro Devanagari Sanskrit;

}
ul {
  padding-inline-start: 20px;
 
}
.menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  background-color: #fdedec; /* Light brown */
  font-family: Tiro Devanagari Sanskrit;
}

/* Default: Hide the hamburger icon on larger screens */
.menu-toggle {
  display: none; /* Hidden by default */
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  color: white;
  font-family: Tiro Devanagari Sanskrit;
}

/* Menu items */
.menu > li {
  position: relative;
  margin: 0 15px;
  font-family: Tiro Devanagari Sanskrit;
}

.menu a {
  color: white;
  font-size: 16px;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  transition: background-color 0.3s ease;
  font-family: Tiro Devanagari Sanskrit;
 
}
.menu a:hover {
  text-decoration: underline;
background-color: #5e5163;
font-family: Tiro Devanagari Sanskrit;
}

/* Dropdown menu */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #39313c;  /* #8c6239    Dropdown menu color  #212f3c */
  display: none;
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  font-family: Tiro Devanagari Sanskrit;
}
.submenu ul{
                  /* reset traditional padding */
    padding-inline-start: 10px;    /* reset logical left padding (LTR) */
}
.menu > li:hover .submenu {
  display: block;
  animation: fadeIn 0.3s ease;
  font-family: Tiro Devanagari Sanskrit;
}

  .menu {
    display: flex;
    justify-content: left;
    margin: 0px 0px;
    padding: 10px 30px;
    background-color: #39313c; /* #660000 Lighter brown */
  }
  
  .menu li {
    list-style: none;
    margin: 0 20px;
  }
  
  .menu a {
    color: white;
    font-size: 18px;
  }
/* Mobile menu styles */
/* Fix mobile menu positioning */
@media screen and (max-width: 768px) {
  
  .menu {
    display: none; /* Ensure the menu is hidden by default */
    flex-direction: column;
    width: 60%;
    top: 60px;
    left: 0;
    background-color: #39313c;
    z-index: 1000;
  }

  /* Show the menu only when active */
  .menu.active {
    display: flex;
  }


  .menu > li {
    width: 100%;
    text-align: left;
  }

  .menu a {
    padding: 15px;
    display: block;
  }

  /* Fix submenu visibility */
  .submenu {
    position: relative; /* Instead of absolute */
    display: none;
    width: 100%;
    background-color: #39313c;
    padding: 5px 0px;
    padding-left: 20px;
    box-shadow: none;
    
  }

  .menu > li.show-submenu .submenu {
    display: block;
  }
  

  .submenu a {
    padding-left: 20px;
    display: block;
    color: white;
  }

  /* Ensure scrolling if submenu is too long */
  .submenu {
    max-height: 240px;
    overflow-y: auto;
  }

  /* Show hamburger menu */
  .menu-toggle {
    display: block;
  }
}


  .logo {
   
    width: 10%;
    padding: 20px 20px;
  }
  .logo img {
   
    height: 150px;
    width: 150px;
  }

  .mmmalviya {
   
    width: 10%;
    padding: 20px 20px;
  }
  .mmmalviya img {
   
    height: 150px;
    width: 150px;
  }
 
  /* Dropdown Animation */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive Menu for Small Screens */
  
  /* General Styles */
body {
    font-family: Tiro Devanagari Sanskrit, Georgia, serif !important;
    margin: 0;
    padding: 0;
    background-color: #f7e5d5; /* Manuscript-style background */
  }

.header-container {
    display: flex;
	
}
.title {
    width: 70%;
    color: #3e2002; /* Dark brown */
    padding: 10px 20px;
      
  }

  h3 {
    color: #331a02; /* Dark brown */
    padding: 0px 0px;
    margin-block-start: 0.6em;
  }
  
  a {
    text-decoration: none;
    color: #3e2002; /* Medium brown */
  }
  
  a:hover {
    text-decoration: underline;
	
	font-family: Tiro Devanagari Sanskrit;
  }
  
  /* Header */
 
  /* Freeze Header */
header {
  position: fixed; /* Keeps the header fixed at the top */
  top: 0; /* Ensures it stays at the top */
  color: rgb(44, 3, 3);
  padding-top: 20px;
  text-align: left;
  z-index: 1000;
  width: 100%; /* Ensures it spans the full width of the page */
  background-color: white; /* Ensure the background color is solid to cover content below */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for separation */
  
}

  
  main {
    margin-top: 60px;
   
  }
  
  /* Main Content */
  .main-container {
    margin-top: 260px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 80px;
    padding-bottom: 10px; !important
    flex-wrap: wrap;
	background-color:#f2f0f3;
    
  }
  .info-strip p {
    display: block;
  }
   .column {
    width: 35%;
    background: white;
    padding: 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
  }
   .column2 {
    width: 60%;
    background: white;
    padding: 2px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
  }
  /* Mobile view: Hide the <p> element */
 

  .middle-container {
    display: flex;
    justify-content: space-between;
    padding: 0px;
    color: #f2f0f3;
  }
  
  #view a {
    color: inherit; /* Inherits color from the parent */
    text-decoration: none; /* Removes underline */
    font-weight: bold; /* Ensures font weight is consistent */
  }
  .middle {
    width: 100%;
    
	background-color:#4e4352;
    padding: 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    text-align: justify;
    color: #f2f0f3;
  }
  .mid {
    text-align: center;
  }
  .midcontainer {
    display: flex;
    flex-wrap: wrap;
	
    justify-content: space-between;
  }
  
  
  
  #middle1, #middle2 {
    flex: 1;
    width: 50%;
    box-sizing: border-box;
    background-color:#4e4352;
	color:white;
    text-align: justify;
  }

  /* Ensuring responsiveness */
  @media (max-width: 768px) {
    .midcontainer {
      flex-direction: column; /* Stack sections vertically */
      align-items: center;    /* Optional: Center the content */
    }
  
    #middle1, #middle2 {
      width: 90%; /* Ensures both sections take up full width */
      margin-bottom: 0px;
      /* Adds space between sections */
    }
  }
  

  .notice-board {
    width: 95%;
    background: white;
    padding: 10px;
   
    overflow: hidden;
    position: relative;
    height: 420px;
}
.notice-board h3 {
  color: #5a3e2b; /* Dark brown title */
  font-size: 18px;
  border-bottom: 3px solid #39313c; /* Add an underline effect */
  margin-bottom: 10px;
}
.notice-container {
    height: 100%;
    overflow: hidden;
}

.notices {
    list-style: none;
    padding: 10px;
    margin: 0;
    animation: scroll-up 15s linear infinite;
}

.notices li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  background: #f2f0f3;
}

@keyframes scroll-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}
 
  
  
  /* Footer */
  footer {
    background-color: #39313c;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: relative;
  }
  /* Slideshow Styling */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 470px;
    margin:auto;
    z-index: 1;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  /* Slideshow Container */

  
  /* Info Strip Styling */
  .info-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95); /* Semi-transparent white background */
    color: #5a3e2b; /* Dark brown text */
    padding: 15px;
    text-align: left;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .info-strip h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
  }
  
  .info-strip p {
    margin: 5px 1px;
    font-size: 14px;
  }
  
  .info-strip a {
    color: #39313c; /* Medium brown */
    font-size: 14px;
    text-decoration: none;
  }
  
  .info-strip a:hover {
    text-decoration: underline;
  }
  
  .slideshow img {
    width: 100%; /* Make the image fit the container width */
    height: 100%; /* Make the image fit the container height */
    object-fit: cover;
    display: none;
    
  }


/* Optional: Add a container around the image for padding */

  @media screen and (max-width: 768px) {
    .slideshow-container {
      height: 220px; /* Smaller height for smaller screens */
      max-width: 100%; /* Allow full width of smaller devices */
    }

   
    
    .notice-board {
      height: 175px;
      padding: 2px;
  }
  .notice-board h3{
    font-size: 16px;
    text-align: center;
}
.notice-container ul{
  adding-inline-start: 2px;
}

  .info-strip li {
    
    font-size: 12px;
    text-align: center;
    
  }
  
  .info-strip p {
    
    font-size: 10px;
  }
  
  .info-strip a {
    
    font-size: 12px;
    
  }
 
  }
  
  .slideshow img.active {
    display: block;
  }
  
  /* Navigation Buttons */
  .prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 18px;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
  }
  
  .prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .prev {
    left: 10px;
  }
  
  .next {
    right: 10px;
  }
  
  /* Fade Animation */
  @keyframes fadeEffect {
    from {
      opacity: 0.4;
    }
    to {
      opacity: 1;
    }
  }
  
 

  
  /* Articles Section Styling */
.articles-section {
    background-color: #f2f0f3; /* Light manuscript background */
    padding: 30px 20px;
    margin-top: 20px;
  }
  
 .articles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; /* Add spacing between columns */
  }
  
  .articles-column {
    flex: 1; /* All columns have equal width */
    background: white; /* White background for contrast */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for a clean look */
    text-align: justify;
  }
  
  .articles-column h3 {
    color: #5a3e2b; /* Dark brown title */
    font-size: 18px;
    border-bottom: 3px solid #39313c; /* Add an underline effect */
    margin-bottom: 10px;
  }
  
  .articles-column ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  .articles-column ul li {
    padding: 8px 0; /* Add spacing between items */
    font-size: 14px;
    color: #5a3e2b;
    border-bottom: 1px dotted #d3c4a8; /* Light dotted line as separator */
  }
  
  .articles-column ul li:last-child {
    border-bottom: none; /* Remove the last separator */
  }
  
  .articles-column ul li:hover {
    color:none; /* Medium brown on hover */
    cursor: pointer;
  }
  




  /* Ensuring responsiveness */
  @media (max-width: 768px) {
    .articles-container {
      flex-direction: column; /* Stack sections vertically */
      align-items: center;    /* Optional: Center the content */
    }
  
    .articles-column {
      width: 80%; /* Ensures both sections take up full width */
      margin: 10px;
      padding: 20px;
      /* Adds space between sections */
    }
  }




/* Editorial Page CSS */

/* General Styles for Editorial Board Page */
body {
  font-family: Georgia, serif;
  margin: 0;
  background-color: #f2f0f3; /* Manuscript background */
}

.editorial-board-container {
  margin-top: 240px;
  padding-top: 120px;
  padding-left: 50px;
  padding-right: 50px;
  max-width: 1200px;
  margin: 120px;
  text-align: justify;
}

/* Title Section */
.title-section {
  text-align: center;
  margin-bottom: 25px;
  margin-top: 60px;
}

.title-section h1 {
  font-size: 32px;
  color: #5a3e2b; /* Dark brown */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Editor Sections */
.editor-section {
  margin-bottom: 40px;
  align-items: center;
}

.editor-section h2 {
  font-size: 24px;
  color: #39313c; /* Medium brown */
  border-bottom: 2px solid #39313c;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Editor Cards */
.editor-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.editor-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 250px;
  text-align: center;
  animation: fadeIn 0.8s ease-in-out;
  align-items: center;
}

.editor-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.editor-info {
  padding: 15px;
}

.editor-info h3 {
  color: #5a3e2b;
  font-size: 18px;
  margin: 10px 0;
}

.editor-info p {
  font-size: 14px;
  color: #7a5a3b;
}

/* Editor List */
.editor-list {
  list-style: none;
  padding: 0;
}

.editor-list li {
  padding: 10px 0;
  font-size: 16px;
  color: #5a3e2b;
  border-bottom: 1px dotted #d3c4a8;
}

.editor-list li:last-child {
  border-bottom: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

   /* Tablet View (e.g., iPads) */
   @media screen and (max-width: 1024px) {
    .logo img {
     
      height: 120px;
      width: 120px;
    }
    
    .mmmalviya img {
     
      height: 120px;
      width: 120px;
    }
    .mmmalviya {
   
    padding: 20px 40px;
    }
    .title h1{
      font-size: 1.6em;
      margin-block-end: 0.2em;
    }
    .title h3{
      font-size: 1.1em; 
      margin-block-start: 0em;
      margin-block-end: 0.67em;
    }
    .editorial-board-container {
      margin-top: 300px;
      padding-top: 200px;
      padding-left: 35px;
      padding-right: 35px;
      max-width: 1200px;
      margin: 20px;
      text-align: justify;
    }

    .slideshow-container {
    
    height: 400px;
    
    
   
  }
  .notice-board {
   
    height: 350px;
}
  
  /* Mobile View (Phones) */
  @media screen and (max-width: 768px) {
    .logo img {
     
      height: 70px;
      width: 70px;
    } 
    .mmmalviya img {
     
      height: 70px;
      width: 70px;
    }
    .title h1{
      font-size: 0.8em;
      margin-block-start: 1.0em;
      margin-block-end: 0.1em;
    }
    .title h3{
      font-size: 0.5em; 
      margin-block-start: 0em;
      margin-block-end: 0.67em;
    }
    .editorial-board-container {
      margin-top: 150px;
      padding-top: 170px;
      padding-left: 20px;
      padding-right: 20px;
      max-width: 1200px;
      margin: 20px;
      text-align: justify;
    }
    .mmmalviya {
   
    padding: 20px 40px;
    }
    .mid {
    font-size: 1.2em;
  }
  }
  
   @media screen and (max-width: 768px) {
    .info-strip p {
      display: none; /* This hides the <p> element in mobile view */
    }
    .main-container {
      margin-top: 240px;
      flex-direction: column; /* Stack sections vertically */
      align-items: center;
      gap: 40px; /* Optional: Center the content */
      padding: 10px;
      
      padding-bottom: 10px; !important
  
    }
    
    .column2 {
        width:90%;
    }
    .column {
        width:90%;
        padding: 0px;
    }
    .slideshow-container {
        height: 220px;
        max-width: 100%;
    }
    .notice-board {
        height: 175px;
        padding: 2px;
    }

  }
