@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html, body {
  height: 100%;
}

body {
  background-color: #f9fafb;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
}

a {
  text-decoration: none;
}

h1,
h2,
h3 {
  font-weight: 600;
}

/* Header */
header {
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background: #104BA9;
}

header h1 {
  font-size: 1.6rem;
}

header ul li {
  list-style-type: none;
}

.nav-btn {
  background: #f9fafb;
  display: inline-block;
  color: #104BA9;
  padding: 11px 16px;
  border-radius: 3px;
  font-weight: bold;
}

.nav-btn:hover {
  border: solid 1px #f9fafb;
  color: #f9fafb;
  background: transparent;
  padding: 10px 15px;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

nav a, span {
  margin-left: 25px;
  color: white;
}

nav span:hover, a:hover {
  cursor: pointer;
  text-decoration: underline;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.burger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media(max-width: 860px) {
  nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: white;
    max-height: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 70px;
    padding: 20px;
    z-index: 999;
  }

  nav a, span {
    color: #333;
  }

  nav.show {
    display: flex;
    max-height: 400px;
  }

  .burger {
    display: block;
    color: white;
  }

  #request-btn {
    display: none;
  }
}

/* Dropdown menu (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  box-shadow: 0px 6px 12px rgba(0,0,0,0.15);
  border-radius: 3px;
  z-index: 1000;
  flex-direction: column;
}

.dropdown-content a {
  padding: 10px 15px;
  color: #104BA9;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background: #f3f4f6;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: flex;
}

/* Hero Section */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 60px;
  height: 100vh;
  background-image: url("../img/5.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
  background-blend-mode: darken;
}

.hero-container {
  margin: auto;
  max-width: 900px;
}

.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 20px;
  color: white;
}

.hero p {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 30px;
}

.btn {
  background: #104BA9;
  color: white;
  padding: 12px 24px;
  border-radius: 3px;
  display: inline-block;
  font-weight: bold;
  cursor: pointer;
}

.btn:hover {
  background: #104BA9;
  text-decoration: none;
}

@media(max-width: 500px) {
  .hero {
    padding: 60px 20px;
    height: auto;
    min-height: 100vh;
    background-position: center;
    background-size: cover;
  }

  .hero-container {
    max-width: 90%;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 24px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Story Section */
.story {
  padding: 80px 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
  max-width: 1200px;
  margin: 20px auto;
  align-items: center;
}
.story img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.story h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.story p {
  margin-bottom: 20px;
  color: #555;
}

/* Jumbotron section */

.jumbotron {
  background: #104BA9;
  position: relative;
  display: flex;
  align-items: center;
  height: 200px;
}

.jumbo-text-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.jumbo-text-container h1 {
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
}

@media(max-width: 600px) {
  .jumbo-text-container h1 {
    font-size: 1.4rem;
  }
}

/* Facts Section */
.facts-container {
  max-width: 900px;
  margin: 0 auto;
}

.facts {
  padding: 60px 20px;
  background: #f9fafb;
  text-align: center;
}

.facts h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.fact-card {
  background: white;
  border-radius: 3px;
  padding: 30px 10px;
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.06); */
  border: solid 1px #104ba9;
  transition: transform 0.2s ease;
}

.fact-card:hover {
  transform: translateY(-4px);
}

.fact-card h3 {
  font-size: 2rem;
  color: #104BA9; /* green accent */
  margin-bottom: 12px;
}

.fact-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

/* How it works section */

.how-it-works {
  padding: 60px 20px;
  background: #f9fafb;
  color: #14213d;
}

.how-it-works .container { max-width: 1100px; margin: 0 auto; }

.how-it-works h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
}

.how-it-works .intro {
  text-align: center;
  color: #536878;
  margin-bottom: 35px;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  padding: 18px;
  border-radius: 3px;
  box-shadow: 0 6px 18px rgba(20,33,61,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  outline: none;
}

.step:focus,
.step:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 30px rgba(20,33,61,0.09);
}

.step .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #e6f2ff, #f0fbff);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #0b6fb6;
  flex-shrink: 0;
}

.step .body h3 {
  margin: 0 0 6px 0;
  font-size: 1.02rem;
  color: #0f2138;
}

.step .body p {
  margin: 0;
  color: #546e7a;
  font-size: 0.95rem;
  line-height: 1.4;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.btn-primary { background: #104BA9; color: white; }
.btn-outline { border: 2px solid #104BA9; color: #104BA9; background: transparent; }
.btn-outline:hover {color: white;}

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .step { align-items: center; }
  .step .icon { width: 48px; height: 48px; }
}


/* Donation Section */

.donate {
  margin: 20px 0;
  background: white;
}

.donation-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 3px;
}

h2 {
  color: #333;
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
}

.donation-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.donation-table th {
  background-color: #104BA9;
  color: white;
  padding: 15px;
  text-align: left;
  font-weight: bold;
  border: 1px solid #ddd;
}

.donation-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
}

.donation-table tr:nth-child(even) td {
  background-color: #f1f1f1;
}

.bank-name {
  font-weight: bold;
  color: #104BA9;
}

.note {
  background-color: #e9ecef;
  padding: 15px;
  border-left: 4px solid #104BA9;
  margin-top: 20px;
  border-radius: 4px;
}

.note p {
  margin: 5px 0;
  color: #555;
  font-size: 14px;
}

@media (max-width: 600px) {
  .donation-container {
      padding: 20px;
      margin: 10px;
  }
  
  .donation-table th,
  .donation-table td {
      padding: 10px;
      font-size: 14px;
  }
}

/* Colleges section */

.colleges {
  background: white;
  text-align: center;
  padding: 40px 0 0 0;
}

.colleges h4 {
  font-weight: 600;
}

.colleges-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  padding: 50px 0;
}

/* Sponsor section */

.sponsor-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.sponsor-section h3 {
  font-size: 1.8rem;
  margin-bottom: 50px;
  color: #444;
}

.carousel {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: auto;
}

.carousel-track {
  display: flex;
  gap: 40px;
  animation: scroll 15s linear infinite;
}

.carousel img {
  height: 80px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: 0.3s;
}

.carousel img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.carousel-track > div {
  display: flex;
  gap: 40px;
}

/* Contact Form */

.contact {
  width: 100%;
}

.container {
  max-width: 700px;
  margin: 30px auto;
}

.contact h2 {
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.contact p {
  margin-bottom: 20px;
  color: #333;
}

.disclaimer {
  text-align: center;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 3px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); */
  text-align: left;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #334155;
}

form input,
form textarea {
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  font-size: 1rem;
  background: #f8fafc;
}

/* Timeline */

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 30px;
  border-left: 3px solid #104ba9; /* main timeline line */
}

.timeline h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #104ba9;
}

.timeline ul {
  list-style: none;
  padding: 0;
}

.timeline ul li {
  position: relative;
  margin: 20px 0;
  padding: 15px 20px;
  background: #fff;
  border-radius: 3px;
  border: solid 1px #104ba9;
  transition: transform 0.2s;
}

.timeline ul li:hover {
  transform: translateX(20px);
}

/* Circle marker */
.timeline ul li::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 20px;
  width: 14px;
  height: 14px;
  background: #104ba9;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #104ba9;
}

/* Date style */
.timeline ul li strong {
  display: block;
  font-size: 1.1rem;
  color: #104ba9;
  margin-bottom: 5px;
}

/* Footer */
footer {
  background: #104ba9;
  color: #d1d5db;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media(max-width: 400px) {
  .jumbo-text-container h1 {
    font-size: 1.3rem;
  }

  .step .body h3 {
    font-size: 0.9rem;
  }
}