/* General Page */
body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

/* Branding Header */
.brand-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.brand-logo {
  height: 48px;
  width: auto;
}

.brand-title {
  font-size: 26px;
  font-weight: bold;
  color: #2c3e50;
  font-family: 'Segoe UI', sans-serif;
}

/* Container Box */
.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Headings */
h1 {
  text-align: center;
  color: #333333;
  margin-bottom: 20px;
}

/* Input Field */
input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  margin-bottom: 20px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Button */
button {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

/* Card Style */
.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  margin: 30px auto;
  max-width: 700px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.5s ease-in-out;
}

/* Card Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.card h3,
.card h4 {
  margin-top: 0;
  color: #222;
  text-align: left;
}

.card p {
  text-align: left;
  color: #333;
  margin: 8px 0;
}

/* Student Photo */
.card img {
  max-width: 130px;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Assignment Status Badges */
.assignment-status {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.assignment-status span {
  background: #eaeaea;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
}

/* Links */
.card a {
  display: inline-block;
  margin-top: 10px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.card a:hover {
  text-decoration: underline;
}

/* Chart */
.chart-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}

.chart-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 120px;
  text-align: center;
}

.chart-item p {
  margin: 6px 0 0;
  font-size: 14px;
  color: #333;
}

canvas {
  max-width: 100%;
  height: auto !important;
}

/* Spinner */
.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hidden {
  display: none;
}

/* Toast */
.toast {
  visibility: hidden;
  min-width: 220px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 14px;
  position: fixed;
  z-index: 999;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.5s, bottom 0.5s;
}

.toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 50px;
}

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f4f4f4;
  scroll-behavior: smooth;
}

.hero {
  background: linear-gradient(to right, #6366f1, #8b5cf6);
  color: white;
  text-align: center;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-primary {
  background-color: white;
  color: #4f46e5;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #4f46e5;
  color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.features {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #1f2937;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: #f9fafb;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  color: #4f46e5;
  margin-bottom: 15px;
}
.about {
  background-color: #f9fafb;
  padding: 80px 20px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #4f46e5;
}

.about-text p {
  font-size: 1rem;
  color: #1f2937;
  line-height: 1.6;
}

.about-image {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.testimonials {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: #f4f4f4;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.testimonial-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-card h4 {
  color: #4f46e5;
}
.contact {
  background-color: #f9fafb;
  padding: 80px 20px;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  resize: none;
}

.contact-form button {
  background-color: #4f46e5;
  color: white;
  padding: 12px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background-color: #3730a3;
}

#form-status {
  font-size: 0.95rem;
  margin-top: 10px;
}
input[type="text"]:focus {
  border: 2px solid #4f46e5;
  box-shadow: 0 0 8px rgba(79, 70, 229, 0.5);
  outline: none;
  transition: all 0.3s ease;
}

button:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 12px rgba(0, 123, 255, 0.2);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease-in-out;
}

.cert-btn {
  display: inline-block;
  padding: 10px 16px;
  background-color: #28a745; /* green */
  color: #fff; /* white text for better contrast */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  margin-top: 12px;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cert-btn:hover {
  background-color: #218838; /* darker green on hover */
  color: #fff;
}