:root {
  --primary-color: #0061ff;
  --secondary-color: #00c853;
  --text-dark: #0e1726;
  --text-muted: #5a5a5a;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.07);
  --gradient-primary: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  --gradient-blue: linear-gradient(90deg, #00c6ff, #0072ff);
}

body {
  background: var(--bg-light);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text-dark);
}

/* Navbar */
.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border: none;
  font-weight: 600;
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
}

.btn-success {
  background-color: var(--secondary-color);
  border: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

.view-btn {
  background: var(--gradient-blue);
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  color: var(--white);
  font-weight: 600;
  transition: background .3s ease, transform .28s ease;
}

.view-btn:hover {
  transform: scale(1.03);
  background: linear-gradient(90deg, #00b347, #006be6);
  /* Slightly adjusted hover gradient */
}

.search-btn {
  background: var(--gradient-primary);
  border: none;
  width: 100%;
  padding: 14px 0;
  color: var(--white);
  font-size: 16px;
  border-radius: 10px;
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  --tw-gradient-position: to bottom right in oklab;
  --tw-gradient-from: var(--color-green-50);
  /* Assuming these vars exist or are tailwind defaults, keeping as is */
  --tw-gradient-via: var(--color-blue-50);
  --tw-gradient-to: var(--color-purple-50);
  --tw-gradient-via-stops: var(--tw-gradient-position),
    var(--tw-gradient-from) var(--tw-gradient-from-position),
    var(--tw-gradient-via) var(--tw-gradient-via-position),
    var(--tw-gradient-to) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-via-stops,
      var(--tw-gradient-position),
      var(--tw-gradient-from) var(--tw-gradient-from-position),
      var(--tw-gradient-to) var(--tw-gradient-to-position));

  background-image: linear-gradient(var(--tw-gradient-stops));
  padding-block: calc(var(--spacing) * 24);
}

.hero-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Search Section */
.search-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-md);
  margin-top: 25px;
}

.search-input {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 15px;
}

.search-input i {
  font-size: 18px;
  margin-right: 10px;
  color: #8b8b8b;
}

.search-input input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 15px;
  color: #333;
}

.popular .tag {
  background: #eafff1;
  color: var(--secondary-color);
  padding: 6px 14px;
  border-radius: 20px;
  margin-right: 8px;
  font-size: 14px;
  font-weight: 600;
}

/* Job Cards */
.job-card {
  border-radius: 16px;
  padding: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
  border: 1px solid rgba(230, 230, 230, 0.6);
  min-height: 260px;
  /* Consolidated from duplicate */
  position: relative;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.job-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.job-title {
  font-size: 18px;
  font-weight: 600;
}

.company {
  font-size: 14px;
}

.job-info-list p {
  margin: 0;
  font-size: 14px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-info-list i {
  color: #2b9eff;
  font-size: 16px;
}

/* Brand Logo */
.brand-logo {
  height: 60px;
  width: auto;
  vertical-align: middle;
}

.brand-name {
  display: inline-block;
}

/* Typography */
.main-title {
  font-size: 30px;
  font-weight: 600;
  text-align: center;
}

.main-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

/* Services Section */
.services-section {
  background: #f5f7ff;
  padding-bottom: 40px;
}

.service-card {
  border-radius: 20px;
  padding: 25px;
  color: #333;
  background: var(--white);
  transition: 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}

.service-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

/* Helper Classes */
.bg-green {
  background: #e2f7e5 !important;
}

.bg-blue {
  background: #dff0ff !important;
}

.bg-purple {
  background: #f4e2ff !important;
}

.bg-orange {
  background: #ffe8d9 !important;
}

.bg-pink {
  background: #ffe1eb !important;
}

.bg-teal {
  background: #d9fff7 !important;
}

/* Why Choose Section */
.why-choose-section {
  background: linear-gradient(180deg, #f1f6ff, #ffffff);
  padding-bottom: 40px;
}

.choose-card {
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
}

.choose-card:hover {
  transform: translateY(-4px);
}

.choose-icon {
  font-size: 42px;
  margin-bottom: 12px;
  color: #5563ff;
}

/* Company Section */
.company-section {
  background: #f5f3f9;
}

.company-card {
  background: var(--white);
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12),
    0 0 20px rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes slideLeftToRight {
  0% {
    transform: translateX(-90px);
    opacity: 1;
  }

  100% {
    transform: translateX(0);
  }
}

.slide-card {
  animation: slideLeftToRight 0.7s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

.delay-6 {
  animation-delay: 0.6s;
}

.delay-7 {
  animation-delay: 0.7s;
}

.delay-8 {
  animation-delay: 0.8s;
}

.view-link {
  color: #00796b;
  font-weight: 600;
  text-decoration: none;
}

.view-link:hover {
  text-decoration: underline;
}

/* Custom Hover Job Cards */
.custom-container {
  background: var(--bg-light);
  padding: 40px 0;
}

.job-card.custom-hover {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card.custom-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12),
    0 0 20px rgba(255, 255, 255, 0.7);
}

.job-card.custom-hover img {
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.job-card.custom-hover:hover img {
  transform: scale(1.03);
}

/* Trending Jobs Section */
.trending-jobs-section {
  background: #fafafa;
}

.trending-title {
  color: #0c8a20;
  font-size: 28px;
}

.trending-card {
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.active-card {
  background: #e6f4ff;
  border-color: #b5defc;
}

.trending-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

@keyframes slideUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-up {
  animation: slideUp 0.7s ease-out forwards;
  opacity: 0;
}

/* Contact Section */
.contact-section {
  background: #f8fdf8;
  padding-top: 70px;
  padding-bottom: 70px;
}

.contact-section h2 {
  font-size: 2.5rem;
  letter-spacing: 1px;
  animation: fadeDown 0.7s ease-in-out;
}

.contact-section .form-control,
.contact-info {
  border-radius: 10px;
  border: 1px solid #d9e7d9;
  box-shadow: var(--shadow-sm);
}

.contact-info {
  background: var(--white);
  padding: 25px;
  animation: fadeUp 0.8s ease-in-out;
}

.contact-info h3 {
  color: #198754;
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-info p {
  font-size: 15px;
  margin-bottom: 8px;
  color: #333;
}

.form-control:focus {
  border-color: #198754;
  box-shadow: 0 0 8px rgba(25, 135, 84, 0.3);
}

@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  animation: fadeUp .65s ease forwards;
}

/* Footer Section */
.footer-section {
  background: #0d1b2a;
  color: #cfd8e3;
}

.footer-title {
  font-size: 1rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-text {
  color: #cfd8e3;
  font-size: 14px;
  line-height: 1.6;
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #cfd8e3;
  font-size: 14px;
  text-decoration: none;
}

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

.footer-icons i {
  font-size: 18px;
  cursor: pointer;
  color: #cfd8e3;
}

.footer-icons i:hover {
  color: var(--white);
}

/* Fresher Job Section */
.fresher-card {
  background: var(--white);
  padding: 40px 35px;
  border-radius: 22px;
  text-align: center;
  transition: all 0.35s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.fresher-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  font-size: 32px;
  color: var(--white);
  margin-bottom: 20px;
}

.green-card {
  background: linear-gradient(135deg, #e7fff1, #d3ffe7);
}

.green-icon {
  background: var(--secondary-color);
}

.blue-card {
  background: linear-gradient(135deg, #eaf3ff, #ddecff);
}

.blue-icon {
  background: #2962ff;
}

.purple-card {
  background: linear-gradient(135deg, #f4e8ff, #f2ddff);
}

.purple-icon {
  background: #8e24aa;
}

.title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.desc {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
  margin: 0;
}

.jobs-section {
  background: #f5f7fa;
}

/* Sort Dropdown */
.sort-dropdown {
  width: 160px;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 14px;
}

/* Tips Card */
.tips-card {
  background: #f9fafc;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(230, 230, 230, 0.6);
  box-shadow: var(--shadow-sm);
  transition: all .32s ease;
  min-height: 170px;
}

.tips-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}

/* Responsive */
@media (max-width: 576px) {
  .job-card {
    padding: 16px;
  }
}

.view-btn {
  padding: 10px;
  border-radius: 12px;
}


/* workformhomesectoin */
/* ---------------------------
   SECTION: Why Work From Home
---------------------------- */
.rd-why-section {
  padding: 70px 0;
}

.rd-benefit-card {
  border-radius: 22px;
  padding: 40px 30px;
  text-align: center;
  background: #fff;
  border: none;
  transition: .3s ease;
}

.rd-benefit-card:hover {
  transform: translateY(-5px);
}

.rd-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  font-size: 28px;
  color: white;
}

/* Gradient backgrounds for cards */
.rd-grad-purple {
  background: linear-gradient(135deg, #f4eaff, #e7d8ff);
}

.rd-grad-pink {
  background: linear-gradient(135deg, #ffe1ee, #ffd2e3);
}

.rd-grad-blue {
  background: linear-gradient(135deg, #e3f0ff, #d4e7ff);
}

.rd-grad-green {
  background: linear-gradient(135deg, #e7ffe7, #d9ffd9);
}

/* Icon background colors */
.rd-purple {
  background: #a856ff;
}

.rd-pink {
  background: #ff007f;
}

.rd-blue {
  background: #006eff;
}

.rd-green {
  background: #00b141;
}

/* ---------------------------
   SECTION: Remote Categories
---------------------------- */
.rd-category-section {
  background: #f5f7fb;
  padding: 60px 0;
}

.rd-category-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 15px;
  text-align: center;
  transition: .2s;
  border: 1px solid #f1f1f1;
}

.rd-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.rd-category-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

/* cardsection */

/* ----------------------------
      Latest Remote Jobs
-----------------------------*/
.rd-jobs-section {
  padding: 60px 0;
}

.rd-job-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
}

.rd-job-subtitle {
  color: #666;
  font-size: 15px;
}

.rd-job-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 15px;
  border: 1px solid #ececec;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: 0.2s ease;
}

.rd-job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.09);
}

.rd-job-flag {
  width: 26px;
  height: 18px;
  border-radius: 3px;
  margin-right: 5px;
}

.rd-job-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #444;
  margin-bottom: 8px;
}

.rd-job-icon {
  font-size: 17px;
  color: #2f80ed;
}

.rd-job-btn {
  background: linear-gradient(to right, #00c853, #0066ff);
  border: none;
  color: #fff;
  padding: 10px;
  font-weight: 600;
  border-radius: 10px;
  width: 100%;
  transition: .2s;
}

.rd-job-btn:hover {
  opacity: 0.9;
}

/* remotsection */
.remote-section {
  padding: 60px 0;
  text-align: center;
}

.remote-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
}

.remote-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.remote-bg-1 {
  background: linear-gradient(135deg, #fff2f6, #f7efff);
}

.remote-bg-2 {
  background: linear-gradient(135deg, #f1f7ff, #f5f2ff);
}

.remote-bg-3 {
  background: linear-gradient(135deg, #effff8, #f1faff);
}

.remote-box h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.remote-list {
  text-align: left;
  font-size: 15px;
  color: #444;
  line-height: 1.8;
}

.remote-icon {
  font-size: 18px;
}

/* fulltime job role */
.ftj-hero-section {
  background: linear-gradient(90deg, #5661ff, #8f48ff);
  color: #fff;
}

.ftj-box {
  text-align: center;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: 0.3s;
}

.ftj-box i {
  font-size: 30px;
  color: #6f42c1;
}

.ftj-box:hover {
  background: #eae7ff;
}

.ftj-cat-box {
  padding: 15px 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
  font-size: 14px;
  font-weight: 500;
}

.ftj-job-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.ftj-job-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.ftj-job-card ul li {
  font-size: 14px;
  margin-bottom: 5px;
}

.ftj-req-box {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.ftj-req-box h6 {
  font-weight: bold;
  margin-bottom: 10px;
}