body {
  font-family: Arial, sans-serif;
  background-color: #EEEFE0;
  margin: 0;
  padding: 0;
  color: #333;
}

header {
  background-color: #819A91;
  color: white;
  padding: 1rem;
  text-align: center;
}

.home-button {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: #A7C1A8;
  color: black;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: bold;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  z-index: 10;
}

.home-button:hover {
  background-color: #819A91;
  color: white;
}


main {
  padding: 2rem;
  text-align: center;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  justify-items: center;
  margin-top: 2rem;
  padding: 0 1rem;
}

.card {
  background-color: #A7C1A8;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 16px;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 1.3rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.2);
  background-color: #D1D8BE;
}

@media (max-width: 768px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .card {
    width: 180px;
    height: 180px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .card-container {
    grid-template-columns: 1fr;
  }

  .card {
    width: 90%;
    max-width: 300px;
    height: 180px;
    font-size: 1.1rem;
  }
}










footer {
  text-align: center;
  padding: 1rem;
  background-color: #819A91;
  color: white;
  margin-top: 3rem;
}

.header-with-back {
  background-color: #819A91;
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header-title {
  margin: 0;
  font-size: 1.8rem;
  text-align: center;
  width: 100%;
}

.back-button {
  position: absolute;
  left: 1.5rem;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  background-color: #A7C1A8;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.back-button:hover {
  background-color: #D1D8BE;
  color: black;
}











.about-box {
  background-color: #D1D8BE;
  padding: 2rem;
  max-width: 900px;
  margin: 3rem auto;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  color: #333;
  text-align: left;
}

.about-box h2 {
  color: #819A91;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.about-box p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}














.gig-banner {
  text-align: center;
  margin-top: 3rem;
  font-size: 2.5rem;
  color: #A7C1A8;
  font-weight: 800;
  letter-spacing: 1px;
}

.ebooks-box {
  background-color: #D1D8BE;
  padding: 2rem;
  max-width: 900px;
  margin: 3rem auto;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  color: #333;
  text-align: left;
}

.ebooks-box h2 {
  color: #819A91;
  text-align: center;
  margin-bottom: 1rem;
}

.ebook-list {
  list-style-type: none;
  padding: 0;
}

.ebook-list li {
  margin: 1rem 0;
  font-size: 1.1rem;
}

.ebook-list a {
  text-decoration: none;
  background-color: #A7C1A8;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
  color: #000;
  transition: background-color 0.2s ease;
}

.ebook-list a:hover {
  background-color: #819A91;
  color: white;
}
.ebooks-description {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  text-align: center;
}












.semesters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.semester-section {
  background-color: #EEEFE0;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.semester-section h3 {
  color: #819A91;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}











.ebook-link-box {
  background-color: #A7C1A8;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: background-color 0.2s ease;
}

.ebook-link-box a {
  text-decoration: none;
  font-weight: bold;
  color: black;
  font-size: 1.1rem;
}

.ebook-link-box:hover {
  background-color: #D1D8BE;
}

.subject-dropdown {
  margin-bottom: 1.5rem;
}

.subject-btn {
  background-color: #A7C1A8;
  color: #000;
  border: none;
  padding: 1rem;
  width: 100%;
  font-size: 1.1rem;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.subject-btn:hover {
  background-color: #D1D8BE;
}

.chapter-list {
  list-style: none;
  padding: 0.5rem 1.5rem;
  margin-top: 0.5rem;
  display: none;
  background-color: #EEEFE0;
  border-left: 3px solid #819A91;
  border-radius: 0 0 10px 10px;
}

.chapter-list li {
  margin: 0.5rem 0;
  font-size: 1rem;
}















.attendance-table-wrapper {
  overflow-x: auto;
}

.attendance-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 1rem;
  background-color: #EEEFE0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.attendance-table th,
.attendance-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #ccc;
}

.attendance-table th {
  background-color: #A7C1A8;
  color: black;
}

.attendance-table tr:hover {
  background-color: #D1D8BE;
}











.idcards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.idcard {
  background-color: #EEEFE0;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  padding: 1rem;
  gap: 1rem;
  align-items: center;
  transition: transform 0.2s ease;
}

.idcard:hover {
  transform: scale(1.02);
}

.idcard img {
  width: 100px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
}

.id-info h3 {
  margin: 0 0 0.5rem 0;
  color: #819A91;
}

.id-info p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}











.rent-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #A7C1A8;
  color: black;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.rent-btn:hover {
  background-color: #D1D8BE;
}

.copy-btn {
  margin-left: 10px;
  padding: 4px 10px;
  background-color: #A7C1A8;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  color: black;
}

.copy-btn:hover {
  background-color: #D1D8BE;
}









.attendance-box input {
  padding: 0.5rem;
  width: 80%;
  max-width: 300px;
  margin: 1rem 0;
  border: 2px solid #A7C1A8;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.attendance-box button {
  background-color: #819A91;
  color: white;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.attendance-box button:hover {
  background-color: #5e716b;
}











.calendar-box {
  max-width: 900px;
  margin: 3rem auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.calendar-box h2 {
  color: #2C4C44;
  margin-bottom: 1rem;
  text-align: center;
}

.calendar-container iframe {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}













.sbtet-box {
  max-width: 900px;
  margin: 2rem auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.sbtet-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #819A91;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.sbtet-button:hover {
  background-color: #5e716b;
}












.gift-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.gift-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  width: 220px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.gift-card img {
  width: 100%;
  border-radius: 0.5rem;
}

.gift-card h3 {
  margin: 0.5rem 0;
  color: #2c4c44;
}

.gift-card p {
  color: #333;
  margin-bottom: 0.5rem;
}

.gift-card a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #819A91;
  color: white;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: bold;
}

.gift-card a:hover {
  background: #5e716b;
}











.college-bus-box {
  background-color: #fefefe;
  padding: 1.5rem;
  margin: 1rem 0;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.college-bus-box h3 {
  color: #2C4C44;
  margin-bottom: 0.8rem;
}

.college-bus-box ul {
  margin-left: 1rem;
  padding-left: 0;
  list-style-type: disc;
}

.college-bus-box p {
  margin-top: 0.5rem;
  font-weight: 500;
}

.bus-pass-box {
  background-color: #f8f8f8;
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.apply-btn {
  display: inline-block;
  margin-top: 1rem;
  background-color: #819A91;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: bold;
}

.apply-btn:hover {
  background-color: #5e716b;
}


















body {
  font-family: 'Segoe UI', sans-serif;
  background: #EEEFE0;
  margin: 0;
  padding: 0;
  color: #2c3e50;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  text-align: center;
  padding: 2rem;
  background-color: #819A91;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.1rem;
}

main.college-selection {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 3rem 1rem;
  flex-wrap: wrap;
}

.college-card {
  background: #D1D8BE;
  border-radius: 1rem;
  padding: 1.5rem;
}














/* Sticky footer setup */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* Pushes footer to the bottom */
}

footer {
  background-color: #819A91; /* Same as your site theme */
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}






