/* CLEAN VALID CSS - All syntax fixed, no errors */

 /* General Reset */
body, html {
  margin: 0;
  padding: 0;
  padding-top: 80px !important;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #0a4a60;
  scroll-behavior: smooth;
}

/* login-page padding kept for auth flow */

.navbar {
  position: fixed;
}

/* Unified navbar - fixed position with global body padding */

/* Page-specific margins preserved, global padding handles navbar */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background-color: #0a4a60;
  padding: 1px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  flex: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border: 3px solid #cea66a;
  border-radius: 12px;
}

.nav-logo {
  color: #cea66a !important;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none !important;
  padding: 0;
  margin-right: 15px;
  white-space: nowrap;
}

.nav-logo:hover,
.nav-logo.active {
  background: none !important;
  color: #cea66a !important;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu li {
  margin: 0;
  padding: 0;
}

.has-submenu {
  position: relative;
}

.nav-menu a {
  display: inline-block;
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.nav-menu a.active,
.nav-menu a:hover {
  background-color: #cea66a;
  color: #0a4a60;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #0a4a60;
  min-width: 180px;
  max-width: 90vw;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 1001;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease;
  display: none !important;
}

.has-submenu:hover .sub-menu,
.has-submenu:focus-within .sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0);
  display: block !important;
}

.sub-menu li {
  text-align: center;
  margin: 0;
}

.sub-menu a {
  display: block;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
  text-align: center;
}

.sub-menu a:hover {
  background: rgba(255,255,255,0.15);
  color: #cea66a;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
}

.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-links a {
  font-size: 14px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s;
}

.auth-links a:hover {
  color: #0a4a60;
  background: #cea66a;
}

/* Admin Panel Styles */
.admin-page {
  font-family: Arial, sans-serif;
  background: #f0f8ff;
  padding: 20px;
}
.admin-page h1 {
  color: #4169e1;
}
.admin-page .msg {
  color: green;
  font-weight: 600;
}
.admin-page .nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.admin-page .nav-links a {
  color: #4169e1;
  font-weight: bold;
  text-decoration: none;
}
.admin-page table.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.admin-page th,
.admin-page td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}
.admin-page th {
  background: #4169e1;
  color: #fff;
}
.admin-page tr:hover {
  background: #f1f1f1;
}
.admin-page .delete-btn {
  color: red;
  text-decoration: none;
  font-weight: 700;
}
.admin-page .admin-form {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  max-width: 800px;
}
.admin-page label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}
.admin-page input[type="text"],
.admin-page textarea,
.admin-page select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}
.admin-page textarea {
  resize: vertical;
  height: 100px;
}
.admin-page button {
  margin-top: 15px;
  background: #4169e1;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
}
.admin-page button:hover {
  background: #1e3a8a;
}
.admin-page .edit-link {
  color: #4169e1;
  font-weight: 700;
  margin-right: 10px;
}
.admin-page .cancel-link {
  margin-left: 15px;
  color: #666;
}

/* Hero Text */
.hero-text-container {
  max-width: 700px;
  margin: 90px auto 30px auto;
  text-align: center;
  padding: 0 20px;
}

.hero-text-container h1 {
  margin-bottom: 10px;
  font-size: 2.5rem;
}

.hero-text-container p {
  margin-top: 0;
  font-size: 1.1rem;
  color: #555;
}

/* Picture Links Container - Homepage */
.picture-links-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-bottom: 40px;
}

.picture-link {
  flex-shrink: 0;
  width: 150px;
  text-align: center;
  text-decoration: none;
  color: #0a4a60;
  font-weight: 600;
}

.picture-link img {
  width: 150px;
  height: 150px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.picture-link div {
  margin-top: 10px;
  font-size: 14px;
}

/* Bottom Icons Bar */
.page-icons {
  margin: 40px 0 20px;
  background: transparent;
}

.page-icons-inner {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-icons-inner .picture-link img {
  width: 120px;
  height: 120px;
}

/* About Section */
.about-section {
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.about-section h2 {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 15px;
}

.about-section p {
  font-size: 16px;
  line-height: 1.5;
}

.social-icons a {
  color: #4267B2;
  font-size: 1.5rem;
  margin-right: 15px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #cea66a;
}

/* Quick Links */
.quick-links {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.quick-links h2 {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 15px;
}

.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links ul li {
  margin-bottom: 10px;
}

.quick-links ul li a {
  color: #4169e1;
  text-decoration: none;
  font-weight: 600;
}

.quick-links ul li a:hover {
  text-decoration: underline;
}

/* Newsletter */
#footer-subscription {
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

#footer-subscription h2 {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 15px;
}

#footer-subscription form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

#footer-subscription input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 12px 15px;
  border: 2px solid #cea66a;
  border-radius: 20px;
  font-size: 16px;
  outline: none;
}

#footer-subscription input[type="email"]:focus {
  border-color: #a27e3c;
}

#footer-subscription button {
  padding: 12px 25px;
  background-color: #cea66a;
  color: #0a4a60;
  border: none;
  border-radius: 20px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

#footer-subscription button:hover {
  background-color: #a27e3c;
}

/* Footer */
.footer {
  background-color: #0a4a60;
  color: white;
  padding: 40px 20px 20px;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section h3 {
  margin-top: 0;
  font-weight: bold;
  margin-bottom: 12px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.footer-section ul li a:hover {
  color: #cea66a;
}

.footer .social-icons a {
  color: white;
  font-size: 20px;
  margin-right: 10px;
}

.footer .social-icons a:hover {
  color: #cea66a;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.3);
}

/* ===== MOBILE SLIDE-IN SIDEBAR ===== */

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9998;
  backdrop-filter: blur(2px);
}

.mobile-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Close Button */
.mobile-close-btn-wrap {
  display: none;
}

.mobile-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 20px;
}

.mobile-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Responsive */
@media (min-width: 769px) {
  /* Hide hamburger on desktop - it's for mobile only */
  body .hamburger {
    display: none;
  }
  
  /* Normal desktop menu display - remove slide-in sidebar on desktop */
  body .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    width: auto;
    height: auto;
    padding: 0;
    gap: 20px;
  }
  
  body .nav-menu li {
    padding: 0;
  }
  
  body .nav-menu a {
    display: inline-block;
    font-size: 16px;
    padding: 8px 12px;
    border: none;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    right: -100%;
    left: auto;
    top: 0;
    height: 100%;
    flex-direction: column;
    background-color: #0a4a60;
    width: 280px;
    max-width: 85vw;
    text-align: left;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0;
    padding: 20px 0;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    right: 0;
  }

  /* Show close button on mobile */
  .mobile-close-btn-wrap {
    display: flex;
    justify-content: flex-end;
    padding: 0 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
  }

  .nav-menu li {
    margin: 0;
    padding: 0;
  }

  .nav-menu li:not(.mobile-close-btn-wrap) {
    padding: 0 20px;
  }

  .nav-menu a {
    display: block;
    font-size: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sub-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    max-width: none;
    opacity: 0;
    visibility: hidden;
    display: none !important;
    background: rgba(0, 0, 0, 0.2);
    padding: 0;
    margin: 0;
  }

  .sub-menu li {
    padding: 0;
  }

  .sub-menu a {
    padding: 12px 20px 12px 30px;
    font-size: 16px;
  }

  .has-submenu:hover .sub-menu,
  .has-submenu:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    display: block !important;
  }

  /* Mobile user menu styling */
  .navbar .user-menu {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
  }

  .navbar .auth-links {
    flex-direction: column;
    gap: 8px;
  }

  .navbar .auth-links a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .google_translate_element {
    order: 3;
    margin-top: 10px;
    padding: 0 20px;
  }

  .auth-links {
    order: 4;
    margin-top: 10px;
  }

  .picture-link img,
  .page-icons-inner .picture-link img {
    width: 80px;
    height: 80px;
  }

  .picture-link,
  .page-icons-inner .picture-link {
    width: 80px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Learn More Button */
.learn-more-btn {
  display: inline-block;
  background: #4169e1;
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  margin-top: 15px;
}

.learn-more-btn:hover {
  background: #1e3a8a;
}

/* Learn Page */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.learn-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s;
}
.learn-card:hover {
  transform: translateY(-5px);
}
.learn-card h3 {
  color: #4169e1;
  margin-bottom: 10px;
}
.learn-card p {
  color: #666;
  margin-bottom: 10px;
}
.filter-section {
  margin-bottom: 30px;
}

/* Post Job Page */
.post-job-wrapper {
  padding-top: 80px;
}
.post-job-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 30px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.post-job-container h2 {
  font-weight: 800;
  font-size: 30px;
  margin: 0 0 20px 0;
}
.post-job-container > p {
  font-size: 16px;
  margin: 0 0 30px 0;
}
.post-job-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  align-items: start;
}
.post-job-form label {
  grid-column: span 2;
  font-weight: 700;
  margin-bottom: 8px;
  color: #cea66a;
  font-family: Arial, sans-serif;
  font-size: 14px;
}
.post-job-form input[type="text"],
.post-job-form input[type="email"],
.post-job-form select,
.post-job-form textarea {
  width: 100%;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1.5px solid #cea66a;
  font-size: 16px;
  color: #0a4a60;
  font-weight: 600;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}
.post-job-form input:focus,
.post-job-form select:focus,
.post-job-form textarea:focus {
  outline: none;
  border-color: #a27e3c;
}
.post-job-form textarea {
  grid-column: 2 / 3;
  min-height: 140px;
  resize: vertical;
}
.post-job-form #city_other {
  grid-column: 1 / 2;
  margin-top: 6px;
  display: none;
  border: 1.5px solid #cea66a;
  font-weight: 600;
}
.city-other-label {
  display: none;
}
.post-job-form button[type="submit"] {
  grid-column: 2 / 3;
  padding: 16px 0;
  background-color: #cea66a;
  border: none;
  color: #0a4a60;
  font-weight: 900;
  font-size: 18px;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 280px;
  justify-self: start;
}
.post-job-form button[type="submit"]:hover,
.post-job-form button[type="submit"]:focus {
  background-color: #a27e3c;
  outline: none;
}
.post-job-msg {
  grid-column: 1 / 3;
  background: #e1f1ff;
  border: 2px solid #75a9ff;
  border-radius: 12px;
  color: #0a4a60;
  font-weight: 700;
  padding: 12px 15px;
  margin-top: 20px;
  line-height: 1.4;
}
.post-job-contact {
  grid-column: 1 / 3;
  font-weight: 700;
  margin-top: 20px;
  font-size: 14px;
  color: #333;
}
@media (max-width: 767px) {
  .post-job-form {
    display: block;
    padding: 0 10px;
  }
.post-job-form textarea {
    grid-column: auto;
  }
  .post-job-form button[type="submit"] {
    grid-column: auto;
    max-width: 100%;
    margin: 12px 0 0 24px;
  }
}

/* Auth Forms - Login/Register Theme Consistency */
.auth-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.auth-card h2 {
  text-align: center;
  color: #0a4a60;
  margin-bottom: 20px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form-input {
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}
.form-input:focus {
  border-color: #4169e1;
  box-shadow: 0 0 0 3px rgba(65,105,225,0.1);
  outline: none;
}
.enhanced-btn {
  background: linear-gradient(45deg, #4169e1, #1e3a8a);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s;
}
.enhanced-btn:hover {
  opacity: 0.9;
}
.toggle-btn {
  background: #cea66a;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  margin: 5px 0;
  width: 100%;
}
.toggle-btn:hover {
  background: #a27e3c;
}
.msg {
  color: #dc3545;
  background: #f8d7da;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  margin: 15px 0;
  border: 1px solid #f5c6cb;
}
.social-auth {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}
.support-link {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-top: 20px;
}
.auth-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 15px 0;
}
.auth-link {
  color: #4169e1;
  text-decoration: none;
  font-weight: 500;
}
.auth-link:hover {
  text-decoration: underline;
}

/* Responsive for auth pages */
@media (max-width: 480px) {
  .auth-card {
    margin: 0 20px;
    padding: 20px;
  }
}

/* Profile Page Styles */
body.profile-page { padding-top: 80px; }

.profile-container { max-width: 1000px; margin: 0 auto; padding: 20px; }
.profile-card { background: white; border-radius: 12px; padding: 30px; margin-bottom: 30px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.profile-card h1 { margin: 0 0 10px; font-size: 2.2rem; color: #0a4a60; }
.profile-card p { margin: 0 0 24px; color: #4b5563; }
.profile-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.tab-btn { padding: 10px 18px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-weight: 700; background: #f1f5f9; color: #0a4a60; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.tab-btn:hover { background: #e2e8f0; border-color: #cbd5e1; transform: translateY(-1px); }
.tab-active { background: #4169e1; color: white; border-color: #4169e1; box-shadow: 0 6px 18px rgba(65,105,225,0.18); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.cv-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 15px; background: #f8f9fa; border-radius: 8px; margin-bottom: 10px; }
.cv-item div:first-child { min-width: 220px; }
.settings-form .form-field { margin-bottom: 15px; }
.favorites-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.knowledge-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); padding: 25px; }
.knowledge-card h4 { margin-top: 0; }
.favorites-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.star { color: #ffc107; cursor: pointer; }

/* Career Page Styles */
body.career-page { padding-top: 80px; }

.filters-wrap { max-width: 1200px; margin: 0 auto 20px auto; padding: 0 20px; }
.filters-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); padding: 16px; display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 12px; align-items: end; }
.filters-card label { display: block; font-weight: 700; margin-bottom: 6px; color: #0a4a60; }
.filters-card input, .filters-card select { width: 100%; padding: 10px; border: 1px solid #d0d0d0; border-radius: 10px; box-sizing: border-box; }
.filters-card button { padding: 11px 16px; border: none; border-radius: 10px; font-weight: 800; cursor: pointer; background: #4169e1; color: #fff; }
.filters-card button:hover { background: #1e3a8a; }
.filters-actions { display: flex; gap: 10px; align-items: center; }
.clear-link { font-weight: 700; color: #4169e1; text-decoration: none; padding-bottom: 4px; }
.clear-link:hover { text-decoration: underline; }
body.career-page .container { max-width: 1200px; }
body.career-page .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
body.career-page .job-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); padding: 18px; transition: transform 0.2s; }
body.career-page .job-card:hover { transform: translateY(-3px); }
body.career-page .job-card h3 { color: #4169e1; margin: 0 0 10px; }
.meta { color: #333; font-weight: 700; margin-bottom: 10px; }
.job-description-preview { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; margin-bottom: 12px; color: #444; }
.show-more-btn { background: #4169e1; color: #fff; border: none; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-weight: 800; }
.show-more-btn:hover { background: #1e3a8a; }
.career-buttons { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.job-date { font-size: 12px; color: #888; margin-top: 8px; }
body.career-page .modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); }
body.career-page .modal-content { background: #fff; margin: 8% auto; padding: 18px; border-radius: 12px; width: 92%; max-width: 650px; text-align: left; position: relative; }
body.career-page .modal-content h2 { margin: 0 0 10px; color: #0a4a60; }
body.career-page .modal-close { position: absolute; top: 10px; right: 12px; border: none; background: none; font-size: 28px; cursor: pointer; line-height: 1; }
.apply-btn { background: #28a745; color: #fff; border: none; padding: 10px 14px; border-radius: 10px; cursor: pointer; font-weight: 900; margin-top: 10px; }
.apply-btn:hover { background: #1f7f35; }
.contact-box { display: none; margin-top: 12px; padding: 12px; border-radius: 12px; background: #f0f8ff; border: 1px solid #cfe5ff; }
.contact-box a { color: #4169e1; font-weight: 800; text-decoration: none; }
.contact-box a:hover { text-decoration: underline; }
body.career-page .filters-actions { justify-content: flex-start; }

 /* Unified Main Content */
.main-content {
  min-height: calc(100vh - 280px);
  padding: 20px 0;
  margin-bottom: 40px;
}
.main-content .container {
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .main-content {
    padding: 10px 0;
    margin-bottom: 20px;
  }
}

/* CV Page Styles */
body.cv-page { padding-top: 80px; }

.cv-container { max-width: 1000px; margin: 0 auto; padding: 20px; }
.cv-card { background: white; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); padding: 30px; margin-bottom: 20px; }
.cv-card h2 { color: #0a4a60; margin-bottom: 20px; text-align: center; }
.cv-card h3 { color: #4169e1; border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 15px; }
.form-row { display: flex; gap: 20px; }
.form-group { margin-bottom: 20px; flex: 1; }
.form-group.half { flex: 1; }
.form-group label { display: block; font-weight: 700; color: #0a4a60; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 16px; box-sizing: border-box; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #4169e1; box-shadow: 0 0 0 3px rgba(65,105,225,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.add-btn { background: #28a745; color: white; border: none; border-radius: 50%; width: 30px; height: 30px; cursor: pointer; margin-left: 10px; font-weight: bold; }
.remove-btn { background: #dc3545; color: white; border: none; border-radius: 50%; width: 25px; height: 25px; cursor: pointer; margin-left: 8px; font-size: 16px; font-weight: bold; }
.experience-item { background: #f8f9fa; padding: 15px; border-radius: 8px; margin-bottom: 15px; border-left: 4px solid #4169e1; }
.save-btn { background: linear-gradient(45deg, #28a745, #20c997); color: white; padding: 15px 30px; border: none; border-radius: 25px; font-weight: 700; cursor: pointer; font-size: 18px; width: 100%; transition: all 0.3s; }
.save-btn:hover { transform: translateY(-2px); opacity: 0.9; }
@media (max-width: 768px) { .form-row { flex-direction: column; } }

/* Knowledge Page Styles */
body.knowledge-page { padding-top: 80px; }

.knowledge-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.filters-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); padding: 16px; margin-bottom: 30px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; }
.knowledge-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); padding: 25px; }
.knowledge-card.learn { border-left: 5px solid #4169e1; }
.knowledge-card.resource { border-left: 5px solid #28a745; }
.knowledge-card .favorite-star { position: absolute; right: 15px; top: 15px; margin-top: 0; }
.knowledge-card h3 { margin: 0 0 12px; color: #0a4a60; }
.star-filled { color: #ffc107 !important; }
.fa-star { transition: color 0.3s; cursor: pointer; }
.knowledge-card .category { background: #e1f1ff; color: #4169e1; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; margin-bottom: 10px; display: inline-block; }
.resource-list { list-style: none; padding: 0; }
.resource-list li { margin-bottom: 8px; }
.resource-list a { color: #28a745; font-weight: 600; text-decoration: none; }
.resource-list a:hover { text-decoration: underline; }

/* News Page Styles */
body.news-page { padding-top: 80px; }

.news-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.08); padding: 20px; margin-bottom: 20px; transition: transform 0.2s; }

.back-link {
    display: inline-block;
    color: white;
    background: #4169e1;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 8px 16px;
    border-radius: 8px;
}

.back-link:hover {
    text-decoration: underline;
}
.news-card:hover { transform: translateY(-3px); }
.news-card h3 { color: #4169e1; margin: 0 0 10px; }
.news-card .news-date { font-size: 12px; color: #888; margin-bottom: 10px; }
.news-card p { color: #444; line-height: 1.6; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

/* ===== ADMIN PANEL STYLES ===== */

/* Login Form */
.login-form {
  max-width: 400px;
  margin: 100px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  text-align: center;
}

.login-form input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}

.login-form input[type="password"]:focus {
  border-color: #4169e1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(65,105,225,0.1);
}

.btn-primary {
  background: #4169e1;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #1e3a8a;
}

/* Error Messages */
.error-message {
  color: #dc3545;
  background: #f8d7da;
  padding: 10px 15px;
  border-radius: 6px;
  margin-top: 15px;
  border: 1px solid #f5c6cb;
  font-weight: 600;
}

/* Admin Content Container */
.admin-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Admin Headings */
.admin-page h1 {
  color: #4169e1;
  margin: 0 0 20px;
}

.admin-page h2 {
  color: #0a4a60;
  margin: 30px 0 15px;
  font-size: 22px;
}

/* Admin Table Enhancements */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.admin-table th,
.admin-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #4169e1;
  color: #fff;
  font-weight: 700;
}

.admin-table tr:hover {
  background: #f5f5f5;
}

.admin-table .small {
  font-size: 12px;
  color: #666;
}

/* Action Buttons */
.admin-page .btn {
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: opacity 0.3s;
}

.admin-page .btn:hover {
  opacity: 0.85;
}

.admin-page .btn.approve {
  background: #28a745;
  color: #fff;
}

.admin-page .btn.delete {
  background: #dc3545;
  color: #fff;
}

.admin-page .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Export Button */
.export-btn {
  display: inline-block;
  background: #28a745;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s;
}

.export-btn:hover {
  background: #1f7f35;
  color: #fff;
}

/* Edit Link */
.edit-link {
  color: #4169e1;
  font-weight: 700;
  margin-right: 12px;
  text-decoration: none;
}

.edit-link:hover {
  text-decoration: underline;
}

/* Cancel Link */
.cancel-link {
  margin-left: 15px;
  color: #666;
  text-decoration: none;
}

.cancel-link:hover {
  color: #333;
}

/* Responsive Admin */
@media (max-width: 768px) {
  .admin-content {
    padding: 15px 10px;
  }
  
  .admin-table {
    font-size: 14px;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 8px 10px;
  }
}