* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Scroll Banner */
.marquee-container {
  background: linear-gradient(90deg, #fdfcfb 0%, #e2d1c3 100%);
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}
.marquee-container {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #fdfcfb 0%, #e2f3f5 100%);
  border-top: 1px solid #c8e6c9;
  border-bottom: 1px solid #c8e6c9;
  padding: 12px 0;
  position: relative;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee-scroll 25s linear infinite;
  font-family: "Segoe UI", sans-serif;
  font-size: 17px;
  color: #2e7d32;
  font-weight: 500;
}

.marquee-track span {
  display: inline-block;
  padding-right: 80px;
}

.marquee-track strong {
  color: #1b5e20;
  font-weight: 700;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* web page */
body {
  font-family: "Segoe UI", sans-serif;
  background: #f8fbff;
  color: #333;
}

.header {
  text-align: center;
  padding: 40px 20px 10px;
  background: linear-gradient(135deg, #00bcd4, #4db6ac);
  color: white;
}

.header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.containerl {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s;
}

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

.school h2 {
  color: #00796b;
}

.college h2 {
  color: #3f51b5;
}

ul {
  list-style: none;
  margin-top: 15px;
}

li a {
  display: block;
  padding: 10px 9px;
  margin: 6px 0;
  background: #f1f8e9;
  border-left: 5px solid #009688;
  text-decoration: none;
  color: #333;
  transition: background 0.3s;
}

li a:hover {
  background: #c8e6c9;
}

footer {
  text-align: center;
  padding: 20px;
  background: #eeeeee;
  font-size: 0.9em;
  margin-top: 40px;
}

header {
  background: linear-gradient(135deg, #00bcd4, #4db6ac);
  color: white;
  padding: 30px;
  text-align: center;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  /* background: #f1f8e9; */
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  background: #f0f0f0;
}

/* inside pages style */
/* Base styling */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #f3f9ff;
  color: #333;
}

/* Header styling */
.header {
  background: linear-gradient(135deg, #42a5f5, #66bb6a);
  color: white;
  padding: 40px 20px;
  text-align: center;
  animation: fadeInDown 1s ease-in-out;
}

.header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.1em;
  opacity: 0.95;
}

/* Container for content */
.row-layout {
  margin-bottom: 30px;
  padding: 30px 30rem 0px 20px;
  align-items: center;
  animation: fadeIn 1s ease-in;
}

/* Keep your math-section style */
.math-section {
  flex: 1 1 48%;
  padding: 20px;
  background: #f9fcff;
  border: 1px solid #d0e3f0;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 110, 255, 0.05);
  min-width: 300px;
}

.container {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 1s ease-in;
}

/* logo */

.header {
  background: linear-gradient(135deg, #00bcd4, #4db6ac);
  color: white;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  gap: 20px;
  flex-wrap: wrap; /* Allows logo and text to stack on small screens */
}

.logo {
  width: 120px;
  height: auto;
  max-width: 100%;
}

.header-text {
  max-width: 600px;
}

.header-text h1 {
  margin: 0;
  font-size: 2rem;
}

.header-text p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
}
/* sidebar */
/* 🎯 Universal Base Styles */
.moving-boxes {
  background: #f1faff;
  border: 2px solid #42a5f5;
  border-radius: 8px;
  padding: 15px;
  overflow: hidden;
}

/* 📦 Dashboard Box Styling */
.responsive-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dashboard-box {
  background: #ffffff;
  border: 1px solid #90caf9;
  border-radius: 10px;
  padding: 22px 25px;
  min-height: 180px;
  overflow: hidden;
  position: relative;


  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.dashboard-box h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #1976d2;
}

.dashboard-box ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.dashboard-box li {
  font-size: 0.6rem;
  margin-bottom: 10px;
  animation: verticalMarquee 6s linear infinite;
  color: #333;
}

.dashboard-box a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
}

.dashboard-box a:hover {
  text-decoration: underline;
}

/* 🔁 Scroll Animation for Box Content */
@keyframes verticalMarquee {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateY(0);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* 🖥️ Desktop Sidebar Layout */
@media screen and (min-width: 769px) {
  .moving-boxes {
    width: 280px;
    float: left;
    margin: 20px 20px 20px 0;
    height: 77rem; /* ✅ fixed sidebar height */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #90caf9 #f1faff;
  }

  .moving-boxes::-webkit-scrollbar {
    width: 6px;
  }

  .moving-boxes::-webkit-scrollbar-thumb {
    background-color: #90caf9;
    border-radius: 6px;
  }

  .moving-boxes::-webkit-scrollbar-track {
    background: #f1faff;
  }
}

/* 📱 Mobile Horizontal Scrolling Row */
@media screen and (max-width: 768px) {
  .moving-boxes {
    width: 100%;
    margin: 30px auto 0;
    height: auto;
  }

  .responsive-sidebar {
    flex-direction: row;
    gap: 12px;
    animation: scrollBoxesMobile 18s linear infinite;
  }

  .dashboard-box {
    min-width: 220px;
    flex-shrink: 0;
  }

  @keyframes scrollBoxesMobile {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
  }
}


/* subject 12 */
.section-heading {
  font-size: 1.4rem;
  margin: 3rem 0 1rem;
  color: #2a2a2a;
  border-left: 4px solid #0077cc;
  padding-left: 0.6rem;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem auto;
  padding: 0 1rem;
}

.subject-box {
  background-color: #fdfefe;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.subject-box h2 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #2b2b2b;
}

.paper-card {
  background-color: #eef2f5;
  border: 1px solid #d1dbe5;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  margin: 0.4rem 0;
  transition: background-color 0.2s ease;
}

.paper-card:hover {
  background-color: #e2ecf6;
}

.paper-card a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
  display: block;
}
/* 📱 Responsive: Stack logo on top for small screens */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    margin-bottom: 10px;
    width: 80px;
  }
}
/* Back link */
.back-link {
  display: inline-block;
  margin-top: 30px;
  text-decoration: none;
  color: #42a5f5;
  font-weight: 600;
  transition: color 0.3s;
}

.back-link:hover {
  color: #fff;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f8fafc;
  color: #222;
  margin: 0;
  padding: 0;
}

.year-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
  justify-content: center;
}

.year-card {
  background: #f9f9f9;
  border: 2px solid #ccc;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  width: 200px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.year-card h3 {
  margin-bottom: 10px;
}

.year-card a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

.subject-note {
  background: #eef2ff;
  padding: 14px 20px;
  margin: 20px auto;
  max-width: 800px;
  border-left: 4px solid #6366f1;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* discaimerr */
.footer .disclaimer {
  font-size: 0.95em;
  color: #555;
  margin-top: 10px;
  text-align: center;
  padding: 8px 0;
  font-style: italic;
  border-top: 1px solid #ddd;
}


.back-link {
  display: inline-block;
  margin-top: 25px;
  padding: 10px 18px;
  background: #6366f1;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.back-link:hover {
  background: #4f46e5;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .header h1 {
    font-size: 2em;
  }

  .paper-list li {
    font-size: 0.95em;
  }
}
/*      */
.card.college {
  background: #f0f8ff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
  transition: transform 0.3s ease;
}

.card.college:hover {
  transform: translateY(-5px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  margin: 10px 0;
  transition: border-color 0.3s ease;
}

select:focus {
  border-color: #0077cc;
  outline: none;
}

button#viewButton {
  margin-top: 12px;
  padding: 8px 16px;
  font-size: 1rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
button#viewButton:hover {
  background: #0056b3;
}

/* about and prrivacy policy  styling */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
  color: #333;
}

.header {
  background-color: #005f73;
  color: white;
  padding: 20px 0;
  text-align: center;
  border-bottom: 4px solid #0a9396;
}

.content {
  padding: 30px 20px;
  max-width: 800px;
  margin: auto;
  background: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin-top: 20px;
}

.content h2 {
  color: #0a9396;
}

.content p {
  line-height: 1.6;
  margin-bottom: 20px;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #e9ecef;
  font-size: 14px;
}

footer a {
  color: #0077cc;
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  text-decoration: underline;
}

/* 🪪 SEO Text */
.seo-text {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}
.seo-text h2 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #0a9396;
}

/* 🚀 Footer */
footer {
  text-align: center;
  background-color: #f8f9fa;
  padding: 25px;
  font-size: 15px;
  color: #444;
  border-top: 1px solid #ddd;
}
footer a {
  color: #0077cc;
  margin: 0 6px;
}

/* 🌀 Animations */
.fade-in {
  animation: fadeInUp 0.8s ease-in-out;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🔗 Share Link Button */
.share-section {
  text-align: center;
  margin: 30px 0;
}
.share-section button {
  background-color: #f77f00;
  border: none;
  padding: 10px 20px;
  color: white;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}
.share-section button:hover {
  background-color: #d76600;
}

/* 📱 Responsive */
@media screen and (max-width: 768px) {
  .containerl {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .card {
    width: 100%;
    max-width: 90%;
  }
}
/* 📘 SEO Text Box */
.seo-text {
  background-color: #fefefe;
  border-left: 6px solid #4db6ac;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px 25px;
  margin: 30px auto;
  max-width: 800px;
  line-height: 1.6;
  font-size: 16px;
  color: #333;
  animation: fadeIn 0.6s ease-in;
}

/* 📌 Info Note (like subject-note) */
.subject-note {
  background: #fffbe6;
  border-left: 4px solid #fbbf24;
  padding: 10px 14px;
  margin: 10px 0 20px;
  border-radius: 6px;
  font-size: 14px;
  color: #555;
}
.content {
  background: #fff;
  padding: 30px 24px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 850px;
  margin: auto;
}

/* to leave no extra space */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
}
footer {
  margin-bottom: 0;
  padding-bottom: 0;
}

.bottom-disclaimer {
  margin: 0;
  padding: 0;
}
/* study material */
.study-material {
  margin-top: 40px;
  padding: 20px;
  background-color: #f9f9ff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.study-material h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #333;
}

.chapter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.chapter-card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 6px;
  width: calc(50% - 20px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.chapter-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.chapter-card a {
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
}