body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f3faff;
  color: #003f63;
  animation: fadeIn 1s ease-in-out;
}

.main-header {
  background-color: #00A3B4;
  padding: 3px 40px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.logo-left {
  height: 80px;
}

.logo-right {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #FFD700;
}

.main-content {
  padding: 40px 5%;
}

.highlight-frame {
  background: white;
  border: 2px solid #0093D0;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 10px !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  animation: fadeInDown 1.2s ease-in-out;
}

.teacher-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.teacher-img {
  width: 180px !important;
  transition: transform 0.6s ease;
}

.teacher-img:hover {
  transform: scale(1.05);
}

.title-block h1 {
  font-size: 2.8rem;
  color: #005DAA;
  margin-bottom: 0.3em;
  animation: slideInRight 1.2s ease;
}

.title-block p {
  font-size: 1.3rem;
  color: #01579b;
  animation: slideInRight 1.5s ease;
}

.platform-note {
  font-size: 1.1rem;
  color: #006095;
  font-style: italic;
  animation: slideInRight 1.8s ease;
}

.second-row {
  display: flex;
  gap: 40px;
}

.left-column {
  flex: 2;
}

.right-column {
  flex: 1;
}

.path-frame, .training-frame {
  border: 2px solid #cceeff;
  border-radius: 12px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.section-title {
  font-size: 1.6rem;
  color: #005DAA;
  margin-bottom: 20px;
  font-weight: bold;
  border-bottom: 1px solid #cceeff;
  padding-bottom: 8px;
}

.path-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn.big-btn {
  background: linear-gradient(to right, #00aaff, #0077cc);
  color: white;
  padding: 22px 40px;
  font-size: 1.4rem;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn.big-btn:hover {
  background: #005DAA;
  transform: scale(1.1);
}

.training-img {
  width: 70% !important;
  margin: 10px auto;
  display: block;
}

.training-img:hover {
  transform: scale(1.03);
}

footer {
  background: #005DAA;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

header {
  background-color: #00A3B4;
  padding: 3px 40px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.path-buttons {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.path-buttons a {
  flex: 1;
  margin: 0 0.1%;
}
.path-img {
  width: 100% !important;
}

/* Enhanced ripple button without white frame */
.ripple-button {
  position: relative;
  overflow: hidden;
  flex: 1;
  border-radius: 20px;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  background: transparent !important;
  border: none;
  outline: none;
}

.ripple-button:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  background: transparent !important;
}

.ripple-button:focus {
  outline: none;
  background: transparent !important;
}

.ripple-button:active {
  background: transparent !important;
}

/* Subtle shimmer effect without white frame */
.ripple-button::before {
  content: "";
  position: absolute;
  top: 0; 
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.ripple-button:hover::before {
  left: 125%;
}

.ripple-button img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  border-radius: 20px;
  display: block;
  position: relative;
  z-index: 0;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  background-color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  z-index: 2;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.ripple-button:active {
  transform: scale(0.95);
  animation: bounce 0.5s ease-in-out;
}

@keyframes bounce {
  0%   { transform: scale(0.95) translateY(0); }
  30%  { transform: scale(1.05) translateY(-5px); }
  60%  { transform: scale(1.02) translateY(2px); }
  100% { transform: scale(1.0) translateY(0); }
}

.training-frame {
  margin-top: 40px;
}

.training-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.training-box {
  width: 70%;
  max-width: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.training-box:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.training-box img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

h1 {
  color: #007BFF;
}

.double-column {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 40px;
  margin-top: 0;
}

.left-column {
  flex: 0 0 65%;
}

.right-column {
  flex: 0 0 35%;
}

.left-column .path-buttons,
.right-column .training-buttons {
  margin-top: 20px;
}

.path-frame, .training-frame {
  margin-top: 0;
}

.highlight-frame {
  margin-bottom: 10px !important;
}

.double-column {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 40px;
  margin-top: 0;
}

.path-frame, .training-frame {
  margin: 0;
  padding: 0;
}

footer {
  background-color: #00A3B4;
  color: white;
  text-align: center;
  padding: 20px;
}

.path-frame {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Clean path buttons layout */
.path-buttons {
  display: flex;
  justify-content: space-between;
  gap: 1%;
  margin-top: 20px;
}

.path-frame, .training-frame {
  padding: 20px;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
  .main-header {
    padding: 10px 20px !important;
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo-left {
    height: 50px;
  }

  .logo-right {
    height: 35px;
  }

  .nav-links {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .main-content {
    padding: 20px 3%;
  }

  .highlight-frame {
    padding: 20px;
    margin-bottom: 20px;
  }

  .teacher-box {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .teacher-img {
    width: 150px !important;
  }

  .title-block h1 {
    font-size: 2rem;
  }

  .title-block p {
    font-size: 1.1rem;
  }

  .platform-note {
    font-size: 1rem;
  }

  .double-column {
    flex-direction: column;
    padding: 0 10px;
    gap: 30px;
  }

  .left-column, .right-column {
    flex: none;
    width: 100%;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .path-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .ripple-button {
    width: 100%;
  }

  .training-box {
    width: 90%;
    max-width: none;
  }

  footer {
    padding: 15px;
    font-size: 0.9rem;
  }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
  .main-header {
    padding: 8px 15px !important;
  }

  .logo-left {
    height: 40px;
  }

  .logo-right {
    height: 30px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .main-content {
    padding: 15px 2%;
  }

  .highlight-frame {
    padding: 15px;
  }

  .teacher-img {
    width: 120px !important;
  }

  .title-block h1 {
    font-size: 1.6rem;
  }

  .title-block p {
    font-size: 1rem;
  }

  .platform-note {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .path-frame, .training-frame {
    padding: 15px;
  }
}

/* Syllabus Update Badge - Front Layer */
.syllabus-update-badge {
  position: fixed;
  top: 50px; /* moved 20px up */
  right: 0px; /* moved 10px to the right */
  z-index: 1000; /* Ensures it appears above all other content */
  width: 250px;
  height: 250px;
}

.syllabus-update-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)); /* Adds visual depth */
  transition: transform 0.3s ease;
}

.syllabus-update-badge:hover img {
  transform: scale(1.1); /* Scales slightly when hovered */
}

/* Adjusts size for mobile devices */
@media screen and (max-width: 768px) {
  .syllabus-update-badge {
    width: 60px;
    height: 60px;
  }
}

@media screen and (max-width: 480px) {
  .syllabus-update-badge {
    width: 50px;
    height: 50px;
  }
}
