pre {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  background-color: #fafbfe;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); 
}
.popup_loading_screen
{
  width: 100%; height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0; left: 0;
  justify-content: center;
  cursor: wait;
  /* display: none; */
}
.popup_spinner_screen
{
  width: 300px; height: 300px;
  position: absolute;
  top: 45%; left: 50%;
  
  line-height: 50%;
  text-align: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #0080ff;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #0080ff;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  /* .table-striped>tbody>tr:nth-child(odd)>td, 
  .table-striped>tbody>tr:nth-child(odd)>th 
  {
   background-color: #85C1E9;
  } */
  .table-striped>tr:nth-child(odd){
    background-color: #85C1E9;
    color:black;
 }

 /* khmer */
@font-face {
  font-family: 'Moul';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/moul/v23/nuF2D__FSo_3I-hSiaCy.woff2) format('woff2');
  unicode-range: U+1780-17FF, U+200C, U+25CC;
}
/* latin */
@font-face {
  font-family: 'Moul';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/moul/v23/nuF2D__FSo_3I-NSiQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   MODERN NAVIGATION BAR STYLES
   ============================================ */

.modern-navbar {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.modern-navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modern-navbar .container-fluid {
  padding: 0 30px;
}

.navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  gap: 30px;
}

/* Logo/Brand Section */
.navbar-brand-section {
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1a2c4e, #2a4470);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

/* Search Bar Section */
.navbar-search-section {
  flex: 1;
  max-width: 600px;
  margin: 0 20px;
}

.search-wrapper {
  display: flex;
  background: #f8f9fa;
  border-radius: 50px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.search-wrapper:focus-within {
  border-color: #4CAF50;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
  background: #fff;
}

.search-filter-dropdown {
  position: relative;
  background: #fff;
  border-right: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  padding: 0 15px;
  min-width: 120px;
}

.filter-select {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
  padding-right: 20px;
  appearance: none;
  width: 100%;
}

.filter-icon {
  position: absolute;
  right: 15px;
  pointer-events: none;
  color: #999;
  font-size: 0.7rem;
}

.search-input-wrapper {
  display: flex;
  flex: 1;
  align-items: center;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 20px;
  font-size: 0.95rem;
  outline: none;
  color: #333;
}

.search-input::placeholder {
  color: #999;
}

.search-btn {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  border: none;
  color: #fff;
  padding: 12px 25px;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.search-btn:hover {
  background: linear-gradient(135deg, #45a049, #3d8b40);
  transform: translateX(2px);
}

.search-btn i {
  font-size: 1rem;
}

/* Navigation Links */
.navbar-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 15px;
  color: #1a2c4e;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  background: rgba(26, 44, 78, 0.1);
  color: #1a2c4e;
}

.nav-link:hover i {
  transform: scale(1.1);
}

.nav-link.active {
  background: linear-gradient(135deg, #1a2c4e, #2a4470);
  color: #fff;
}

.nav-link.active:hover {
  background: linear-gradient(135deg, #2a4470, #1a2c4e);
}

/* Dropdown Toggle */
.nav-link.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.5em;
  vertical-align: 0.1em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.3s ease;
  border-top-color: #1a2c4e;
}

.nav-item.dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Bootstrap Dropdown Menu Override */
.navbar-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  border-radius: 12px;
  padding: 10px 0;
  margin-top: 10px;
  border: none !important;
  z-index: 1000;
}

.navbar-menu .dropdown-item {
  display: block;
  padding: 12px 20px;
  color: #555;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  border: none;
  background: transparent;
}

.navbar-menu .dropdown-item:hover,
.navbar-menu .dropdown-item:focus {
  background: rgba(76, 175, 80, 0.1) !important;
  color: #4CAF50 !important;
  padding-left: 25px;
}

.navbar-menu .dropdown-item:active {
  background: rgba(76, 175, 80, 0.2) !important;
  color: #4CAF50 !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle .bar {
  width: 28px;
  height: 3px;
  background: #1a2c4e;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* User Authentication Section */
.navbar-user-section {
  display: flex;
  align-items: center;
  margin-left: auto;
}

/* Login Button */
.btn-login {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: #fff !important;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.btn-login:hover {
  background: linear-gradient(135deg, #45a049, #3d8b40) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
  color: #fff !important;
}

.btn-login i {
  font-size: 1rem;
}

/* User Dropdown */
.user-dropdown {
  position: relative;
}

.user-profile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  color: #1a2c4e;
  text-decoration: none;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.user-profile-link:hover {
  background: rgba(26, 44, 78, 0.05);
  border-color: rgba(26, 44, 78, 0.1);
  color: #1a2c4e !important;
}

.user-profile-link .fa-user-circle {
  font-size: 1.8rem;
  color: #4CAF50;
}

.user-name {
  font-size: 0.95rem;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-profile-link .fa-chevron-down {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.user-dropdown.show .fa-chevron-down {
  transform: rotate(180deg);
}

/* User Dropdown Menu */
.user-dropdown .dropdown-menu {
  min-width: 220px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  border-radius: 12px !important;
  padding: 10px 0 !important;
  margin-top: 10px !important;
  border: none !important;
}

.user-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px !important;
  color: #555 !important;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.user-dropdown .dropdown-item i {
  color: #4CAF50;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.user-dropdown .dropdown-item:hover,
.user-dropdown .dropdown-item:focus {
  background: rgba(76, 175, 80, 0.1) !important;
  color: #4CAF50 !important;
  padding-left: 25px !important;
}

.user-dropdown .dropdown-item:hover i {
  transform: scale(1.1);
}

.user-dropdown .dropdown-divider {
  margin: 8px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.logout-btn {
  color: #dc3545 !important;
}

.logout-btn i {
  color: #dc3545 !important;
}

.logout-btn:hover {
  background: rgba(220, 53, 69, 0.1) !important;
  color: #c82333 !important;
}

.logout-btn:hover i {
  color: #c82333 !important;
}

/* Navbar Spacer */
.navbar-spacer {
  height: 80px;
}

/* Responsive Design - Mobile */
@media (max-width: 1200px) {
  .brand-name {
    font-size: 1.3rem;
  }

  .nav-link {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .navbar-search-section {
    max-width: 400px;
  }
}

@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .navbar-wrapper {
    flex-wrap: wrap;
    position: relative;
  }

  .navbar-search-section {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin: 15px 0 0 0;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    padding: 80px 0 30px 0;
    transition: right 0.4s ease;
    overflow-y: auto;
  }

  .navbar-menu.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 15px 30px;
    border-radius: 0;
    justify-content: flex-start;
  }

  .navbar-menu .dropdown-menu {
    position: static !important;
    box-shadow: none !important;
    background: #f8f9fa !important;
    margin: 0;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.3s ease;
    transform: none !important;
  }

  .nav-item.dropdown.show .dropdown-menu {
    max-height: 500px;
    padding: 5px 0;
  }

  .navbar-menu .dropdown-item {
    padding: 12px 30px 12px 50px !important;
  }

  .navbar-menu .dropdown-item:hover {
    padding-left: 55px !important;
  }

  .search-text {
    display: none;
  }

  .search-btn {
    padding: 12px 20px;
  }
}

@media (max-width: 576px) {
  .modern-navbar .container-fluid {
    padding: 0 15px;
  }

  .logo-img {
    height: 40px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .navbar-menu {
    width: 280px;
  }

  .search-filter-dropdown {
    min-width: 90px;
    padding: 0 10px;
  }

  .filter-select {
    font-size: 0.85rem;
  }

  .search-input {
    font-size: 0.85rem;
    padding: 10px 15px;
  }

  /* User Section on Small Screens */
  .user-name {
    display: none;
  }

  .btn-login span {
    display: none;
  }

  .btn-login {
    padding: 10px 15px;
  }
}

/* ============================================
   MODERN FOOTER STYLES
   ============================================ */

footer.modern-footer {
  background: #1a2c4e !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 40px 0 0 !important;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.8s ease-in-out;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  footer.modern-footer {
    background: #0f1c33 !important;
  }
}

/* Light Mode Option */
body.light-mode footer.modern-footer {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  color: #333 !important;
}

body.light-mode footer.modern-footer h4,
body.light-mode footer.modern-footer a {
  color: #333 !important;
}

body.light-mode footer.modern-footer a:hover {
  color: #4CAF50 !important;
}

/* Decorative Elements */
footer.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #4CAF50, #2196F3, #4CAF50);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer Content */
footer.modern-footer .footer-content {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer.modern-footer h4 {
  color: #fff !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

footer.modern-footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: #4CAF50;
  border-radius: 2px;
  transition: width 0.3s ease;
}

footer.modern-footer h4:hover::after {
  width: 60px;
}

/* Footer Text */
footer.modern-footer p {
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Footer Links */
footer.modern-footer ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

footer.modern-footer ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 18px !important;
  transition: transform 0.2s ease;
}

footer.modern-footer ul li::before {
  content: '▸' !important;
  position: absolute;
  left: 0;
  color: #4CAF50 !important;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

footer.modern-footer ul li:hover {
  transform: translateX(5px);
}

footer.modern-footer ul li:hover::before {
  transform: translateX(-3px);
  color: #66BB6A !important;
}

footer.modern-footer ul li a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

footer.modern-footer ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4CAF50;
  transition: width 0.3s ease;
}

footer.modern-footer ul li a:hover {
  color: #fff !important;
}

footer.modern-footer ul li a:hover::after {
  width: 100%;
}

/* Contact Info */
footer.modern-footer .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8) !important;
  transition: transform 0.2s ease;
}

footer.modern-footer .contact-item:hover {
  transform: translateX(5px);
}

footer.modern-footer .contact-item i {
  width: 40px;
  height: 40px;
  background: rgba(76, 175, 80, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4CAF50 !important;
  margin-right: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

footer.modern-footer .contact-item:hover i {
  background: #4CAF50 !important;
  color: #fff !important;
  transform: rotate(360deg) scale(1.1);
}

/* Social Media */
footer.modern-footer .social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

footer.modern-footer .social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

footer.modern-footer .social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #4CAF50;
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
  z-index: -1;
}

footer.modern-footer .social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

footer.modern-footer .social-link:hover::before {
  width: 100%;
  height: 100%;
}

footer.modern-footer .social-link i {
  position: relative;
  z-index: 1;
}

/* Footer Bottom */
footer.modern-footer .footer-bottom {
  padding: 20px 0;
  margin-top: 0;
}

footer.modern-footer .footer-bottom p {
  margin: 0 !important;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7) !important;
}

footer.modern-footer .footer-bottom a {
  color: #4CAF50 !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer.modern-footer .footer-bottom a:hover {
  color: #66BB6A !important;
  text-decoration: underline !important;
}

/* Responsive Design - Mobile First */
@media (max-width: 767px) {
  footer.modern-footer {
    padding: 40px 0 0 !important;
    text-align: center;
  }

  footer.modern-footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  footer.modern-footer ul li {
    padding-left: 0 !important;
  }

  footer.modern-footer ul li::before {
    display: none !important;
  }

  footer.modern-footer ul li:hover {
    transform: none;
  }

  footer.modern-footer .contact-item {
    justify-content: center;
  }

  footer.modern-footer .social-links {
    justify-content: center;
  }

  footer.modern-footer .footer-bottom {
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  footer.modern-footer {
    padding: 50px 0 0 !important;
  }

  footer.modern-footer h4 {
    font-size: 1rem !important;
  }
}

/* Print Styles */
@media print {
  footer.modern-footer {
    background: #fff !important;
    color: #000 !important;
    page-break-inside: avoid;
  }

  footer.modern-footer .social-links {
    display: none;
  }
}

/* ============================================
   CAM-ASEAN LANGUAGE LAB PAGE STYLES
   ============================================ */

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #1a2c4e 0%, #2a4470 100%);
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="rgba(255,255,255,0.05)" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/><path fill="rgba(255,255,255,0.05)" d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5"/><path fill="rgba(255,255,255,0.1)" d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z"/></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-headline {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease;
}

.hero-subheadline {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 35px;
  opacity: 0.95;
  animation: fadeInUp 1s ease;
}

.hero-cta {
  display: inline-block;
  padding: 18px 45px;
  background: #4CAF50;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
  animation: fadeInUp 1.2s ease;
}

.hero-cta:hover {
  background: #45a049;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(76, 175, 80, 0.4);
  color: #fff;
}

.hero-cta i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.hero-cta:hover i {
  transform: translateX(5px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Why Self-Study Section */
.why-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f8f9fa 0%, #fff 100%);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a2c4e;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #4CAF50, #45a049);
  border-radius: 2px;
}

.section-title i {
  margin-right: 12px;
  color: #4CAF50;
}

.title-wrapper {
  text-align: center;
  margin-bottom: 50px;
}

.inspirational-quote {
  background: linear-gradient(135deg, #1a2c4e 0%, #2a4470 100%);
  color: #fff;
  padding: 40px 50px;
  border-left: 6px solid #4CAF50;
  border-radius: 12px;
  font-size: 1.15rem;
  line-height: 1.9;
  font-style: italic;
  margin: 40px 0 50px;
  box-shadow: 0 10px 30px rgba(26, 44, 78, 0.15);
  position: relative;
}

.inspirational-quote::before {
  content: '"';
  font-size: 80px;
  color: rgba(76, 175, 80, 0.3);
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: Georgia, serif;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.benefit-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: #4CAF50;
  box-shadow: 0 15px 35px rgba(76, 175, 80, 0.2);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: #fff;
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
}

.benefit-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2c4e;
  margin-bottom: 10px;
}

.benefit-desc {
  color: #666;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Resource Hub Section */
.resource-hub {
  padding: 80px 0;
  background: #fff;
}

.resource-category {
  margin-bottom: 70px;
}

.category-header {
  text-align: center;
  margin-bottom: 40px;
}

.category-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a2c4e;
  margin-bottom: 10px;
}

.category-desc {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.resource-card {
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #4CAF50, #45a049);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.resource-card:hover {
  border-color: #4CAF50;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.2);
  color: #333;
}

.resource-card:hover::before {
  transform: scaleX(1);
}

.resource-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: #1a2c4e;
  transition: all 0.3s ease;
}

.resource-card:hover .resource-icon {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: #fff;
  transform: scale(1.1) rotate(10deg);
}

.resource-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a2c4e;
  margin-top: 15px;
}

/* Special Highlight Card */
.resource-card.highlight {
  background: linear-gradient(135deg, #1a2c4e, #2a4470);
  border-color: #1a2c4e;
  color: #fff;
}

.resource-card.highlight .resource-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.resource-card.highlight .resource-name {
  color: #fff;
}

.resource-card.highlight:hover {
  background: linear-gradient(135deg, #2a4470, #1a2c4e);
  border-color: #4CAF50;
}

.resource-card.highlight:hover .resource-icon {
  background: #4CAF50;
}

/* Language Lab Responsive Design */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 2rem;
  }

  .hero-subheadline {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .inspirational-quote {
    padding: 30px 25px;
    font-size: 1rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .resource-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
}

/* ============================================
   PODCAST RESOURCES PAGE STYLES
   ============================================ */

/* Podcast Resource Container */
.podcast-resource {
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 2px solid #e9ecef;
}

.podcast-resource:last-child {
  border-bottom: none;
}

/* Podcast Header */
.podcast-header {
  margin-bottom: 35px;
}

.level-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.level-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.level-badge.level-a2 {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: #fff;
}

.level-badge.level-b1 {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
}

.level-badge.level-b1-plus {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: #fff;
}

.level-badge.level-all {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: #fff;
}

.podcast-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a2c4e;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: #fff;
  font-size: 0.9rem;
  border-radius: 25px;
  font-weight: 600;
}

.premium-badge i {
  font-size: 1rem;
}

.podcast-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
}

/* Podcast Series Grid */
.podcast-series {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.series-card {
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.series-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, #4CAF50, #45a049);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.series-card:hover {
  border-color: #4CAF50;
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(76, 175, 80, 0.2);
}

.series-card:hover::before {
  transform: scaleX(1);
}

.series-card.disabled {
  opacity: 0.6;
  background: #f8f9fa;
  cursor: not-allowed;
}

.series-card.disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: #e9ecef;
}

.series-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: #1a2c4e;
  position: relative;
  transition: all 0.3s ease;
}

.series-card:hover .series-icon {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: #fff;
  transform: scale(1.1) rotate(10deg);
}

.series-number {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: #1a2c4e;
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.series-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2c4e;
  margin-bottom: 10px;
}

.series-info {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.series-link {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.series-link:hover {
  background: linear-gradient(135deg, #45a049, #3d8b40);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
  color: #fff;
}

.series-link i {
  margin-left: 6px;
  font-size: 0.85rem;
}

/* Single Podcast Card */
.podcast-single {
  display: flex;
  align-items: center;
  gap: 25px;
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.podcast-single::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom, #4CAF50, #45a049);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.podcast-single:hover {
  border-color: #4CAF50;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.15);
}

.podcast-single:hover::before {
  transform: scaleY(1);
}

.podcast-single.disabled {
  opacity: 0.6;
  background: #f8f9fa;
  cursor: not-allowed;
}

.podcast-single.disabled:hover {
  box-shadow: none;
  border-color: #e9ecef;
}

.single-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #1a2c4e;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.podcast-single:hover .single-icon {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: #fff;
  transform: scale(1.1) rotate(10deg);
}

.single-content {
  flex: 1;
}

.single-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a2c4e;
  margin-bottom: 8px;
}

.single-info {
  color: #666;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 10px;
}

.status-badge.unavailable {
  background: #e74c3c;
  color: #fff;
}

.status-badge.issue {
  background: #f39c12;
  color: #fff;
}

/* Premium Card */
.podcast-resource.premium {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.05), rgba(230, 126, 34, 0.05));
  padding: 40px;
  border-radius: 20px;
  border: 2px solid #f39c12;
}

.premium-card {
  border-color: #f39c12;
}

.premium-card::before {
  background: linear-gradient(to bottom, #f39c12, #e67e22);
}

.premium-card .single-icon {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: #fff;
}

.premium-link {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.premium-link:hover {
  background: linear-gradient(135deg, #e67e22, #d35400);
}

/* Responsive Design for Podcasts */
@media (max-width: 768px) {
  .podcast-title {
    font-size: 1.6rem;
  }

  .podcast-series {
    grid-template-columns: 1fr;
  }

  .podcast-single {
    flex-direction: column;
    text-align: center;
  }

  .single-icon {
    margin-bottom: 15px;
  }

  .level-badges {
    justify-content: center;
  }

  .podcast-resource.premium {
    padding: 25px 20px;
  }
}

/* ============================================
   NEWS ARTICLES PAGE STYLES
   ============================================ */

/* News Sources Grid */
.news-sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* News Card */
.news-card {
  display: flex;
  align-items: center;
  gap: 25px;
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 30px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom, #4CAF50, #45a049);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.news-card:hover {
  border-color: #4CAF50;
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.2);
}

.news-card:hover::before {
  transform: scaleY(1);
}

.news-card.local::before {
  background: linear-gradient(to bottom, #3498db, #2980b9);
}

.news-card.local:hover {
  border-color: #3498db;
  box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
}

/* News Logo */
.news-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #1a2c4e;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.news-card:hover .news-logo {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: #fff;
  transform: scale(1.1) rotate(10deg);
}

.news-card.local:hover .news-logo {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

/* News Content */
.news-content {
  flex: 1;
}

.news-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a2c4e;
  margin-bottom: 10px;
}

.news-description {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.news-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.news-type,
.news-level {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}

.news-type i,
.news-level i {
  color: #4CAF50;
  font-size: 0.9rem;
}

.news-card.local .news-type i {
  color: #3498db;
}

/* News Arrow */
.news-arrow {
  font-size: 24px;
  color: #ccc;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.news-card:hover .news-arrow {
  color: #4CAF50;
  transform: translateX(5px);
}

.news-card.local:hover .news-arrow {
  color: #3498db;
}

/* Responsive Design for News Articles */
@media (max-width: 768px) {
  .news-sources-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-card {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }

  .news-logo {
    margin-bottom: 15px;
  }

  .news-meta {
    justify-content: center;
  }

  .news-arrow {
    display: none;
  }
}

/* ============================================
   AI Tools Page Styles
   ============================================ */

/* Hero Section */
.ai-hero {
  background: linear-gradient(135deg, #1a2c4e 0%, #2d5f8d 100%);
  padding: 80px 0;
  margin-bottom: 40px;
}

.ai-hero-icon {
  font-size: 80px;
  color: #4CAF50;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.ai-hero-title {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.ai-hero-subtitle {
  color: #b8d4f1;
  font-size: 1.3rem;
  font-weight: 400;
}

/* Section Headers */
.ai-section-header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 3px solid #4CAF50;
}

.ai-section-header h2 {
  color: #1a2c4e;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.ai-section-header h2 i {
  color: #4CAF50;
  margin-right: 15px;
}

/* AI Tool Cards */
.ai-tool-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.ai-tool-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #4CAF50;
}

.ai-tool-icon {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.ai-tool-icon i {
  font-size: 40px;
  color: #ffffff;
}

.ai-tool-card h4 {
  color: #1a2c4e;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
}

.ai-tool-card p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.ai-tool-card ul {
  color: #555;
  margin-bottom: 20px;
  padding-left: 20px;
}

.ai-tool-card ul li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.ai-tool-link {
  display: inline-block;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.ai-tool-link:hover {
  background: linear-gradient(135deg, #2980b9 0%, #1f6391 100%);
  color: #ffffff;
  text-decoration: none;
  transform: scale(1.05);
}

.ai-tool-link i {
  margin-right: 8px;
}

/* Prompts Section */
.ai-prompts-section {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.ai-prompts-section h3 {
  color: #1a2c4e;
  font-size: 1.8rem;
  font-weight: 700;
}

.ai-prompts-section h3 i {
  color: #4CAF50;
  margin-right: 10px;
}

/* Prompt Category */
.ai-prompt-category {
  margin-bottom: 40px;
}

/* Level Badges */
.ai-level-badge {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.level-a1 {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.level-a2 {
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.level-b1 {
  background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.level-b2 {
  background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

.level-c1 {
  background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%);
}

/* Writing Badges */
.ai-writing-badge {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

/* Prompt Tables */
.ai-prompt-table {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.ai-prompt-table thead {
  background: #1a2c4e;
}

.ai-prompt-table thead th {
  color: #ffffff;
  font-weight: 600;
  padding: 15px;
  border: none;
  font-size: 1.1rem;
}

.ai-prompt-table tbody td {
  padding: 20px 15px;
  vertical-align: top;
  border-bottom: 1px solid #e9ecef;
  line-height: 1.6;
}

.ai-prompt-table tbody td:first-child {
  width: 30%;
  font-weight: 600;
  color: #1a2c4e;
}

.ai-prompt-table tbody tr:hover {
  background: #f8f9fa;
}

/* Prompt Boxes */
.ai-prompt-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid #4CAF50;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.prompt-text {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  color: #2c3e50;
  line-height: 1.8;
  font-size: 0.95rem;
}

.prompt-text ul {
  margin-top: 10px;
  margin-bottom: 0;
  padding-left: 25px;
}

.prompt-text ul li {
  margin-bottom: 8px;
}

/* Feedback Cards */
.feedback-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid #4CAF50;
}

.feedback-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.feedback-card h5 {
  color: #1a2c4e;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.feedback-card h5 i {
  color: #4CAF50;
  margin-right: 10px;
}

.prompt-text-sm {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 0;
  font-style: italic;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

/* Tips Section */
.ai-tips-section {
  margin-top: 40px;
}

.ai-tips-section h3 {
  color: #1a2c4e;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

.ai-tips-section h3 i {
  color: #FFD700;
  margin-right: 10px;
}

.tip-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 15px;
  height: 100%;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #4CAF50 0%, #3498db 100%);
}

.tip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tip-number {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.tip-card h5 {
  color: #1a2c4e;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.tip-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .ai-hero-title {
    font-size: 2rem;
  }

  .ai-hero-subtitle {
    font-size: 1rem;
  }

  .ai-section-header h2 {
    font-size: 1.6rem;
  }

  .ai-prompts-section {
    padding: 20px;
  }

  .ai-prompt-table tbody td:first-child {
    width: 100%;
    display: block;
    border-bottom: none;
    padding-bottom: 5px;
  }

  .ai-prompt-table tbody td:last-child {
    width: 100%;
    display: block;
    padding-top: 5px;
  }
}

/* ============================================
   SPECIAL GENRE MENU ITEM STYLING
   ============================================ */

/* Genre Special Dropdown Item */
.navbar-menu .dropdown-item.genre-special {
  font-weight: 700 !important;
  background: linear-gradient(135deg, #FF6B6B, #FFD93D) !important;
  color: #fff !important;
  border-radius: 8px;
  margin: 5px 10px;
  padding: 14px 20px !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  transition: all 0.3s ease;
  animation: genreGlow 2s ease-in-out infinite;
}

.navbar-menu .dropdown-item.genre-special::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.navbar-menu .dropdown-item.genre-special:hover::before {
  left: 100%;
}

.navbar-menu .dropdown-item.genre-special:hover,
.navbar-menu .dropdown-item.genre-special:focus {
  background: linear-gradient(135deg, #FFD93D, #FF6B6B) !important;
  color: #fff !important;
  transform: scale(1.05) translateX(5px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
  padding-left: 25px !important;
}

.navbar-menu .dropdown-item.genre-special i {
  margin-right: 8px;
  animation: starSpin 3s linear infinite;
}

@keyframes genreGlow {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(255, 107, 107, 0.6), 0 0 15px rgba(255, 215, 61, 0.4);
  }
}

@keyframes starSpin {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(72deg);
  }
  20% {
    transform: rotate(144deg);
  }
  30% {
    transform: rotate(216deg);
  }
  40% {
    transform: rotate(288deg);
  }
  50% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .navbar-menu .dropdown-item.genre-special {
    margin: 5px 15px;
    padding: 14px 30px !important;
  }
  
  .navbar-menu .dropdown-item.genre-special:hover {
    padding-left: 35px !important;
  }
}

