/* ==============================
   GLOBAL RESETS & BASE STYLES
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Josefin Sans', sans-serif;
}

body {
  background-color: #ffffff;
  color: #1a1a3c;
}

/* ==============================
   HERO SECTION
============================== */
.hero-section {
  position: relative;
  padding: 80px 40px;
  background-color: #f4f6fc;
  overflow: visible;
}

.hero-decorations {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.decor {
  position: absolute;
  width: 80px;
  opacity: 0.85;
}

.decor1 { top: -55px; left: -2px; width: 224px; height: 224px;}
.decor2 { top: 400px; right: 750px; width: 280px; height: 227px; animation: drift-down-right 3s ease-in-out infinite;}
.decor3 { bottom: 30px; left: 0; width: 300px; height: 240px; animation: drift-up-left 3s ease-in-out infinite; animation-delay: 2s;}
.decor5 { top: 100px; left: 50%; width:150px; height:180px; transform: translateX(-50%); animation: shake 3s infinite ease-in-out;}
.decor6 { bottom: 30px; right: 100px; width: 277px; height: 338px; animation: drift-up-right 3s ease-in-out infinite;}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  top:-250px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  gap: 40px;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h5 {
  font-size: 30px;
  font-weight: 500;
  color: #4541bb;
}

.hero-text h1 {
  font-size: 70px;
  font-weight: 800;
  color: #0b0c4c;
  margin-bottom: 20px;
  line-height: 1.2;
}

.img-career{
    padding-left: 64.5rem;
}

.hero-text p {
  font-size: 24px;
  margin-bottom: 30px;
  color: #2b2b4e;
}

.btn-primary {
  background-color: #4e42d4;
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #3a30b2;
}

.hero-image {
  display: flex;
  justify-content: flex-end; /* align to right */
  align-items: flex-start;   /* align to top */
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* ==============================
   BOX SECTION
============================== */
.box {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 30px 40px;
  display: flex;
  gap: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 10;
  flex-wrap: wrap;
  position:sticky;
  max-width: 1200px;
  margin: -65px auto;
}

.box-item {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.box-item p {
  font-size: 23px;
  color: #11074b;
}

/* ==============================
   MID SECTION
============================== */
.custom-image {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

.h4t {
  font-size: 30px;
  font-weight: bold;
  color: #0121f0;
  text-align: center;
}

.title {
  font-size: 50px;
  font-weight: 800;
  color: #020d51;
  line-height: 1.3;
  margin: 20px 0;
  text-align: center;
}

.para {
  max-width: 600px;
  margin: 0 auto 20px;
  text-align: center;
  color: #020d51;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items:baseline;
}

.list-item {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #1a1a1a;
  gap: 10px;
}

.list-item p {
  margin: 0;
}

.check {
  width: 24px;
  height: 24px;
}

/* ==============================
   FAQ Section
============================== */
.questions {
  background-color: #ffffff;
  padding: 40px 20px;
}

.texts {
  text-align: center;
  margin-bottom: 40px;
}

.texts h6 {
  font-size: 24px;
  font-weight: 500;
  color: #5a55e3;
}

.texts h1 {
  font-size: 50px;
  font-weight: 700;
  color: #080632;
}

.texts p {
  font-size: 18px;
  color: #080632;
}

.box-container {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  margin: 20px auto;
  max-width: 800px;
  overflow: hidden;
}

.box-toggle {
  background: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
}

.toggle-icon {
  width: 15px;
  height: 15px;
  transition: transform 0.3s ease;
}

.box-title {
  flex: 1;
}

.box-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.box-content p {
  font-size: 16px;
  text-align: left;
  padding: 10px 0;
}

.box-container.active .box-content {
  max-height: 500px;
}

/* ==============================
   ANIMATIONS
============================== */
@keyframes shake {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-2px, 1px) rotate(-1deg); }
  40% { transform: translate(-1px, -2px) rotate(1deg); }
  60% { transform: translate(2px, 1px) rotate(0deg); }
  80% { transform: translate(1px, -1px) rotate(1deg); }
}

@keyframes drift-up-left {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -10px); }
}

@keyframes drift-up-right {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -10px); }
}

@keyframes drift-down-right {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, 10px); }
}

/* ==============================
   RESPONSIVE STYLES
============================== */
@media (max-width: 1024px) {
  .hero-text h1 { font-size: 48px; }
  .title { font-size: 40px; }
  .img-career{
    width: 19.5rem;
    padding-top: 12rem;
    padding-left:0;
  }
}

@media (max-width: 768px) {
  .hero-section { padding: 40px 20px; }
  .hero-content { flex-direction: column; text-align: center; top: 16px;}
  .hero-text h1 { font-size: 32px; }
  .hero-text h5 { font-size: 18px; }
  .hero-text p { font-size: 16px; }
  .box { flex-direction: column; padding: 20px; gap: 20px; }
  .box-item p { font-size: 16px; }
  .title { font-size: 32px; }
  .list { align-items: flex-start; }
  .decor { display: none; }
  .img-career{
    width: 19.5rem;
    padding-top: 12rem;
    padding-left:0;
  }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 28px; }
  .title { font-size: 24px; }
  .para { font-size: 14px; }
  .img-career{
    width: 19.5rem;
    padding-top: 12rem;
    padding-left:0;
  }
}