/* =========================================================
   HOME PAGE — NAVIK KAMGAR INDIA FEDERATION
   ========================================================= */

* {
  box-sizing: border-box;
}


/* =========================================================
   GENERAL
   ========================================================= */

main {
  width: 100%;
  overflow: hidden;
}

.section-label {
  display: inline-block;
  margin-bottom: 10px;

  color: #0870e8;

  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.hero-section {
  position: relative;

  width: 100%;
  height: 680px;

  overflow: hidden;
}


/* Slider */

.hero-slider {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;
}


.hero-slide {
  position: absolute;

  inset: 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 img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}


/* Dark gradient */

.hero-overlay {
  position: absolute;

  inset: 0;

  z-index: 3;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.48) 48%,
      rgba(0, 0, 0, 0.18) 100%
    );

  pointer-events: none;
}


/* Hero content */

.hero-content {
  position: absolute;

  top: 50%;
  left: 8%;

  transform: translateY(-50%);

  width: min(650px, 84%);

  text-align: left;

  z-index: 4;
}


/* Hero small label */

.hero-tag {
  display: inline-block;

  margin-bottom: 18px;
  padding: 8px 14px;

  background: rgba(8, 112, 232, 0.9);

  color: #ffffff;

  border-radius: 3px;

  font-family: "Roboto", sans-serif;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 1.5px;
}


/* Hero title */

.hero-content h1 {
  margin: 0;

  color: #ffffff;

  font-family: "Roboto", sans-serif;

  font-size: 56px;
  font-weight: 800;

  line-height: 1.08;
}


/* Hero paragraph */

.hero-content p {
  max-width: 600px;

  margin: 22px 0 0;

  color: rgba(255, 255, 255, 0.92);

  font-family: "Roboto", sans-serif;

  font-size: 17px;
  font-weight: 400;

  line-height: 1.7;
}


/* Hero buttons */

.hero-buttons {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-top: 30px;
}


.hero-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 155px;
  min-height: 48px;

  padding: 0 22px;

  background: #0870e8;

  color: #ffffff;

  border: 2px solid #0870e8;
  border-radius: 5px;

  text-decoration: none;

  font-family: "Roboto", sans-serif;

  font-size: 14px;
  font-weight: 700;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


.hero-button:hover {
  background: #0756c2;

  border-color: #0756c2;

  transform: translateY(-2px);
}


/* =========================================================
   INTRO SECTION
   ========================================================= */

.intro-section {
  width: 100%;

  padding: 90px 0;

  background: #f5f8fc;
}


.intro-container {
  width: min(1180px, 90%);

  margin: 0 auto;

  display: grid;

  grid-template-columns: 0.95fr 1.05fr;

  align-items: center;

  gap: 75px;
}


/* Image first */

.intro-image {
  position: relative;

  width: 100%;
}


.intro-image::after {
  content: "";

  position: absolute;

  left: 18px;
  bottom: -18px;

  width: 70%;
  height: 70%;

  border: 3px solid #0870e8;

  z-index: 0;
}


.intro-image img {
  position: relative;

  display: block;

  width: 100%;
  height: 420px;

  object-fit: cover;

  border-radius: 6px;

  z-index: 1;
}


/* Content */

.intro-content {
  width: 100%;
}


.intro-content h2 {
  margin: 0;

  color: #101820;

  font-family: "Roboto", sans-serif;

  font-size: 39px;
  font-weight: 800;

  line-height: 1.15;
}


.intro-content p {
  margin: 18px 0 0;

  color: #4b5563;

  font-family: "Roboto", sans-serif;

  font-size: 15px;
  font-weight: 400;

  line-height: 1.8;
}


.read-more-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  margin-top: 28px;

  min-width: 145px;
  height: 45px;

  padding: 0 20px;

  background: #0870e8;

  color: #ffffff;

  border-radius: 4px;

  text-decoration: none;

  font-family: "Roboto", sans-serif;

  font-size: 13px;
  font-weight: 700;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}


.read-more-button:hover {
  background: #0756c2;

  transform: translateY(-2px);
}


/* =========================================================
   SERVICES SECTION
   ========================================================= */

.services-section {
  width: 100%;

  padding: 90px 0;

  background: #ffffff;
}


.services-heading {
  width: min(760px, 90%);

  margin: 0 auto 45px;

  text-align: center;
}


.services-heading h2 {
  margin: 0;

  color: #101820;

  font-family: "Roboto", sans-serif;

  font-size: 38px;
  font-weight: 800;

  line-height: 1.2;
}


.services-heading p {
  margin: 15px auto 0;

  color: #626b78;

  font-family: "Roboto", sans-serif;

  font-size: 15px;

  line-height: 1.7;
}


/* Service grid */

.services-grid {
  width: min(1180px, 90%);

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}


.service-card {
  position: relative;

  min-height: 285px;

  padding: 30px 25px;

  background: #ffffff;

  border: 1px solid #e4e9ef;
  border-radius: 7px;

  box-shadow: 0 8px 30px rgba(20, 40, 70, 0.07);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.service-card:hover {
  transform: translateY(-7px);

  box-shadow: 0 15px 35px rgba(20, 40, 70, 0.13);
}


.service-number {
  margin-bottom: 25px;

  color: #0870e8;

  font-family: "Roboto", sans-serif;

  font-size: 14px;
  font-weight: 800;

  letter-spacing: 1px;
}


.service-card h3 {
  margin: 0;

  color: #151a21;

  font-family: "Roboto", sans-serif;

  font-size: 20px;
  font-weight: 800;
}


.service-card p {
  margin: 15px 0 20px;

  color: #667085;

  font-family: "Roboto", sans-serif;

  font-size: 13px;

  line-height: 1.75;
}


.service-card a {
  color: #0870e8;

  text-decoration: none;

  font-family: "Roboto", sans-serif;

  font-size: 13px;
  font-weight: 700;
}


.service-card a:hover {
  text-decoration: underline;
}


/* =========================================================
   CAREER AREAS
   ========================================================= */

.career-section {
  width: 100%;

  padding: 90px 0;

  background: #101820;
}


.career-content {
  width: min(700px, 90%);

  margin: 0 auto 45px;

  text-align: center;
}


.career-content .section-label {
  color: #55a9ff;
}


.career-content h2 {
  margin: 0;

  color: #ffffff;

  font-family: "Roboto", sans-serif;

  font-size: 38px;
  font-weight: 800;

  line-height: 1.2;
}


.career-content p {
  margin: 16px 0 0;

  color: rgba(255, 255, 255, 0.72);

  font-family: "Roboto", sans-serif;

  font-size: 15px;

  line-height: 1.7;
}


/* Career list */

.career-list {
  width: min(900px, 90%);

  margin: 0 auto;

  display: flex;

  flex-direction: column;

  gap: 10px;
}


.career-item {
  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 22px 25px;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.12);

  color: #ffffff;

  text-decoration: none;

  border-radius: 4px;

  transition:
    background-color 0.2s ease,
    padding-left 0.2s ease;
}


.career-item:hover {
  background: rgba(255, 255, 255, 0.11);

  padding-left: 32px;
}


.career-item strong {
  font-family: "Roboto", sans-serif;

  font-size: 15px;
  font-weight: 700;
}


.career-item span {
  color: #73b9ff;

  font-family: "Roboto", sans-serif;

  font-size: 12px;
  font-weight: 700;
}


/* =========================================================
   PROCESS SECTION
   ========================================================= */

.process-section {
  width: 100%;

  padding: 90px 0;

  background: #f7f9fc;
}


.process-grid {
  width: min(1100px, 90%);

  margin: 45px auto 0;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}


.process-card {
  padding: 28px 24px;

  background: #ffffff;

  border-top: 4px solid #0870e8;

  border-radius: 5px;

  box-shadow: 0 8px 25px rgba(20, 40, 70, 0.06);
}


.process-card > span {
  display: block;

  margin-bottom: 18px;

  color: #0870e8;

  font-family: "Roboto", sans-serif;

  font-size: 25px;
  font-weight: 800;
}


.process-card h3 {
  margin: 0;

  color: #151a21;

  font-family: "Roboto", sans-serif;

  font-size: 17px;
  font-weight: 800;

  line-height: 1.35;
}


.process-card p {
  margin: 12px 0 0;

  color: #687386;

  font-family: "Roboto", sans-serif;

  font-size: 13px;

  line-height: 1.7;
}


/* =========================================================
   VISITOR BANNER
   ========================================================= */

.visitor-banner {
  position: relative;

  width: 100%;

  min-height: 280px;

  overflow: hidden;
}


.visitor-banner-image {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


.visitor-banner-overlay {
  position: absolute;

  inset: 0;

  background: rgba(0, 22, 45, 0.76);
}


.visitor-banner-content {
  position: relative;

  width: min(900px, 90%);

  min-height: 280px;

  margin: auto;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  align-items: center;

  text-align: center;

  z-index: 2;
}


.visitor-banner-content > div {
  padding: 25px;

  border-right: 1px solid rgba(255, 255, 255, 0.22);
}


.visitor-banner-content > div:last-child {
  border-right: none;
}


.visitor-banner-content strong {
  display: block;

  color: #ffffff;

  font-family: "Roboto", sans-serif;

  font-size: 38px;
  font-weight: 800;
}


.visitor-banner-content span {
  display: block;

  margin-top: 7px;

  color: rgba(255, 255, 255, 0.72);

  font-family: "Roboto", sans-serif;

  font-size: 12px;
  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 1px;
}


/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonials-section {
  width: 100%;

  padding: 90px 0;

  background: #ffffff;
}


.testimonials-heading {
  width: min(760px, 90%);

  margin: 0 auto 45px;

  text-align: center;
}


.testimonials-heading h2 {
  margin: 0;

  color: #101820;

  font-family: "Roboto", sans-serif;

  font-size: 38px;
  font-weight: 800;

  line-height: 1.2;
}


.testimonials-heading p {
  margin: 15px 0 0;

  color: #697386;

  font-family: "Roboto", sans-serif;

  font-size: 15px;

  line-height: 1.7;
}


/* Testimonial cards */

.testimonial-grid {
  width: min(1100px, 90%);

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 25px;
}


.testimonial-card {
  padding: 28px;

  background: #f6f8fb;

  border: 1px solid #e4e8ee;

  border-radius: 7px;
}


.candidate-info {
  display: flex;

  align-items: center;

  gap: 14px;
}


.candidate-info img {
  width: 62px;
  height: 62px;

  flex: 0 0 62px;

  object-fit: cover;

  border-radius: 50%;

  border: 2px solid #0870e8;
}


.candidate-details h3 {
  margin: 0;

  color: #161b22;

  font-family: "Roboto", sans-serif;

  font-size: 16px;
  font-weight: 800;
}


.candidate-details span {
  display: block;

  margin-top: 4px;

  color: #687386;

  font-family: "Roboto", sans-serif;

  font-size: 11px;
  font-weight: 500;
}


.testimonial-text {
  margin: 22px 0 0;

  color: #4e5867;

  font-family: "Roboto", sans-serif;

  font-size: 13px;
  font-weight: 400;

  line-height: 1.8;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
  width: 100%;

  padding: 90px 20px;

  background: linear-gradient(
    135deg,
    #0756c2 0%,
    #0870e8 50%,
    #1685f5 100%
  );
}


.final-cta-content {
  width: min(800px, 90%);

  margin: 0 auto;

  text-align: center;
}


.final-cta .section-label {
  color: rgba(255, 255, 255, 0.8);
}


.final-cta h2 {
  margin: 0;

  color: #ffffff;

  font-family: "Roboto", sans-serif;

  font-size: 40px;
  font-weight: 800;

  line-height: 1.2;
}


.final-cta p {
  margin: 18px auto 0;

  color: rgba(255, 255, 255, 0.88);

  font-family: "Roboto", sans-serif;

  font-size: 15px;

  line-height: 1.7;
}


.final-cta .hero-buttons {
  justify-content: center;
}


.final-cta .hero-button {
  background: #ffffff;

  color: #0756c2;

  border-color: #ffffff;
}


.final-cta .hero-button:hover {
  background: #eef5ff;

  border-color: #eef5ff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .hero-content h1 {
    font-size: 46px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-container {
    gap: 45px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

  /* Hero */

  .hero-section {
    height: 560px;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.78),
        rgba(0, 0, 0, 0.42)
      );
  }

  .hero-content {
    left: 6%;

    width: 88%;
  }

  .hero-tag {
    font-size: 9px;

    padding: 7px 10px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 14px;

    line-height: 1.6;
  }

  .hero-buttons {
    flex-wrap: wrap;

    margin-top: 24px;
  }


  /* Intro */

  .intro-section {
    padding: 65px 0;
  }

  .intro-container {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .intro-image {
    order: 1;
  }

  .intro-content {
    order: 2;

    text-align: center;
  }

  .intro-content h2 {
    font-size: 31px;
  }

  .intro-content p {
    font-size: 14px;
  }

  .intro-image img {
    height: 330px;
  }


  /* Services */

  .services-section {
    padding: 65px 0;
  }

  .services-heading h2 {
    font-size: 31px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }


  /* Career */

  .career-section {
    padding: 65px 0;
  }

  .career-content h2 {
    font-size: 31px;
  }


  /* Process */

  .process-section {
    padding: 65px 0;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }


  /* Visitor */

  .visitor-banner-content {
    min-height: 240px;
  }

  .visitor-banner-content strong {
    font-size: 28px;
  }

  .visitor-banner-content span {
    font-size: 9px;
  }


  /* Testimonials */

  .testimonials-section {
    padding: 65px 0;
  }

  .testimonials-heading h2 {
    font-size: 31px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }


  /* CTA */

  .final-cta {
    padding: 70px 20px;
  }

  .final-cta h2 {
    font-size: 32px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .hero-section {
    height: 500px;
  }

  .hero-content {
    left: 5%;

    width: 90%;
  }

  .hero-content h1 {
    font-size: 29px;
  }

  .hero-content p {
    font-size: 13px;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: flex-start;

    gap: 9px;
  }

  .hero-button {
    min-width: 135px;

    min-height: 42px;

    font-size: 12px;
  }


  .intro-content h2,
  .services-heading h2,
  .career-content h2,
  .testimonials-heading h2 {
    font-size: 27px;
  }


  .intro-image img {
    height: 270px;
  }


  .services-grid {
    grid-template-columns: 1fr;
  }


  .process-grid {
    grid-template-columns: 1fr;
  }


  .career-item {
    padding: 18px;
  }

  .career-item strong {
    font-size: 13px;
  }

  .career-item span {
    font-size: 10px;
  }


  .visitor-banner {
    min-height: 360px;
  }

  .visitor-banner-content {
    min-height: 360px;

    grid-template-columns: 1fr;
  }

  .visitor-banner-content > div {
    border-right: none;

    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .visitor-banner-content > div:last-child {
    border-bottom: none;
  }


  .final-cta h2 {
    font-size: 28px;
  }

}