body{
  background-color: rgb(229, 255, 0);
}
section{
  margin-bottom: 20px;
}

/* NAVBAR SECTION */






/* NAVBAR SECTION */
.navbar {
  border: 4px solid black;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin-bottom: 5px;
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 70px;
  transition: all 0.3s ease;
  flex-wrap: wrap;
}

.navbar.scrolled {
  height: 90px;
  padding-top: 10px;
  background-color: #f8f8f8;
}

.logo-navbar {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  height: 100%;
  width: auto;
  object-fit: contain;
  padding-right: 20px;
}

/* Hamburger icon */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #000;
  margin-left: auto;
  padding: 10px;
  z-index: 1001;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

/* Nav link styling */
.nav-links a {
  text-decoration: underline;
  color: black;
  font-weight: bolder;
  font-size: 24px;
  transition: all ease;
}

.nav-links a:hover {
  color: #0000FF;
  text-decoration-color: #0000FF;
}




.hero{
  background-image: url(pics/hero-bg.png);
  height: 100vh;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(0, 0, 0);
  text-align: center;
  position: relative;
}
.hero-content{
  position: relative;
}
.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 2rem;
  background-color: rgb(255, 255, 255);
  font-weight:500;
  color: rgb(0, 0, 0);
  border-radius: 10px;
}



/* latest issue section */
.latest-issue-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}

.latest-issue {
background-color: white;
border: 2px solid black;
height: 35rem;
width: 20rem;
border-radius: 8px;
padding: 1rem;
text-align: center;
transition: background-color 0.5s ease;
}

.issue-content {
background-color: white;
padding: 10px;
border-radius: 10px;
text-align: center;
transition: background-color 0.5s ease;
}

.issue-content img {
height: 20rem;
width: 100%;
object-fit: contain;
display: block; /* Remove extra space below image */
}

.issue-text {
margin-top: 10px;
}

.read-button {
font-size: larger;
display: inline-block; /* Important for proper sizing */
padding: 8px 16px; /* Consistent clickable area */
text-decoration: none;
border-radius: 4px;
transition: all 0.3s ease;
}

/* Read All Button Specific Styles */
.read-all {
margin-top: 5rem;
margin-bottom: 2rem;
text-align: center;
}

.read-all .read-button {
background-color: #e0e0e0;
color: #000;
min-width: 150px; /* Ensures consistent width */
}

.read-all .read-button:hover {
background-color: #070a08;
color: #8282f8;
}

/* Hover effects for entire card */
.latest-issue:hover {
background-color: black;
border: 2px solid white;
}

.latest-issue:hover .issue-content {
background-color: black;
}

.latest-issue:hover .issue-text p,
.latest-issue:hover h2 {
color: white;
}

.latest-issue:hover  {
color: #8282f8;

}
/* latest issue section over */





/* about section */
.about-section {
margin-top: 5rem;
padding: 4rem 1rem;
background-color: #f9f9f9;
display: flex;
justify-content: center;
border-radius: 7px;
transition: all 0.3s ease;
}

.about-section:hover{
background-color: #c1c1c1;
color: black;

}
.about-container h1{
font-size: 2rem;

}

.about-container {
max-width: 800px;
text-align: center;

}

.about-content p {
font-size: 1.1rem;
line-height:22px;
margin-bottom: 1rem;
color: #333;
transition: all 0.3s ease; /* Add transition for smooth scaling */
transform-origin: center; /* Makes text grow from center */
}
/* Hover Effects */
.about-section:hover {
background-color: #c1c1c1;
}

.about-section:hover .about-content p {
transform: scale(1.015); /* Slightly enlarge text */
color: black; /* Optional: Darken text on hover */
}



.read-more-btn {
display: inline-block;
margin-top: 1rem;
padding: 0.6rem 1rem;
background-color: #222;
color: white;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
font-size: larger;
}

.read-more-btn:hover {
background-color: #ffffff;
color: #0000FF;
border: 1px solid black;
}


/* support section */
.support-section {
padding: 4rem 1rem;
background-color: #f9e9da;
display: flex;
justify-content: center;
border-radius: 7px;
transition: all 2s ease-in;
}

.support-container {
max-width: 800px;
width: 100%;
background-color: white;
padding: 2rem;
border-radius: 10px;
text-align: center;
box-shadow: 0 0 10px rgba(0,0,0,0.05);
font-size: 20px;}

.support-btn {
margin-top: 1rem;
display: inline-block;
background-color: #e63946;
color: white;
padding: 0.7rem 1.5rem;
border-radius: 5px;
text-decoration: none;
transition: 0.3s ease;
}

.support-btn:hover {
background-color: #b12235;
color: rgb(255, 255, 255);
}
/* for underlying h1 support */
.support-section h1 {
position: relative;
}

.support-section h1::after {
content: "";
position: absolute;
left: 50%;
bottom: -5px;
transform: translateX(-50%);
width: 0;
height: 2px;
background-color: black;
transition: width 0.3s ease-in 0.3s; /* 1s delay */
}

.support-section:hover h1::after {
width: 100%;
}

/* footer section */


.footer {
background-color: #000000;
color: white;
padding: 2rem 1rem;
font-size: 0.95rem;
font-family: sans-serif;
border-radius: 7px;
position: relative;
}

.footer-container {
display: flex;
justify-content: center;
text-align: center;
}

.footer-details {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-bottom: 10px;
}

.icon-row {
display: flex;
justify-content: center;
gap: 1.5rem;
flex-wrap: wrap;

}

.icon-row a {
color: rgb(185, 168, 255);
text-decoration: none;
display: flex;
align-items: center;
gap: 0.4rem;
font-size: 0.95rem;
}

.footer a:hover {
color: #ffffff;
}

.utkarsh {
position: absolute;
bottom: 10px;
right: 15px;
font-size: 0.85rem;
color: rgb(185, 168, 255);
}

.footer-details p {
margin: 0.5rem 0 0 0;
}







/* Responsive Navbar */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .navbar {
    align-items: flex-start;
  }

  .logo-navbar {
    height: 50px;
    margin-bottom: 10px;
  }

  .nav-links a {
    font-size: 16px;
    padding: 10px 0;
  }

  html.translated-ltr .menu-toggle {
    margin-top: 35px !important;
  }

  html.translated-ltr .logo-navbar {
    margin-top: 32px !important;
  }
}



/* to make the navbar item lower when scrolling */
html.translated-ltr .menu-toggle {
  margin-top: 35px !important;
}
html.translated-ltr .logo-navbar {
  margin-top: 32px !important;
}
