/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background-color: #18b1cfc0;
  color: white;
}

/* Careers Hero Section */
.careers-section {
  background: url("{{ url_for('static', filename='images/career/Careers hero banner.jpg') }}") no-repeat center center/cover;
  height: calc(100vh - 50px);
  padding-top: 90px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
}

.overlay-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 1200px;
  width: 100%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  color: white;
}

.label {
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ccc;
  margin-bottom: 10px;
}

.overlay-box h1 {
  font-size: 43px;
  font-weight: 800;
  margin-bottom: 20px;
}

.subtext {
  font-size: 20px;
  color: #eee;
  margin-bottom: 30px;
}

.apply-btn {
  background-color: #00d4aa;
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}

.apply-btn:hover {
  background-color: #00b091;
}

@media (max-width: 768px) {
  .overlay-box h1 {
    font-size: 28px;
  }

  .subtext {
    font-size: 14px;
  }

  .apply-btn {
    font-size: 14px;
    padding: 12px 24px;
  }
}

/* Steps Section */
.FintechDynamics {
  padding: 40px 20px;
}

.FintechDynamics h1 {
  text-align: center;
  padding-bottom: 40px;
}

.steps-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.step {
  flex: 1 1 200px;
  max-width: 220px;
  text-align: center;
}

.step img {
  width: 100%;
  border-radius: 50%;
  border: 3px solid #fff;
  height: 220px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.step h3 {
  font-size: 18px;
  margin-top: 15px;
  line-height: 1.4;
  font-weight: bold;
}

.step img:hover {
  transform: scale(0.9);
  border: 4px solid #070707;
  box-shadow: 0 10px 25px rgba(7, 7, 7, 0.4);
}

/* Career Pathways & Global Careers Shared Styles */
.career-pathways,
.global-careers {
  padding: 40px 20px;
  text-align: center;
}

.career-pathways h4,
.global-careers h4 {
  font-size: 2.5em;
  font-weight: 800;
  margin-top: 10px;
  margin-bottom: 20px;
}

.subheading {
  color: #083c32;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}

.description {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: black;
}

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  width: 200px;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.card:hover {
  transform: scale(1.05);
}

.overlay-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  z-index: 2;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  margin: 0;
}


.card h2 {
  margin: 0;
  color:white;
  font-size: 20px;
  font-weight: bold;
}

.card p {
  color: black;
  font-size: 14px;

  margin-top: 5px;
}

.text-align-center {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Itcavantgardestd, Arial, sans-serif;
  font-size: 3em;
  font-weight: 700;
  line-height: 1.2;
}

.text-align-center p {
  font-size: 20px;
}

.slider-section {
  overflow: hidden;
  background: rgb(24, 166, 190);
  padding: 20px 0;
}

.slider-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

.slider-track.reverse {
  animation: scroll-right 40s linear infinite;
}

.slide {
  width: 300px;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

/* Top scroll left */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Bottom scroll right */
@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }

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

/* Responsive */
@media (max-width: 768px) {
  .slide {
    width: 220px;
    height: 140px;
  }

  .slider-track {
    animation-duration: 25s;
  }

  .slider-track.reverse {
    animation-duration: 25s;
  }
}

.benefits-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px;
  gap: 40px;
  flex-wrap: wrap;
}

.benefits-content {
  flex: 1;
  min-width: 300px;
}

.subheading {
  color: #002921;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.benefits-content h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  font-size: 1.2rem;
  margin: 15px 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.benefits-list li:hover {
  color: black;
}

.benefit-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.benefit-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 400px;
  transition: 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .benefits-section {
    flex-direction: column;
    align-items: center;
  }

  .benefit-image {
    margin-top: 30px;
  }
}

.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 60px 20px;

}

.contact-info, .contact-form {
  flex: 1 1 400px;
  padding: 20px;
}

.contact-info h3 {
  color: black;
  margin-bottom: 5px;
}

.contact-info p, .contact-info a {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #111;
  text-decoration: none;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 600;
}

.contact-form h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: red;
  margin: 8px auto 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: none;
  border-bottom: 1px solid #000;
  background: transparent;
  font-size: 16px;
  color: #000;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button {
  width: 100%;
  background-color: #169fbe;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 16px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #117c96;
}

.social-icons {
  text-align: center;
  padding: 20px 0;
  background-color: #f2f2f2;
}

.social-icons i {
  font-size: 24px;
  margin: 0 15px;
  cursor: pointer;
  color: #000;
  transition: color 0.3s;
}

.social-icons i:hover {
  color: #169fbe;
}

footer {
  text-align: center;
  padding: 15px;
  background-color: #bbb;
  font-size: 14px;
}

footer a {
  color: #000;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    padding: 30px 20px;
  }
}