:root {
  --brand: #1e90ff;
  --brand-light: #4fb3ff;
  --bg: #f4f8ff;
  --text: #102542;
  font-family: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  background: white;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5vw;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e6ecf8;
  margin-top: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.brand {
  display: flex;
  align-items: center;
}

.brand a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}

.brand a span {
  white-space: nowrap;
}

.brand img {
  width: 48px;
  height: 34px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a.active {
  color: var(--brand);
}

/* Contact Us Dropdown */
.contact-dropdown {
  position: relative;
}

.contact-btn {
  background: none;
  border: none;
  color: var(--text);
  font-weight: 600;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.contact-btn:hover {
  color: var(--brand);
}

.contact-btn::after {
  content: '▼';
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.contact-dropdown.active .contact-btn::after {
  transform: rotate(180deg);
}

.contact-dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  right: 0;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 380px;
  max-width: 420px;
  max-height: 600px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  border: 2px solid #e6ecf8;
  padding: 1.5rem;
}

.contact-dropdown.active .contact-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.contact-menu-section {
  margin-bottom: 1.5rem;
}

.contact-menu-section:last-child {
  margin-bottom: 0;
}

.contact-menu-section h3 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  color: var(--brand);
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e6ecf8;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-item-small {
  padding: 1rem;
  background: #f8faff;
  border-radius: 12px;
  border-left: 3px solid var(--brand);
  transition: all 0.3s ease;
}

.news-item-small:hover {
  background: #f0f4ff;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.1);
}

.news-item-small h4 {
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

.news-item-small p {
  margin: 0 0 0.5rem 0;
  font-size: 0.85rem;
  color: #6b7a99;
  line-height: 1.5;
}

.news-item-small .news-date {
  font-size: 0.75rem;
  color: var(--brand);
  font-weight: 500;
}

.social-links-menu {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social-link-menu {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  background: #f8faff;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-link-menu:hover {
  background: var(--brand);
  color: white;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
  border-color: var(--brand-light);
}

.social-link-menu svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.social-link-menu span {
  font-weight: 600;
  font-size: 0.95rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  white-space: nowrap;
}

.action.small {
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
}

#login-btn,
#logout-btn {
  cursor: pointer;
  font-family: inherit;
}

#side-login-btn,
#side-logout-btn {
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.menu-btn {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 0.5rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.menu-btn:hover {
  transform: scale(1.1);
}

/* Side Navigation */
.side-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.side-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 1501;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.side-nav.active {
  right: 0;
}

.side-nav-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.5rem 1.5rem 1rem;
  border-bottom: 2px solid #e6ecf8;
  background: var(--bg);
}

.side-nav-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #6b7a99;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  line-height: 1;
  flex-shrink: 0;
}

.side-nav-close:hover {
  background: #f0f4ff;
  color: var(--brand);
  transform: rotate(90deg);
}

.side-nav-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.side-nav-link {
  display: block;
  padding: 1rem 1.2rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.side-nav-link:hover {
  background: var(--bg);
  color: var(--brand);
  transform: translateX(5px);
  border-color: rgba(30, 144, 255, 0.2);
}

.side-nav-link.action-link {
  background: var(--brand);
  color: white;
  text-align: center;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

.side-nav-link.action-link:hover {
  background: var(--brand-light);
  transform: translateX(5px) scale(1.02);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
}

main {
  padding: 1rem 5vw 4rem;
  background: white;
  flex: 1 0 auto;
}

.hero {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding: 2.5rem;
  background: linear-gradient(120deg, #e6f1ff, #ffffff);
  border-radius: 32px;
}

.hero-text {
  flex: 1 1 320px;
}

.hero-media {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-slider {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(30, 144, 255, 0.25);
}

.hero-slider img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: none;
}

.hero-slider img.active {
  display: block;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.35);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
}

.hero-nav.prev {
  left: 1rem;
}

.hero-nav.next {
  right: 1rem;
}

.hero-social {
  background: white;
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(15, 74, 138, 0.12);
}

.hero-social-title {
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
  text-align: center;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-radius: 16px;
  background: #f8fbff;
  color: var(--brand);
  padding: 0.9rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.3);
}

.social-link svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.social-link span {
  flex: 1;
}

.slogan {
  font-weight: 600;
  color: var(--brand);
}

h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin: 0.5rem 0;
}

.subtitle {
  font-size: 1.2rem;
  color: #4a5b79;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.action:hover,
.action:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(30, 144, 255, 0.25);
}

.action:active {
  transform: translateY(0);
  box-shadow: 0 6px 15px rgba(30, 144, 255, 0.2);
}

.primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.4);
}

.secondary {
  background: #f2f6ff;
  color: var(--brand);
}

.ghost {
  background: white;
  color: var(--brand);
  border: 2px solid var(--brand);
}

.page-hero {
  margin: 2rem 0;
  padding: 2rem;
  background: var(--bg);
  border-radius: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.filters {
  background: #f8fbff;
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

#job-filter-form,
#item-filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem 1rem;
  align-items: end;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 600;
  color: #4a5b79;
}

.filter-field label {
  font-size: 0.95rem;
}

.filters form button {
  min-height: 55px;
}

.filter-field input,
.filter-field select {
  border-radius: 20px;
  border: 2px solid #e1e8f5;
  padding: 0.8rem 1rem;
  font-size: 1rem;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-wrapper {
  background: white;
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(15, 74, 138, 0.08);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
  color: #4a5b79;
}

.form-hint {
  font-size: 0.85rem;
  color: #6b7a99;
  font-weight: 400;
}

.error-message {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: #fee;
  border-radius: 8px;
  border-left: 3px solid #e74c3c;
  animation: slideUp 0.3s ease;
}

.form-group input.error,
.form-group select.error {
  border-color: #e74c3c !important;
  background-color: #fff5f5;
}

.form-group input.error:focus,
.form-group select.error:focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
  margin-top: -0.2rem;
}

.form-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.back-link {
  display: inline-block;
  margin: 1.5rem 0;
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.detail-card {
  background: white;
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(15, 74, 138, 0.08);
}

.detail-card img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: #4a5b79;
  font-weight: 600;
  margin: 1rem 0;
}

.mobile-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}

.mobile-link:hover {
  color: var(--brand-light);
  border-bottom-color: var(--brand-light);
}

.dashboard-section {
  margin-bottom: 2rem;
  background: #f8fbff;
  border-radius: 24px;
  padding: 1.5rem;
}

.dashboard-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-card {
  background: white;
  border-radius: 22px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: 0 10px 20px rgba(12, 52, 94, 0.08);
}

.dashboard-card .card-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.saved-badge {
  font-size: 0.85rem;
  color: #ff7a00;
  font-weight: 700;
}

.loading {
  color: #4a5b79;
  font-weight: 600;
}

.link-btn {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

select {
  font-family: inherit;
}

.tabs {
  margin-bottom: 2rem;
  background: var(--bg);
  border-radius: 28px;
  padding: 1.5rem;
}

.tab-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.tab-btn {
  border: none;
  border-radius: 20px;
  padding: 0.9rem;
  font-size: 1.2rem;
  font-weight: 600;
  background: white;
  color: #6b7a99;
  transition: transform 0.2s ease, background 0.2s ease;
}

.tab-btn:hover {
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--brand);
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.show {
  display: block;
}

.pill-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.pill-grid span {
  display: inline-block;
  padding: 0.8rem;
  border-radius: 999px;
  background: white;
  text-align: center;
  font-weight: 600;
}

.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.category-card {
  background: var(--bg);
  border-radius: 28px;
  padding: 1.5rem;
}

.category-card h2 {
  margin-top: 0;
}

.category-card .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.8rem;
}

.category-card article {
  background: white;
  border-radius: 18px;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
}

.cards {
  margin-bottom: 3rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.tag {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card-grid article,
.job-card {
  background: white;
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 74, 138, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pill {
  background: rgba(30, 144, 255, 0.12);
  color: var(--brand);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
}

.bookmark {
  border: none;
  background: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #99a5bd;
  transition: transform 0.2s ease, color 0.2s ease;
}

.bookmark:hover,
.bookmark:focus-visible {
  transform: scale(1.2);
  color: var(--brand);
}

.card-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: #4a5b79;
}

.action.full {
  width: 100%;
  margin-top: auto;
}

.how {
  text-align: center;
  margin-bottom: 3rem;
}

.how-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.how-grid article {
  background: var(--bg);
  border-radius: 28px;
  padding: 1.5rem;
}

.step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
}

.why {
  margin-bottom: 3rem;
}

.why-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.why-grid article {
  background: var(--bg);
  border-radius: 24px;
  padding: 1.2rem;
}

.forms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.form-card {
  background: white;
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(16, 63, 112, 0.08);
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

input,
textarea {
  border-radius: 20px;
  border: 2px solid #e1e8f5;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.contact {
  text-align: center;
  background: var(--bg);
  padding: 2rem;
  border-radius: 32px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.site-footer {
  padding: 2rem 5vw;
  background: #0f1c2e;
  color: white;
  text-align: center;
  margin-top: auto;
  width: 100%;
  flex-shrink: 0;
}

.footer-links {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #9db3d9;
  text-decoration: none;
}

@media (max-width: 768px) {
  .top-bar {
    padding: 1rem 1rem;
    flex-wrap: wrap;
  }

  .brand a {
    font-size: 1.2rem;
  }

  .brand img {
    width: 40px;
    height: 28px;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .action.small {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
  }

  .menu-btn {
    display: block;
  }

  .side-nav {
    width: 280px;
  }

  .side-nav-header {
    padding: 0.4rem 1.2rem 0.8rem;
  }

  .side-nav-content {
    padding: 1.2rem;
  }

  .side-nav-link {
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }

  .hero,
  .tabs,
  .category-card {
    padding: 1.5rem;
  }

  .hero-slider img {
    height: 240px;
  }
}

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Apply animations */
body {
  animation: fadeIn 0.5s ease-in;
}

.hero-text {
  animation: slideInLeft 0.6s ease-out;
}

.hero-media {
  animation: slideInRight 0.6s ease-out;
}

.hero-actions .action {
  animation: slideUp 0.5s ease-out;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.hero-actions .action:nth-child(2) {
  animation-delay: 0.3s;
}

.card-grid article {
  animation: slideUp 0.5s ease-out;
  animation-fill-mode: both;
}

.card-grid article:nth-child(1) {
  animation-delay: 0.1s;
}

.card-grid article:nth-child(2) {
  animation-delay: 0.2s;
}

.card-grid article:nth-child(3) {
  animation-delay: 0.3s;
}

.category-card article {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card article:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.15);
}

.pill-grid span {
  transition: transform 0.2s ease, background 0.2s ease;
}

.pill-grid span:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--brand);
  color: white;
}

.tab-btn {
  transition: all 0.3s ease;
}

.tab-btn:hover {
  transform: translateY(-2px);
}

.action {
  position: relative;
  overflow: hidden;
}

.action::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;
}

.action:hover::before {
  left: 100%;
}

.bookmark {
  transition: transform 0.2s ease, color 0.2s ease;
}

.bookmark:hover {
  transform: scale(1.3) rotate(10deg);
}

.bookmark.active {
  animation: pulse 0.5s ease;
}

.hero-slider {
  animation: fadeIn 0.8s ease-in;
}

.hero-slider img {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.hero-slider img.active {
  animation: fadeIn 0.5s ease-in;
}

.hero-nav {
  transition: all 0.3s ease;
}

.hero-nav:hover {
  transform: scale(1.2);
  background: rgba(30, 144, 255, 0.9);
}


.top-bar {
  animation: slideUp 0.4s ease-out;
}

.brand a {
  transition: transform 0.3s ease;
}

.brand a:hover {
  transform: scale(1.05);
}

.nav-links a {
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  transform: translateY(-2px);
  color: var(--brand);
}

.step-circle {
  animation: float 3s ease-in-out infinite;
}

.step-circle:nth-child(2) {
  animation-delay: 0.5s;
}

.step-circle:nth-child(3) {
  animation-delay: 1s;
}

.how-grid article,
.why-grid article {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-grid article:hover,
.why-grid article:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(30, 144, 255, 0.2);
}

input:focus,
textarea:focus,
select:focus {
  animation: pulse 0.5s ease;
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.filter-field {
  animation: slideUp 0.4s ease-out;
  animation-fill-mode: both;
}

.filter-field:nth-child(1) {
  animation-delay: 0.1s;
}

.filter-field:nth-child(2) {
  animation-delay: 0.2s;
}

.filter-field:nth-child(3) {
  animation-delay: 0.3s;
}

.page-hero {
  animation: slideUp 0.6s ease-out;
}

.dashboard-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: slideUp 0.4s ease-out;
  animation-fill-mode: both;
}

.dashboard-card:nth-child(1) {
  animation-delay: 0.1s;
}

.dashboard-card:nth-child(2) {
  animation-delay: 0.2s;
}

.dashboard-card:nth-child(3) {
  animation-delay: 0.3s;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(12, 52, 94, 0.15);
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.action.primary:hover {
  animation: bounce 0.6s ease;
}

/* Floating Action Buttons */
/* Floating Bubble Container - Corner Positioned */
.floating-bubble-container {
  position: fixed;
  right: 0;
  bottom: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0;
}

/* Main Bubble Button - Side Design */
.floating-bubble-main {
  width: 70px;
  height: 70px;
  border-radius: 20px 0 0 20px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  border: none;
  border-right: 3px solid rgba(255, 255, 255, 0.3);
  color: white;
  cursor: pointer;
  box-shadow: -8px 0 25px rgba(30, 144, 255, 0.4), 0 0 0 4px rgba(30, 144, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  z-index: 1002;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  margin-right: -1px;
}

.floating-bubble-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.floating-bubble-main:hover::before {
  opacity: 1;
}

.floating-bubble-main::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.floating-bubble-main:active::after {
  width: 200px;
  height: 200px;
}

.floating-bubble-main:hover {
  transform: translateX(-8px) translateY(-8px) scale(1.05);
  box-shadow: -12px 8px 35px rgba(30, 144, 255, 0.6), 0 0 0 6px rgba(30, 144, 255, 0.15);
  border-radius: 20px 0 0 20px;
}

.floating-bubble-main.active {
  transform: translateX(-8px) translateY(-8px) scale(1.05);
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
  box-shadow: -12px 8px 35px rgba(255, 107, 107, 0.6), 0 0 0 6px rgba(255, 107, 107, 0.15);
  border-right-color: rgba(255, 255, 255, 0.4);
}

.bubble-icon,
.bubble-close {
  position: absolute;
  transition: all 0.3s ease;
  stroke-linecap: round;
}

.bubble-close {
  opacity: 0;
  transform: rotate(-45deg) scale(0.8);
}

.floating-bubble-main.active .bubble-icon {
  opacity: 0;
  transform: rotate(-45deg) scale(0.8);
}

.floating-bubble-main.active .bubble-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Bubble Menu - Side Expansion */
.floating-bubble-menu {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  background: white;
  padding: 1rem;
  border-radius: 20px 0 0 20px;
  box-shadow: -8px 0 25px rgba(0, 0, 0, 0.15);
  border-right: 3px solid var(--brand);
  margin-right: -1px;
}

.floating-bubble-container.active .floating-bubble-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: all;
}

/* Bubble Menu Items */
.bubble-menu-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: white;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 50px;
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 140px;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.bubble-menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30, 144, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.bubble-menu-item:hover::before {
  left: 100%;
}

.bubble-menu-item:nth-child(1) {
  animation-delay: 0.1s;
}

.bubble-menu-item:nth-child(2) {
  animation-delay: 0.2s;
}

.floating-bubble-container.active .bubble-menu-item {
  animation: slideInLeft 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.bubble-menu-item:hover {
  transform: translateX(-5px) scale(1.05);
  background: var(--brand);
  color: white;
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.4);
  border-color: var(--brand);
}

.bubble-menu-item:active {
  transform: translateX(-4px) scale(1.02);
}

.bubble-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.bubble-menu-item:hover .bubble-item-icon {
  transform: scale(1.15) rotate(5deg);
}

.bubble-menu-item svg {
  width: 22px;
  height: 22px;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
  padding: 1rem;
}

.popup-overlay.active {
  display: flex;
}

.popup-box {
  background: white;
  border-radius: 24px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease-out;
  position: relative;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 2px solid #e6ecf8;
  position: sticky;
  top: 0;
  background: white;
  border-radius: 24px 24px 0 0;
  z-index: 10;
}

.popup-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--text);
}

.popup-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #6b7a99;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  line-height: 1;
}

.popup-close:hover {
  background: #f0f4ff;
  color: var(--brand);
  transform: rotate(90deg);
}

.popup-content {
  padding: 1.5rem;
}

.popup-content .social-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popup-content .social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 16px;
  background: #f8fbff;
  color: var(--brand);
  padding: 1rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.popup-content .social-link:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.3);
}

.popup-content .social-link svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.popup-content .social-link span {
  flex: 1;
}

/* News Items */
.news-item {
  padding: 1.2rem;
  background: #f8fbff;
  border-radius: 16px;
  margin-bottom: 1rem;
  border-left: 4px solid var(--brand);
  transition: all 0.3s ease;
}

.news-item:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.15);
}

.news-item h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  color: var(--text);
}

.news-item p {
  margin: 0 0 0.8rem;
  color: #4a5b79;
  line-height: 1.6;
}

.news-date {
  font-size: 0.85rem;
  color: #6b7a99;
  font-weight: 500;
}

@media (max-width: 768px) {
  .floating-bubble-container {
    right: 0;
    top: auto;
    bottom: 1rem;
    transform: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
  }

  .floating-bubble-main {
    width: 60px;
    height: 60px;
    border-radius: 20px 20px 0 0;
    margin-right: 0;
    margin-bottom: -1px;
  }

  .floating-bubble-main:hover {
    transform: translateY(-8px) scale(1.05);
  }

  .floating-bubble-main.active {
    transform: translateY(-8px) scale(1.05);
  }

  .floating-bubble-menu {
    border-radius: 20px 20px 0 0;
    border-right: none;
    border-top: 3px solid var(--brand);
    margin-right: 0;
    margin-bottom: -1px;
    transform: translateY(20px) scale(0.8);
  }

  .floating-bubble-container.active .floating-bubble-menu {
    transform: translateY(0) scale(1);
  }

  .bubble-menu-item {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    min-width: 130px;
    min-height: 48px;
  }

  .bubble-menu-item span {
    font-size: 0.85rem;
  }

  .bubble-item-icon {
    width: 26px;
    height: 26px;
  }

  .bubble-menu-item svg {
    width: 20px;
    height: 20px;
  }

  .floating-bubble-container.active .bubble-menu-item {
    animation: slideInUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }

  .popup-overlay {
    padding: 0.5rem;
  }

  .popup-box {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 20px;
  }

  .popup-header {
    padding: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .popup-header h2 {
    font-size: 1.3rem;
  }

  .popup-close {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .popup-content {
    padding: 1.2rem;
  }

  .popup-content .social-link {
    padding: 1.2rem;
    min-height: 60px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .news-item {
    padding: 1rem;
    touch-action: manipulation;
  }

  .popup-header h2 {
    font-size: 1.2rem;
  }

  .popup-content {
    padding: 1rem;
  }
}

/* Login Modal */
.login-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  padding: 1rem;
  box-sizing: border-box;
}

.login-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.login-modal {
  background: white;
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  max-width: min(480px, 90vw);
  margin: 0 auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
  transform: scale(0.95) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  opacity: 0;
  overflow: hidden;
  border: 1px solid rgba(30, 144, 255, 0.1);
  position: relative;
}

.login-modal-overlay.active .login-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.login-modal-header {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: white;
  padding: 2rem 2rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.2);
}

.login-modal-header h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.login-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  line-height: 1;
}

.login-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.login-modal-content {
  padding: 2rem 2rem 1.5rem;
  background: #fafbfc;
}

.login-modal-content .form-group {
  margin-bottom: 1.5rem;
}

.login-modal-content .form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.login-modal-content .form-group input {
  width: 100%;
  padding: 1rem 1.3rem;
  border: 2px solid #e6ecf8;
  border-radius: 14px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background: white;
  color: var(--text);
}

.login-modal-content .form-group input:hover {
  border-color: #c8d8f0;
}

.login-modal-content .form-group input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.12);
  background: white;
  transform: translateY(-1px);
}

.login-modal-content .form-group input::placeholder {
  color: #9db3d9;
}

.login-modal-footer {
  margin-top: 1.8rem;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #e6ecf8;
  background: white;
  padding-bottom: 0.5rem;
}

.login-modal-footer p {
  margin: 0;
  color: #6b7a99;
  font-size: 0.9rem;
}

.login-modal-footer a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
}

.login-modal-footer a:hover {
  color: var(--brand-light);
  background: rgba(30, 144, 255, 0.1);
  text-decoration: none;
}

/* Login Modal Warning Box Styling */
.login-modal-content > div[style*="background: #fff3cd"] {
  background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%) !important;
  border: 2px solid #ffc107 !important;
  border-radius: 14px !important;
  padding: 1.2rem 1.3rem !important;
  margin-bottom: 1.8rem !important;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.15) !important;
  animation: slideUp 0.4s ease;
}

.login-modal-content > div[style*="background: #fff3cd"] p {
  margin: 0 !important;
  font-size: 0.9rem !important;
  color: #856404 !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.login-modal-content > div[style*="background: #fff3cd"] p::before {
  content: "⚠️";
  font-size: 1.2rem;
  flex-shrink: 0;
}

.login-modal-content > div[style*="background: #fff3cd"] a {
  color: var(--brand) !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
  transition: color 0.2s ease !important;
}

.login-modal-content > div[style*="background: #fff3cd"] a:hover {
  color: var(--brand-light) !important;
}

@media (max-width: 768px) {
  .login-modal-overlay {
    padding: 0.5rem;
  }

  .login-modal {
    width: 100%;
    max-width: calc(100vw - 1rem);
    margin: 0 auto;
  }

  .login-modal-header {
    padding: 1.6rem 1.5rem 1.4rem;
  }

  .login-modal-header h2 {
    font-size: 1.4rem;
  }

  .login-modal-content {
    padding: 1.5rem 1.5rem 1.2rem;
  }

  .login-modal-content > div[style*="background: #fff3cd"] {
    padding: 1rem 1.1rem !important;
    margin-bottom: 1.5rem !important;
  }

  .login-modal-content > div[style*="background: #fff3cd"] p {
    font-size: 0.85rem !important;
  }
}

/* Registration Success Popup */
.success-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.success-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.success-popup-box {
  background: white;
  border-radius: 28px;
  padding: 3rem 2.5rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.success-popup-overlay.active .success-popup-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 0.6s ease;
}

.success-popup-box h2 {
  color: var(--brand);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.success-message {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.success-email {
  color: #6b7a99;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* AI Chatbot Widget */
.chatbot-widget {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1000;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(30, 144, 255, 0.5);
}

.chatbot-toggle svg {
  width: 28px;
  height: 28px;
}

.chatbot-container {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 380px;
  max-width: calc(100vw - 2rem);
  height: 600px;
  max-height: calc(100vh - 120px);
  background: white;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
  overflow: hidden;
}

.chatbot-widget.active .chatbot-container {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  background: var(--brand);
  color: white;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header-info h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.chatbot-header-info p {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
  line-height: 1;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chatbot-language-selector {
  padding: 1rem 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid #e6ecf8;
}

.chatbot-language-selector select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid #e6ecf8;
  border-radius: 12px;
  font-size: 0.95rem;
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.chatbot-language-selector select:focus {
  outline: none;
  border-color: var(--brand);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #f8fafc;
}

.chatbot-message {
  max-width: 80%;
  padding: 0.9rem 1.2rem;
  border-radius: 18px;
  animation: slideUp 0.3s ease;
}

.chatbot-message.user {
  align-self: flex-end;
  background: var(--brand);
  color: white;
  border-bottom-right-radius: 4px;
}

.chatbot-message.bot {
  align-self: flex-start;
  background: white;
  color: var(--text);
  border: 1px solid #e6ecf8;
  border-bottom-left-radius: 4px;
}

.chatbot-message p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

.chatbot-input-container {
  padding: 1.2rem 1.5rem;
  background: white;
  border-top: 1px solid #e6ecf8;
  display: flex;
  gap: 0.8rem;
}

.chatbot-input-container input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 2px solid #e6ecf8;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.chatbot-input-container input:focus {
  outline: none;
  border-color: var(--brand);
}

.chatbot-send {
  padding: 0.8rem 1.5rem;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chatbot-send:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .chatbot-widget {
    bottom: 1rem;
    left: 1rem;
  }

  .chatbot-toggle {
    width: 56px;
    height: 56px;
  }

  .chatbot-container {
    width: calc(100vw - 2rem);
    height: calc(100vh - 100px);
    max-height: 600px;
    bottom: 70px;
  }

  .success-popup-box {
    padding: 2rem 1.5rem;
  }

  .success-icon {
    font-size: 3rem;
  }

  .success-popup-box h2 {
    font-size: 1.5rem;
  }
}

