@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@300;400;500;600;700&display=swap');

:root {
  --primary-blue: #3B82F6;
  --primary-blue-hover: #2563EB;
  --accent-green: #10B981;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --bg-light: #F9FAFB;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

body {
  font-family: 'League Spartan', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem 2rem;
}

.navbar-brand {
  font-weight: 800;
  color: #3BA3F8 !important;
  font-size: 1.25rem;
}

.navbar-brand img {
  height: 70px;
}

.text-logo {
  color: #3BA3F8;
}

.navbar-nav .nav-link {
  color: #111111;
  font-weight: 600;
  font-size: 1rem;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-blue);
}

.nav-right-links .nav-link {
  color: #111111;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
}

.nav-right-links .nav-link:hover {
  color: #3BA3F8;
}

.nav-separator {
  color: #9CA3AF;
  font-weight: 400;
}

/* Hero Section */
.hero-section {
  min-height: calc(100vh - 76px);
  /* subtract navbar height */
  display: flex;
}

.split-pane {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  transition: flex 0.5s ease;
}

.split-candidate {
  background-image: url('../images/candidate-bg.png');
}

.split-employer {
  background-image: url('../images/employer-bg.png');
}

/* Hover expansion effect for desktop */
@media (min-width: 992px) {
  .hero-section .col-lg-6 {
    transition: width 0.5s ease;
  }
}

@media (max-width: 991px) {
  .hero-section {
    flex-direction: column;
  }
  .split-pane {
    padding: 3rem 1rem;
    min-height: 50vh;
  }
  .glass-card {
    padding: 2rem !important;
    min-height: auto !important;
  }
  .glass-card h1 {
    font-size: 2rem !important;
  }
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
  padding: 3rem;
  max-width: 500px;
  width: 100%;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

.card-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.badge-blue {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary-blue);
}

.badge-green {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
}

.glass-card h1 {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.glass-card p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.feature-list li i {
  color: var(--primary-blue);
  margin-right: 0.5rem;
  margin-top: 0.2rem;
}

.btn-primary-custom {
  background-color: var(--primary-blue);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  width: 100%;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary-custom:hover {
  background-color: var(--primary-blue-hover);
  transform: scale(1.02);
}

/* Footer */
.site-footer {
  background-color: #ffffff;
  padding: 4rem 0 2rem;
  border-top: 1px solid #E5E7EB;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand img {
  height: 70px;
}

.footer-text {
  color: var(--text-light);
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #F3F4F6;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary-blue);
  color: white;
  transform: translateY(-3px);
}

.footer-heading {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-blue);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-info h6 {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.contact-info p {
  margin: 0;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-info p a {
  color: var(--text-light);
  text-decoration: none;
}

.contact-info p a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E5E7EB;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-bottom-links a {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--primary-blue);
}

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

  .navbar-brand img {
    height: 65px;
  }

  .navbar-nav .nav-link {
    margin: 0;
  }

  .nav-right-links {
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
  }

  .nav-right-links .nav-link {
    font-size: 0.85rem;
  }


  .hero-section {
    flex-direction: column;
  }

  .split-pane {
    min-height: 600px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .glass-card {
    padding: 2rem;
  }

  .glass-card h1 {
    font-size: 1.7rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-bottom-links a {
    margin: 0 0.75rem;
  }
}

/* Animated Hamburger Icon */
.navbar-toggler:focus {
  box-shadow: none;
}

.animated-icon {
  width: 30px;
  height: 20px;
  position: relative;
  margin: 0;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
}

.animated-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--text-dark);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.animated-icon span:nth-child(1) {
  top: 0px;
}

.animated-icon span:nth-child(2) {
  top: 8px;
}

.animated-icon span:nth-child(3) {
  top: 16px;
}

button[aria-expanded="true"] .animated-icon span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}

button[aria-expanded="true"] .animated-icon span:nth-child(2) {
  opacity: 0;
  left: -20px;
}

button[aria-expanded="true"] .animated-icon span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

/* Custom Container Width for Extra Large Screens */
@media (min-width: 1640px) {
  .container {
    max-width: 1600px;
  }
}