@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #000000;
  /* Changed to Black for Sadakalo style */
  --accent-color: #333333;
  --text-dark: #000000;
  --text-gray: #444444;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #dddddd;
  --footer-bg: #f2f2f2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.flex {
  display: flex;
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-20 {
  gap: 20px;
}

.gap-10 {
  gap: 10px;
}

/* Header */
/* Header Revamp */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 9999;
  height: 75px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

/* Ensure sticky header works even after scrolling notice bar */
header.is-sticky {
  top: 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Logo Styling */
.site-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.site-logo span {
  color: #555;
  font-weight: 400;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links li a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  transition: all 0.2s;
  padding: 5px 0;
  position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #000;
}

.nav-links li a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
}

.mobile-only-actions {
  display: none;
}

/* Header Actions & Auth Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.auth-buttons {
  display: flex;
  gap: 12px;
}

.btn-login {
  background: transparent;
  border: 1px solid #ddd;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-login:hover {
  background: #f8f8f8;
  border-color: #000;
}

.btn-register {
  background: #000;
  color: #fff;
  border: none;
  padding: 8px 22px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-register:hover {
  background: #333;
}

/* User Profile Dropdown */
.user-profile-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: #f8f9fa;
  border: 1px solid #eee;
}

.user-profile-dropdown:hover {
  background: #f1f1f1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.user-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  overflow: hidden;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-info-mini {
  display: flex;
  flex-direction: column;
}

.user-name-mini {
  font-size: 0.85rem;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.user-role-mini {
  font-size: 0.7rem;
  color: #666;
  text-transform: capitalize;
}

.dropdown-menu-user {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  width: 280px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 20px;
  display: none;
  z-index: 10000;
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: slideIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-profile-dropdown.active .dropdown-menu-user {
  display: block;
}

.dropdown-user-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.dropdown-user-header .user-avatar {
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
}

.user-details h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #000;
}

.user-details p {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.dropdown-user-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dropdown-item-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  border-radius: 10px;
  color: #444;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}

.dropdown-item-user:hover {
  background: #f8f9fa;
  color: #000;
  transform: translateX(5px);
}

.dropdown-item-user i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  color: #666;
}

.dropdown-item-user:hover i {
  color: #000;
}

.dropdown-item-user.logout {
  margin-top: 10px;
  border-top: 1px solid #eee;
  padding-top: 15px;
  color: #dc3545;
}

.dropdown-item-user.logout i {
  color: #dc3545;
}

.dropdown-item-user.logout:hover {
  background: #fff5f5;
  color: #a71d2a;
}

.notification-area {
  position: relative;
  cursor: pointer;
}

.notification-area .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff0000;
  color: white;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 10px;
  font-weight: 800;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

/* Mobile Version Styling */
@media (max-width: 1100px) {
  .nav-links {
    gap: 15px;
  }
}

@media (max-width: 991px) {
  .hide-mobile {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .header-actions {
    gap: 15px;
    /* Reduce gap on mobile */
  }

  .notification-area .icon-btn {
    font-size: 1.2rem;
  }

  .notification-area .badge {
    top: -5px;
    right: -5px;
    font-size: 9px;
  }

  #mainNav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    height: calc(100vh - 70px);
    z-index: 99999;
    padding: 20px;
    display: none;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  #mainNav.active {
    display: block !important;
    visibility: visible !important;
  }

  .mobile-only-actions {
    display: block !important;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    /* Center menu items */
    gap: 0;
    width: 100%;
    text-align: center;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .nav-links li a {
    display: flex;
    justify-content: center;
    /* Center text in links */
    padding: 15px 0;
    font-size: 1.1rem;
    width: 100%;
    font-weight: 700;
  }

  /* Mobile Actions */
  .mobile-only-actions {
    border-bottom: none !important;
    padding-top: 30px !important;
    width: 100%;
  }

  .mobile-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    /* Center the buttons */
    width: 100%;
  }

  .btn-login-outline,
  .btn-register-solid {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    /* Optional: limit width for better look */
    padding: 15px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
  }

  .btn-login-outline {
    background: transparent;
    border: 2px solid #000;
    color: #000 !important;
  }

  .btn-register-solid {
    background: #000;
    border: 2px solid #000;
    color: #fff !important;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 1rem;
    padding: 8px 15px;
  }
}

/* Newsletter Section */
.newsletter-section {
  padding: 30px 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.newsletter-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.newsletter-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.newsletter-text p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  max-width: 600px;
  width: 100%;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid var(--border-color);
  border-right: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  font-family: inherit;
}

.newsletter-form button {
  border-radius: 0 4px 4px 0;
  padding: 12px 40px;
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  padding: 30px 0 20px;
  color: var(--text-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-dark);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  /* For the arrow/bullet if we use one, though usually css content */
}

/* Using a class for the list items to add the arrow styling */
.footer-list-item a {
  position: relative;
  padding-left: 0;
}

/* Replicating the arrow from image */
.footer-list-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #444;
}

.footer-list-item::before {
  content: "➤";
  font-size: 0.6rem;
  color: #666;
}

.footer-about p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.6;
  max-width: 300px;
}

.contact-info {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.contact-info a {
  display: block;
  color: #555;
  margin-bottom: 5px;
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons i {
  font-size: 1.2rem;
  color: #333;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid #dcdcdc;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  /* Stack rows vertically */
  gap: 20px;
  font-size: 0.9rem;
  color: #666;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer-bottom-left {
    justify-content: center;
    width: 100%;
  }

  .footer-bottom-right {
    justify-content: center;
    width: 100%;
  }
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 20px;
}

.payment-logos {
  display: flex;
  gap: 10px;
}

.payment-logos img {
  height: 25px;
  object-fit: contain;
}

.app-download {
  display: flex;
  gap: 10px;
}

.app-download img {
  height: 35px;
  object-fit: contain;
}

/* ========================================
   NOTICE TEXT SLIDER
   ======================================== */
.notice-slider {
  background: #000000;
  padding: 12px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.notice-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.notice-icon {
  color: #ffd700;
  font-size: 1.3rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.notice-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.notice-marquee {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  padding-left: 100%;
  /* Start from full right */
}

.notice-marquee span {
  color: white;
  font-size: 1rem;
  font-weight: 500;
  padding: 0 10px;
}

.notice-marquee .separator {
  color: #ffd700;
  font-weight: 800;
  padding: 0 20px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.notice-marquee:hover {
  animation-play-state: paused;
}

/* ========================================
   HERO SECTION WITH IMAGE SLIDER
   ======================================== */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 600px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Removed dark overlay for cleaner image display */
.hero-slide-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
  color: black;
}

.prev-btn {
  left: 30px;
}

.next-btn {
  right: 30px;
}

.slider-btn i {
  font-size: 1.2rem;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 15px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.dot.active {
  background: white;
  width: 35px;
  border-radius: 10px;
}

/* Counter Section */
.counter-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  background: white;
  padding: 15px 25px;
  border-radius: 16px;
  margin: -60px auto 10px;
  position: relative;
  z-index: 5;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.counter-item {
  display: flex;
  flex-direction: column;
  /* Stacks icon and text vertically */
  align-items: center;
  /* Centers horizontally */
  justify-content: center;
  /* Centers vertically */
  text-align: center;
  /* Centers text lines */
  gap: 12px;
  padding: 20px 15px;
  background: #f8f9fa;
  border-radius: 12px;
  min-height: 120px;
  /* Ensures enough height for middle alignment */
  transition: all 0.3s ease;
}

.counter-item:hover {
  background: #e9ecef;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.counter-item i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.counter-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
}

.counter-content p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* Ecosystem Section */
.ecosystem-section {
  padding: 25px 0;
  background: #fbfbfb;
}

.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #0c1b33;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.ecosystem-card {
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 12px;
  text-align: left;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.ecosystem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

/* Card Specific Colors */
.ecosystem-card.buyer::before {
  background: #2563eb;
}

.ecosystem-card.factory::before {
  background: #6366f1;
}

.ecosystem-card.seller::before {
  background: #f59e0b;
}

.ecosystem-card.manpower::before {
  background: #8b5cf6;
}

.ecosystem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.card-header i {
  font-size: 1.8rem;
}

.ecosystem-card.buyer i {
  color: #2563eb;
}

.ecosystem-card.factory i {
  color: #6366f1;
}

.ecosystem-card.seller i {
  color: #f59e0b;
}

.ecosystem-card.manpower i {
  color: #8b5cf6;
}

.ecosystem-card h3 {
  font-size: 16px;
  margin: 0;
  font-weight: 800;
  color: #0c1b33;
  line-height: 1.3;
}

.ecosystem-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 25px;
}

.card-features {
  margin-top: auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: #1e293b;
  font-weight: 500;
}

.feature-item i {
  font-size: 0.75rem;
  color: #10b981;
  margin-top: 4px;
}

/* ========================================
   REUSABLE GRID SECTION STYLE
   ======================================== */
.grid-section {
  padding: 25px 0;
  background: #fdfdfd;
}

.grid-section .section-title {
  font-size: 24px;
  font-weight: 800;
  color: #000;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
}

.grid-4-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.grid-3-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.content-column {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #eeeeee;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  padding: 15px;
  height: fit-content;
}

.column-header {
  font-size: 1.2rem;
  font-weight: 800;
  color: #000;
  padding-bottom: 15px;
  border-bottom: 1px solid #000;
  margin-bottom: 15px;
  width: 100%;
  text-align: center;
}

.content-item {
  display: flex;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px dashed #e5e5e5;
  align-items: flex-start;
  text-align: left;
}

.content-item:last-child {
  border-bottom: none;
}

.item-thumb {
  width: 55px;
  height: 55px;
  background: #f0f0f0;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-info {
  flex: 1;
}

.item-info h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #000;
  text-align: left;
}

.item-info p {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 8px;
  text-align: left;
}

.btn-action {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-action:hover {
  background: #0069d9;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

/* Responsive */
@media (max-width: 1200px) {
  .grid-4-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .grid-3-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .grid-4-cols {
    grid-template-columns: 1fr;
  }

  .grid-3-cols {
    grid-template-columns: 1fr;
  }

  .grid-section {
    padding: 50px 0;
  }
}

.btn-black {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 8px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  border-radius: 4px;
}

.btn-black:hover {
  background: #333;
}

/* ========================================
   JOB SECTION
   ======================================== */
.job-section {
  padding: 25px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.job-section .section-title {
  color: var(--text-dark);
}

.job-category {
  background: var(--white);
  padding: 30px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.job-category:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.job-item {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.job-item:hover {
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.job-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.job-item p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 15px;
}

.btn-apply {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.btn-apply:hover {
  background: var(--accent-color);
  transform: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ========================================
   MARKETPLACE SECTION
   ======================================== */
.marketplace-section {
  padding: 25px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.marketplace-section .section-title {
  color: var(--text-dark);
}

.marketplace-category {
  background: var(--white);
  padding: 30px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.marketplace-category:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.marketplace-item {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 0;
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid transparent;
}

.marketplace-item:hover {
  background: var(--white);
  border-color: var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.item-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.item-icon i {
  font-size: 1.5rem;
  color: white;
}

.marketplace-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.marketplace-item p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 15px;
}

.btn-buy,
.btn-contact,
.btn-lot {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.btn-buy:hover,
.btn-contact:hover,
.btn-lot:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ========================================
   LEARNING SECTION
   ======================================== */
.learning-section {
  padding: 25px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.learning-section .section-title {
  color: var(--text-dark);
}

.learning-category {
  background: var(--white);
  padding: 30px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.learning-category:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.learning-item {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  text-align: center;
}

.learning-item:hover,
.learning-section .item-card:hover {
  background: var(--white);
  border-color: var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.learning-section .item-icon {
  background: var(--white);
  border: 1px solid var(--border-color);
}

.learning-section .item-icon i {
  color: var(--primary-color);
}

.learning-item .item-icon {
  background: var(--primary-color);
}

.learning-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.learning-item p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 15px;
}

.btn-view,
.btn-read,
.btn-enroll {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.btn-view:hover,
.btn-read:hover,
.btn-enroll:hover {
  background: var(--accent-color);
  transform: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Learners Section */
.learners-section {
  background: var(--white);
  padding: 20px 15px;
  border-radius: 4px;
  text-align: center;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.learners-section h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.learners-section p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 15px;
}

.company-slider-container {
  overflow: hidden;
  padding: 20px 0;
  position: relative;
  width: 100%;
}

.company-slider-container::before,
.company-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.company-slider-container::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.company-slider-container::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.company-slider-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scrollLogos 40s linear infinite;
}

.company-slider-track:hover {
  animation-play-state: paused;
}

@keyframes scrollLogos {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.company-logo {
  flex: 0 0 160px;
  height: 80px;
  background: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-gray);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  user-select: none;
}

.company-logo:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

/* Vertical Lines between columns */
.row.v-lines>[class*="col-"]:not(:last-child) {
  border-right: 1px solid var(--border-color);
}

@media (max-width: 991px) {
  .row.v-lines>[class*="col-"] {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .row.v-lines>[class*="col-"]:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
}

/* Mobile Responsiveness Improvements */
@media (max-width: 991px) {
  .section-title {
    font-size: 1.8rem;
    padding: 0 15px;
  }

  .category-header {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .item-card {
    padding: 20px 15px;
  }

  .item-card h4 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .counter-section {
    padding: 20px 10px;
  }

  .hero-slider {
    height: 250px;
  }

  .notice-marquee span {
    font-size: 0.9rem;
  }
}

/* Original Mobile Responsiveness */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-content {
    flex-direction: column;
  }

  .counter-section {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -60px;
    padding: 30px;
  }

  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .newsletter-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .newsletter-form {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .hero-slider {
    height: 300px;
  }

  .counter-section {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -40px;
    padding: 15px;
    gap: 10px;
  }

  .counter-item {
    padding: 10px;
    gap: 10px;
    flex-direction: column;
    text-align: center;
  }

  .counter-item i {
    font-size: 1.5rem;
  }

  .counter-content h3 {
    font-size: 1.2rem;
  }

  .counter-content p {
    font-size: 0.8rem;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ecosystem-card {
    padding: 30px 20px;
  }
}

/* ========================================
   AUTH PAGES (LOGIN / REGISTER) - COMPACT
   ======================================== */
.auth-body {
  background-color: #f5f7fa;
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.auth-container {
  width: 100%;
}

.auth-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  display: flex;
  min-height: auto;
  max-width: 900px;
  margin: 0 auto;
}

.register-card {
  max-width: 700px;
  flex-direction: column;
}

.auth-wave-top {
  background: #6495ed;
  padding: 25px 20px 50px;
  clip-path: ellipse(120% 100% at 50% 0%);
  text-align: center;
  color: white;
}

.auth-wave-top h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.auth-wave-top p {
  font-size: 0.95rem;
  opacity: 0.95;
  margin-bottom: 0;
}

.auth-form-bottom {
  margin-top: -30px;
  padding: 15px 40px 25px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  position: relative;
  z-index: 5;
}

.registration-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-align: center;
}

.auth-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
  color: #333;
}

.required {
  color: #ff0000;
}

.auth-input,
.phone-input-group {
  border: 1.5px solid #dcdcdc;
  border-radius: 40px;
  padding: 8px 20px;
  background: #fdfdfd;
  width: 100%;
  outline: none;
  font-size: 0.9rem;
  height: 40px;
}

.phone-input-group {
  display: flex;
  align-items: center;
  padding: 0 15px;
}

.country-code-select {
  border: none;
  border-right: 1px solid #ddd;
  padding-right: 8px;
  margin-right: 12px;
  font-weight: 700;
  color: #111;
  background: transparent;
  outline: none;
  font-size: 0.85rem;
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
  appearance: none;
  /* Remove default arrow for custom look if preferred, but keep for now for usability unless asked */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 10px;
  padding-right: 18px;
  /* Space for the arrow */
}

.phone-input-group input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  height: 100%;
}

.btn-outline-primary {
  display: inline-block;
  padding: 8px 30px;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s;
  background: transparent;
  cursor: pointer;
}

.btn-outline-primary:hover {
  background: #fff;
  color: #6495ed;
}

.btn-auth-primary {
  border-radius: 40px;
  border: 2px solid #6495ed;
  background: #f8f9ff;
  color: #6495ed;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.btn-auth-primary:hover {
  background: #6495ed;
  color: #fff;
}

.check-label {
  color: #ff0000;
  font-size: 0.8rem;
  font-weight: 500;
}

.auth-footer {
  margin-top: 10px;
  text-align: center;
  font-size: 0.9rem;
}

.forgot-link,
.signin-link {
  color: #6495ed;
  font-weight: 700;
  text-decoration: none;
}

/* Login Card Diagonal Split Fix */
.login-card .auth-split-left {
  flex: 1;
  background: #6495ed;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
  padding: 40px 30px;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  justify-content: center;
}

.welcome-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.welcome-content p {
  font-size: 1rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

.login-card .auth-split-right {
  flex: 1;
  padding: 30px 40px;
  background: white;
}

.login-card .auth-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .login-card {
    flex-direction: column;
  }

  .login-card .auth-split-left {
    clip-path: none;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .login-card .auth-split-right {
    margin-left: 0;
    padding: 30px 20px;
  }

  .auth-grid-new {
    grid-template-columns: 1fr;
  }
}

.captcha-new-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bg-primary {
  background: linear-gradient(135deg, #6495ed, #4169e1) !important;
  color: white !important;
  border-color: #4169e1 !important;
}

.bg-primary .required {
  color: #fff !important;
}

.captcha-question {
  flex: 0 0 auto;
  background: #fdfdfd;
  border: 1.5px solid #dcdcdc;
  border-radius: 40px;
  padding: 0 25px;
  height: 40px;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #333;
  font-size: 1.05rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.captcha-new-flex .auth-input {
  flex: 1;
}

/* ========================================
   BUYER PLATFORM SECTION
   ======================================== */
.buyer-platform-section {
  padding: 25px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.buyer-platform-header {
  text-align: center;
  margin-bottom: 20px;
}

.buyer-platform-header h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: var(--text-dark);
}

.buyer-platform-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 800px;
  margin: 0 auto;
}

.order-column {
  padding: 0 30px;
}

.order-column h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.buyer-order-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: var(--bg-light);
  border: 1px solid transparent;
  border-radius: 4px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.buyer-order-item:hover {
  background: var(--white);
  border-color: var(--border-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.order-icon-box {
  flex: 0 0 65px;
  width: 65px;
  height: 65px;
  background: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.order-icon-box i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.order-info {
  text-align: left;
  flex: 1;
}

.order-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.order-details-list {
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
  text-align: left;
}

.order-details-list li {
  margin-bottom: 1px;
}

.order-details-list span {
  color: #777;
  display: inline-block;
}

.ends-text {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  margin: 15px 0 10px;
}

.btn-bid {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 25px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-bid:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

@media (max-width: 991px) {
  .order-column {
    padding: 0 15px;
    margin-bottom: 50px;
  }

  .order-column:last-child {
    margin-bottom: 0;
  }
}

.auth-btns-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
  flex-wrap: wrap;
}

.auth-btns-group .btn-outline-primary {
  padding: 8px 20px !important;
  font-size: 0.85rem !important;
  min-width: 100px;
}

/* Fully Hide Google Translate Toolbar and Elements */
.goog-te-banner-frame,
.goog-te-banner,
.goog-te-menu-frame,
.goog-te-balloon-frame,
.goog-te-gadget-icon,
.goog-te-gadget-simple,
.goog-te-gadget,
#goog-gt-tt,
.skiptranslate,
iframe.skiptranslate,
.VIpgJd-ZVi9ub-ORHb-nS3vE,
.VIpgJd-y68vS-H6u6cm-tiS6sc,
.VIpgJd-ZVi9ub-v399rd-asjn {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
}

body {
  top: 0px !important;
  position: static !important;
}

/* Hide the 'Show Original' tooltip when hovering */
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

#google_translate_element {
  display: none !important;
}

/* Language Dropdown Styling Refined */
.custom-lang-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.lang-selected {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 22px;
  border: 1px solid #eee;
  border-radius: 50px;
  /* Pill shape */
  background: #fff;
  transition: all 0.3s ease;
  color: #111;
  height: 42px;
}

.custom-lang-dropdown.active .lang-selected {
  border-color: #ccc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.lang-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 10001;
  min-width: 160px;
  overflow: hidden;
  padding: 8px 0;
  animation: slideDropdown 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes slideDropdown {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-lang-dropdown.active .lang-options {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  transition: all 0.2s;
  font-size: 0.95rem;
  font-weight: 500;
  color: #444;
}

.lang-option:hover {
  background: #f8f9fa;
  color: #000;
  padding-left: 25px;
  /* Subtle slide effect */
}

/* Mobile Dropdown Styling */
.mobile-lang-switcher .custom-lang-dropdown {
  width: 100%;
  max-width: 160px;
}

.mobile-lang-switcher .lang-selected {
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.mobile-lang-switcher .lang-options {
  width: auto;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  min-width: 180px;
}


/* Scroll to Top Button */
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: transparent;
  /* Fully transparent */
  backdrop-filter: none;
  /* Removed blur to make text underneath readable */
  color: #0d6efd;
  /* Blue icon for better visibility on light bg */
  border: 1px solid rgba(13, 110, 253, 0.4);
  /* Subtle border */
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  /* Removed shadow to prevent overlap appearance */
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollToTopBtn:hover {
  background-color: #0a58ca;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#scrollToTopBtn i {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  #scrollToTopBtn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}