/* GLOBAL RESET */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
  color: #1e293b;
}

/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 40px;
  margin: 20px;
  border-radius: 25px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: white;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.hero-text h2 {
  font-size: 42px;
  font-weight: 700;
}

.hero-text span {
  color: #38bdf8;
}

/* SEARCH BOX (GLASS STYLE) */
.search-box {
  display: flex;
  gap: 10px;
  padding: 15px;
  border-radius: 50px;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  flex-wrap: wrap;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  padding: 10px 15px;
  border-radius: 30px;
  flex: 1;
}

.search-item input {
  border: none;
  background: transparent;
  color: white;
  width: 100%;
}

.search-item input::placeholder {
  color: #cbd5f5;
}

.search-box button {
  background: #38bdf8;
  border: none;
  color: #0f172a;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.search-box button:hover {
  background: #0ea5e9;
}

/* SECTION */
.section {
  width: 92%;
  margin: 40px auto;
  padding: 40px;
  border-radius: 20px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  color: #1e293b; 
}

.section h3 {
  font-size: 28px;
  margin-bottom: 20px;
  border-left: 5px solid #38bdf8;
  padding-left: 10px;
  color : black;
  text-align: center;
}

.advice-section {
  width: 92%;
  margin: 60px auto;
}

.advice-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden; /* IMPORTANT */
  border: 1px solid #e2e8f0;
  transition: 0.3s;
}

/* IMAGE (TOP FIXED) */
.advice-card img {
  width: 100%;
  height: 180px;
  object-fit: cover; /* IMPORTANT */
  display: block;
}

.advice-content {
  padding: 15px;
}

/* TEXT */
.advice-content h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #0f172a;
}

.advice-content p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 10px;
}

/* LINK */
.advice-content a {
  color: #6366f1;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.advice-content a:hover {
  text-decoration: underline;
}

.advice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.advice-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.advice-section h3 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #0f172a;
}

.category-name {
  color :black;
  font-weight: bold;
}
/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

/* CARD */
.card {
  background: white;
  padding: 20px;
  border-radius: 18px;
  transition: 0.3s;
  border: 1px solid #e2e8f0;
}

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

/* CATEGORY ICON */
.category-icon {
  font-size: 30px;
  color: #0ea5e9;
  margin-bottom: 10px;
}

/* JOB CARD */
.job-card {
   background: #ffffff;
  color: #1e293b; 
}

.job-card h4 {
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.job-card p {
  color: #475569;
  font-size: 14px;
  margin: 2px 0;
}

.job-card::before {
  content: "";
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  position: absolute;
  top: 0;
  left: 0;
}

/* BUTTON */
.apply-btn {
   background: linear-gradient(135deg, #6366f1, #38bdf8);
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.apply-btn:hover {
  transform: scale(1.05);
}

/* SALARY */
.salary {
   background: #e0f2fe;
  color: #0369a1;

  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.share-icons a {
  color: #64748b;
  transition: 0.3s;
}


/* COMPANY LOGO FIX */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* FIXED LOGO BOX */
.category-card .company-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;   /* important */
  margin-bottom: 10px;
}

/* OPTIONAL: same spacing */
.category-card h4 {
  margin: 5px 0;
  font-size: 16px;
}

.category-card p {
  font-size: 13px;
  color: #64748b;
}


.share-icons a:hover {
  color: #38bdf8;
}

/* COUNTER */
.counter-section {
  width: 92%;
  margin: 50px auto;
  padding: 50px;
  border-radius: 20px;
  background: linear-gradient(135deg, #6366f1, #0ea5e9);
  color: white;
  text-align: center;
}

.counter-wrapper {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.counter-box h2 {
  font-size: 34px;
}

/* HOW SECTION */
.how-section {
   width: 92%;
  margin: 60px auto;
  text-align: center;
  color: #1e293b; /* FIX: text visible */
}
.how-section h3 {
    font-size: 28px;
    margin-bottom: 20px;
    border-left: 5px solid #38bdf8;
    padding-left: 10px;
    color: black;
}
.how-container {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.how-card {
   flex: 1;
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 20px;
  position: relative; /* IMPORTANT for step */
  border: 1px solid #e2e8f0;
  transition: 0.3s;
}

.step {
  position: absolute;
  top: -12px;
  left: 15px;
  background: linear-gradient(135deg, #6366f1, #38bdf8);
  color: white;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.how-card .icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.how-card p {
  color: #64748b;
  font-size: 14px;
}

.how-card h4 {
  color: #0f172a;
  font-size: 18px;
  margin-bottom: 8px;
}

.how-card:hover {
   transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* REVIEW */
.review-card {
   min-width: 280px;
  max-width: 280px;
  background: #ffffff;
  padding: 25px;
  border-radius: 18px;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

.review-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.review-card .role {
  color: #64748b;
  font-size: 14px;
}

.stars {
  color: #f59e0b;
}

.review-text {
  font-size: 14px;
  color: #475569;
  margin: 12px 0;
}

.review-card h4 {
  margin: 5px 0;
  color: #0f172a;
}


.reviews-section {
  width: 92%;
  margin: 60px auto;
  text-align: center;
}

.reviews-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #0f172a;
}

.reviews-container {
  display: flex;
  gap: 20px;
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  gap: 20px;
  animation: scrollReviews 20s linear infinite;
}

/* MOBILE */
@media (max-width: 768px) {
  .how-container {
    flex-direction: column;
  }
}

/* FOOTER */
.main-footer {
   background: #0f172a;
  color: #cbd5e1;
  margin-top: 60px;
  font-family: 'Poppins', sans-serif;
}

.footer-col h4,
.footer-col h5 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 600;
}


.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

/* LINKS */
.footer-col ul {
  list-style: none;
  padding: 0;
}

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

.footer-col ul li a {
  text-decoration: none;
  color: #cbd5e1;
  font-size: 14px;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #38bdf8;
  padding-left: 5px;
}

/* CONTACT LINKS */
.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-col a:hover {
  color: #38bdf8;
}

.footer-social {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
  border-radius: 50%;
  color: #cbd5e1;
  transition: 0.3s;
}


.footer-bottom {
  border-top: 1px solid #1e293b;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: #94a3b8;
}


.footer-social a:hover {
  background: #38bdf8;
  color: #0f172a;
}




@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}


.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col img.company_logo {
  height: 50px;
  width: auto;
  margin-bottom: 10px;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 50px 0;
  
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* FIX: 4 equal columns */
  gap: 30px;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .search-box {
    flex-direction: column;
    border-radius: 20px;
  }

  .search-box button {
    width: 100%;
  }
}
/* TOP HEADER FIX */
.top-header {
  background: linear-gradient(90deg, #0f172a, #1e293b);
  color: #e2e8f0;
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* LEFT SIDE */
.top-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-left a {
  color: #cbd5f5;
  text-decoration: none;
  transition: 0.3s;
  font-size: 13px;
}

.top-left a:hover {
  color: #38bdf8;
}

/* RIGHT SIDE */
.top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-right span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

/* LINKS */
.top-right a {
  color: #e2e8f0;
  text-decoration: none;
  transition: 0.3s;
}

.top-right a:hover {
  color: #38bdf8;
}

/* ICON FIX */
.top-header i {
  font-size: 14px;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .top-header {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .top-left,
  .top-right {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* JOB SECTION FIX */
.job-section {
  width: 92%;
  margin: 50px auto;
  padding: 60px 40px;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  border-radius: 25px;
  overflow: hidden;
}

/* FLEX CONTAINER */
.job-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* LEFT CONTENT */
.left-content {
  flex: 1;
  color: #1e293b; /* FIX: text visible */
}

.left-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0f172a;
}

.left-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
}

/* BUTTON */
.btn-explore {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #6366f1, #38bdf8);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

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

/* RIGHT IMAGE */
.right-image {
  flex: 1;
  text-align: right; /* FIX: image right side */
}

.right-image img {
  max-width: 100%;
  height: auto;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .job-section .container {
    flex-direction: column;
    text-align: center;
  }

  .right-image {
    text-align: center;
    margin-top: 20px;
  }
}

@keyframes scrollReviews {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .review-card {
    min-width: 240px;
  }
}