@charset "utf-8";

/* ===== CSS Variables ===== */
:root {
  --primary-purple: #5f29c9;
  --primary-dark: #0a0837;
  --primary-light: #8B5FBF;
  --secondary-purple: #9B6DD7;
  --text-dark: #1a1a2e;
  --text-gray: #666;
  --text-light: #999;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth !important;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none !important;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--primary-dark);
  padding: 8px 0;
  font-size: 13px;
}

.top-bar-link {
  color: #fff;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.top-bar-link:hover {
  color: var(--secondary-purple);
}

.top-bar-link i {
  font-size: 12px;
}

/* ===== Header ===== */
#header {
  background: var(--bg-white);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

#header.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 0;
}

.navbar-toggler {
  border: none;
  padding: 8px 12px;
  font-size: 20px;
  color: var(--primary-purple);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-purple);
}

/* ===== Logo ===== */
.logo-img {
  height: 60px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-purple);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-size: 10px;
  color: var(--text-gray);
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ===== Navigation ===== */
.navbar-nav {
  gap: 5px;
}

.nav-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark) !important;
  padding: 10px 12px !important;
  letter-spacing: 0.5px;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-purple);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-purple) !important;
  font-weight: 700;
  background: rgba(107, 63, 160, 0.1);
  border-radius: 6px;
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-purple) 50%, var(--primary-light) 100%);
  background-image: url('../img/banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(74, 44, 115, 0.7) 0%, rgba(107, 63, 160, 0.5) 100%);
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  /* background: linear-gradient(to top, var(--bg-light) 0%, transparent 100%); */
  z-index: 2;
}

/* Floating Icons */
.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  backdrop-filter: blur(5px);
  animation: float 6s ease-in-out infinite;
}

.icon-search {
  top: 20%;
  right: 15%;
  animation-delay: 0s;
}

.icon-resume {
  top: 35%;
  right: 25%;
  animation-delay: 1.5s;
}

.icon-people {
  top: 15%;
  right: 35%;
  animation-delay: 3s;
}

.icon-chat {
  top: 40%;
  right: 10%;
  animation-delay: 4.5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 1;
  padding: 110px 0 60px;
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.title-bar {
  width: 75px;
  height: 3px;
  background: #fff;
  margin: 0px 0px 20px;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  line-height: 1.8;
}

/* Hero Quote */
.hero-quote {
  position: relative;
  z-index: 1;
  background: var(--primary-dark);
  padding: 15px 0;
  margin-top: auto;
}

.quote-text {
  color: #fff;
  font-size: 14px;
  font-style: italic;
  text-align: center;
  margin: 0;
  font-weight: 300;
}

/* ===== Animations ===== */
.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-delay {
  animation: fadeIn 0.8s ease 0.3s forwards;
  opacity: 0;
}

.animate-fade-in-delay-2 {
  animation: fadeIn 0.8s ease 0.6s forwards;
  opacity: 0;
}

.animate-slide-up {
  animation: slideUp 0.6s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Positions Section ===== */
.positions-section {
  padding: 60px 0 80px;
  background: var(--bg-light);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 15px;
}

.section-title-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.section-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  flex-shrink: 0;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0;
}

.showing-text {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}

/* ===== Job Cards ===== */
.job-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.job-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.job-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary-light);
}

.job-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}

.job-details {
  flex: 1;
  min-width: 0;
}

.job-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.job-tags {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.job-tag {
  font-size: 12px;
  color: var(--text-gray);
  display: flex;
  align-items: center;
}

.job-tag i {
  color: var(--primary-purple);
  font-size: 11px;
}

.job-skills {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.skill-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
}

.skill-tag {
  font-size: 11px;
  color: var(--primary-purple);
  background: rgba(107, 63, 160, 0.1);
  padding: 3px 10px;
  border-radius: 15px;
  font-weight: 500;
}

.job-description {
  font-size: 13px;
  color: var(--text-gray);
  margin: 0;
  line-height: 1.5;
}

.job-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.job-type {
  background: var(--primary-purple);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}

.job-date {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
}

.btn-view-details {
  background: var(--primary-purple);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
  border: 2px solid var(--primary-purple);
}

.btn-view-details:hover {
  background: transparent;
  color: var(--primary-purple);
}

/* ===== Load More ===== */
.load-more-container {
  text-align: center;
  margin-top: 40px;
}

.btn-load-more {
  background: transparent;
  color: var(--primary-purple);
  border: 2px solid var(--primary-purple);
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.btn-load-more:hover {
  background: var(--primary-purple);
  color: #fff;
}

.btn-load-more i {
  transition: transform 0.3s ease;
}

.btn-load-more:hover i {
  transform: rotate(180deg);
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-purple) 100%);
  padding: 60px 0 0;
  color: #fff;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: var(--transition);
}

.social-link:hover {
  background: #fff;
  color: var(--primary-purple);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary-purple);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-contact li i {
  color: var(--secondary-purple);
  font-size: 16px;
  margin-top: 4px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
  color: #fff;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px 0;
  margin-top: 40px;
}

.copyright-text {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ===== Modal Styles ===== */
.modal-content {
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-light));
  color: #fff;
  padding: 20px 30px;
  border-bottom: none;
}

.modal-title {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  width: 100%;
}

.btn-close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  padding: 0;
  opacity: 1;
  transition: var(--transition);
}

.btn-close:hover {
  background: rgba(255, 255, 255, 0.5);
}

.btn-close::before,
.btn-close::after {
  background-color: #fff;
}

.modal-body {
  padding: 30px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-purple);
  margin-bottom: 6px;
}

.form-control {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(107, 63, 160, 0.15);
}

.form-control::placeholder {
  color: #aaa;
}

.btn-submit {
  background: var(--primary-dark);
  color: #fff;
  border: none;
  padding: 12px 40px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  margin-top: 10px;
  display: block;
  width: 100%;
}

.btn-submit:hover {
  background: var(--primary-purple);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--primary-purple);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===== Responsive Design ===== */

/* Large Devices */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--bg-white);
    padding: 20px;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
  }

  .nav-link {
    padding: 12px 15px !important;
  }

  .hero-title {
    font-size: 40px;
  }

  .floating-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .job-card {
    flex-wrap: wrap;
  }

  .job-meta {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }
}

/* Medium Devices */
@media (max-width: 767.98px) {
  .top-bar {
    text-align: center;
  }

  .d-flex.justify-content-end {
    justify-content: center !important;
  }

  .logo-img {
    height: 40px;
  }

  .hero-section {
    min-height: 400px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section-header {
    flex-direction: column;
  }

  .section-title {
    font-size: 24px;
  }

  .job-card {
    padding: 15px;
    gap: 15px;
  }

  .job-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .job-title {
    font-size: 15px;
  }

  .job-meta {
    position: static;
    margin-top: 10px;
  }

  .btn-view-details {
    width: 100%;
    text-align: center;
  }

  .footer {
    padding: 40px 0 0;
  }

  .footer-title::after {
    left: 0;
  }
  
  .nav-link {
    padding: 8px 10px !important;
    font-size: 11px;
  }
}

/* Small Devices */
@media (max-width: 575.98px) {
  .top-bar-link {
    font-size: 12px;
  }

  .logo-img {
    height: 35px;
  }

  .hero-section {
    min-height: 350px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-content {
    padding: 60px 0 40px;
  }

  .floating-icon {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .icon-search {
    right: 5%;
  }

  .icon-resume {
    right: 20%;
  }

  .icon-people {
    right: 35%;
    top: 10%;
  }

  .icon-chat {
    right: 8%;
    top: 30%;
  }

  .job-tags {
    flex-direction: column;
    gap: 5px;
  }

  .social-link {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 16px;
    bottom: 20px;
    right: 20px;
  }
}

/* Extra Small Devices */
@media (max-width: 399.98px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .quote-text {
    font-size: 12px;
  }

  .section-title {
    font-size: 20px;
  }

  .job-card {
    padding: 12px;
  }

  .job-description {
    font-size: 12px;
  }
}

/* Print Styles */
@media print {

  .top-bar,
  #header,
  .back-to-top,
  .floating-icons {
    display: none !important;
  }

  .hero-section {
    min-height: auto;
    background: #f0f0f0 !important;
  }

  .hero-bg {
    display: none;
  }

  .hero-title,
  .hero-subtitle,
  .quote-text {
    color: #000 !important;
  }
}