* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #fff;
  color: #1b4332;
  line-height: 1.7;
  opacity: 0;
  animation: fadeInBody .8s ease-in forwards;
}

@keyframes fadeInBody {
  to {opacity: 1;}
}

/* ===== HEADER ===== */
header {
  background: #e9f5ec;
  border-bottom: 3px solid #2d6a4f;
  padding: 10px 40px;
}

.logo-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 10px;
}

.logo-bar img {
  height: 120px;
  width: auto;
  object-fit: contain;
  transition: transform .3s, box-shadow .3s;
}

.logo-bar img:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 8px rgba(0,0,0,.2);
}

.logo-left {flex:1; display:flex; justify-content:flex-start;}
.logo-right {flex:1; display:flex; justify-content:flex-end;}

.logo-title {
  flex: 2;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1b4332;
  letter-spacing: 1px;
}

/* ===== Navbar ===== */
nav {
  background: #fff;
  border-top: 2px solid #d8f3dc;
  padding: 12px 0;
  text-align: center;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #1b4332;
  font-weight: 600;
  font-size: 1.05em;
  transition: .3s;
  border-radius: 8px;
  padding: 6px 10px;
}

nav ul li a:hover,
nav ul li a.active {
  color: #fff;
  background: #2d6a4f;
  box-shadow: 0 3px 6px rgba(45,106,79,.3);
}

/* ===== Banner ===== */
.banner img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: cover;
  animation: slowZoom 15s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from {transform: scale(1);}
  to {transform: scale(1.05);}
}

/* ===== Section ===== */
.section {
  padding: 50px 20px;
  max-width: 1000px;
  margin: 30px auto;
  background: #f7fff8;
  border-left: 5px solid #2d6a4f;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  animation: fadeUp .6s ease;
}

@keyframes fadeUp {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

h1, h2, h3 {
  text-align: center;
  color: #1b4332;
  margin-bottom: 10px;
}

h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #2d6a4f;
  margin: 8px auto 20px;
  border-radius: 2px;
}

ul, ol {margin: 15px 0 20px 40px;}
p {margin-bottom: 15px; text-align: justify; color: #2f3e46;}

/* ===== ABOUT PAGE: BANNER + TEXT LAYOUT ===== */

.about-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  margin: 40px auto 20px;
  flex-wrap: wrap;
}

/* Banner block – left on desktop */
.about-banner {
  flex: 1;
  text-align: center;
  margin: 10px 0;
}

.about-banner img {
  width: 100%;
  max-width: 480px;            /* slightly bigger banner */
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  border: 4px solid #d8f3dc;   /* soft green frame */
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  image-rendering: -webkit-optimize-contrast;
}

.about-banner img:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

/* Text block – right on desktop */
.about-text {
  flex: 1.2;
  min-width: 320px;
  text-align: justify;
  color: #2f3e46;
  font-size: 1.04em;
  line-height: 1.85;
}

/* ===== MOBILE BEHAVIOUR ===== */
/* On mobile: banner first, text below */
@media (max-width: 768px) {
  .about-layout {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .about-banner {
    order: 1;              /* show image first */
  }

  .about-text {
    order: 2;              /* text comes after banner */
    padding: 0 8px;
  }

  .about-banner img {
    max-width: 95%;
    border-radius: 12px;
  }
}

/* Stack text + image for mobile view */
@media (max-width: 768px) {
  .about-layout {
    flex-direction: column;
    align-items: center;
  }
  .about-banner img {
    max-width: 90%;
    margin-top: 20px;
  }
}

/* ===== FUND ALLOTMENT SECTION (Improved Alignment & Spacing) ===== */
.fund-container {
  display: flex;
  align-items: stretch; /* makes table and image same height */
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 60px; /* adds nice gap before next section */
}

.fund-table {
  flex: 1;
  min-width: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fund-table table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.fund-table th, .fund-table td {
  border: 1px solid #d8f3dc;
  padding: 14px 16px;
  text-align: left;
  font-size: 0.95em;
  color: #1b4332;
}

.fund-table th {
  background: #2d6a4f;
  color: #fff;
  text-align: center;
  font-weight: 600;
}

.fund-table tr:nth-child(even) {
  background: #f7fff8;
}

/* Right image block */
.fund-image {
  flex: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fund-image img {
  width: 100%;
  max-width: 360px;  /* slightly bigger for balance */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.fund-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Responsive layout for mobile */
@media (max-width: 768px) {
  .fund-container {
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }

  .fund-table, .fund-image {
    width: 100%;
    text-align: center;
  }

  .fund-image img {
    max-width: 80%;
    margin-top: 20px;
  }
}

/* ===== Problem Statements ===== */
.problem-page-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

.problem-column {
  flex: 1;
  min-width: 380px;
  background: #ffffff;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-left: 5px solid #2d6a4f;
  transition: transform 0.3s ease;
}

.problem-column:hover {transform: translateY(-5px);}

.problem-column h2 {
  text-align: center;
  color: #2d6a4f;
  border-bottom: 2px solid #95d5b2;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.problem-column h3 {
  color: #1b4332;
  margin-top: 25px;
  font-weight: 600;
}

.problem-column ol {
  margin-left: 25px;
  line-height: 1.8;
}

.btn-download {
  background: #2d6a4f;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
  display: inline-block;
}

.btn-download:hover {
  background: #1b4332;
  transform: scale(1.08);
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(90deg,#1b4332,#2d6a4f);
  color: #fff;
  text-align: center;
  padding: 18px 10px;
  box-shadow: 0 -2px 5px rgba(0,0,0,.2);
}

footer a {
  color: #b7e4c7;
  font-weight: bold;
  text-decoration: none;
  transition: .3s;
}

footer a:hover {
  color: #95d5b2;
  text-decoration: underline;
}


/* ===== HAMBURGER MENU ===== */

/* ===== CLEAN MOBILE HEADER ===== */
@media (max-width:768px){

header{
padding:10px 15px;
position:relative;
}

/* keep logos left/right */
.logo-bar{
flex-direction:row;
justify-content:space-between;
align-items:center;
}

/* smaller logos */
.logo-bar img{
height:60px;
}

/* center title */
.logo-title{
flex:1;
font-size:1.2rem;
text-align:center;
}

/* hamburger button */
.menu-toggle{
display:block;
position:absolute;
right:20px;
top:80px;
font-size:26px;
cursor:pointer;
color:#1b4332;
}

/* remove nav border */
nav{
border-top:none;
}

/* hide menu */
nav ul{
display:none;
flex-direction:column;
gap:12px;
background:white;
padding:20px;
margin:10px;
border-radius:10px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

/* show menu */
nav ul.show{
display:flex;
}

/* menu links */
nav ul li a{
display:flex;
align-items:center;
gap:10px;
padding:10px;
font-size:1rem;
}

/* responsive layout fixes */
.fund-container{
flex-direction:column;
}

.problem-page-container{
flex-direction:column;
}

.problem-column{
min-width:100%;
}

.about-layout{
flex-direction:column;
align-items:center;
}

.about-banner img{
max-width:90%;
}

}
/* Download section styling */

.download-section{
text-align:center;
margin-top:30px;
}

.download-item{
margin-bottom:35px;
}

.download-item h3{
margin-bottom:15px;
color:#1b4332;
font-weight:600;
}

.btn-download{
display:inline-block;
background:#2d6a4f;
color:white;
padding:14px 26px;
border-radius:10px;
text-decoration:none;
font-weight:600;
font-size:1.05rem;
transition:all .3s ease;
box-shadow:0 4px 10px rgba(0,0,0,0.15);
}

.btn-download i{
margin-right:8px;
}

.btn-download:hover{
background:#1b4332;
transform:translateY(-3px);
box-shadow:0 6px 15px rgba(0,0,0,0.25);
}