header {
  background-image: url("https://images.pexels.com/photos/13134998/pexels-photo-13134998.jpeg");
  margin: 0;
  padding: 0;
  height: 700px;
  z-index: -2;

  /* Equivalent to object-fit */
  background-size: cover;   /* fills container */
  background-position: center; /* keeps it centered */
  background-repeat: no-repeat; /* prevents tiling */
}

.main-header-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.second-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding-top: 120px;
}
.heading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  width: 40%;
}
.heading h2 {
  color: #ffffff;
  font-size: 4.5rem;
  font-weight: 600;
}
.card {
  z-index: 2;
  width: 600px;
  height: 450px;
  background-color: #16047f;
}
.card h3 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 600;
  padding-top: 20px;
  text-align: jusstify;
  padding: 30px;
}
.card button {
  width: 300px;
  height: 60px;
  background-color: #d7dd2b;
  color: #16047f;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  margin-left: 30px;
  margin-top: 60px;
}
.card button:hover {
  background-color: #83e9f5f2;
  color: #ffffff;
  transition: 0.3s ease-in-out;
}

.pattern1,
.pattern2 {
  height: 200px;
  width: 200px;
  background-color: #d7dd2b;
  display: none;
}

.pattern1 {
  z-index: 1;
  position: absolute;
  top: 60%;
  left: 49%;
}
.pattern2 {
  z-index: 1;
  position: absolute;
  top: 10%;
  right: 5.5%;
}
/* ==================================================== */
.content1{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
margin-bottom: 120px;
}
.actual-content{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    /* justify-content: center; */
    /* align-items: center; */
    /* padding: 40px; */
}

.left-img {
    max-width: 600px;
    height: 300px;
    background-size: cover;
}
.right-text{
    max-width: 600px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 40px;
}

.right-text h3 {
    font-size: 1.8rem;
    font-weight: 300;
    color: #16047f;
    text-align: left;
}
.pattern3{
    height: 200px;
    width: 200px;
    background-color: #d7dd2b;
    z-index: -1;
    position: absolute;
    top: 1300px;
    left: 130px;
    display: none;
}
/* =================================================== */
.lists {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start; /* fixes vertical alignment */
    padding: 100px 150px 120px 150px;
    gap: 40px; /* better spacing */
    flex-wrap: wrap; /* responsive */
}

.list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    max-width: 400px; /* keeps it neat */
    flex: 1 1 300px; /* responsive growth */
}

.list .img {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.list .img img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* prevents stretching */
}

.list-text h3 { /* fixed selector */
    font-size: 1.2rem;
    font-weight: 600;
    color: #16047f;
    text-align: left;
    margin-bottom: 10px;
}

.list-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* =================================================== */
.careers-section {
  display: flex;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 48px auto;
  justify-content: center;
}
.careers-card {
  position: relative;
  flex: 1 1 0;
  min-width: 340px;
  max-width: 550px;
  
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(56, 175, 41, 0.12);
  background: #153157;
  display: flex;
  align-items: center;
  min-height: 650px;
}
.careers-card--left::before,
.careers-card--right::after {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  background: #ffab19;
  z-index: 2;
}
.careers-card--left::before {
  left: -18px;
  bottom: -18px;
}
.careers-card--right::after {
  right: -18px;
  top: -18px;
}
.careers-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) blur(0px);
}
.careers-card__content {
  position: relative;
  z-index: 1;
  padding: 44px 36px 34px 36px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  height: 100%;
}
.careers-card__content h2 {
  font-size: 2.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  color: #fff;
}

.careers-card__content p {
  font-size: 1.04rem;
  margin-bottom: 32px;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
}
.careers-link {
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.06em;
  background: rgba(255,171,25,0.85);
  padding: 12px 24px;
  border-radius: 22px;
  align-self: start;
  transition: background 0.25s;
}
.careers-link:hover {
  background: #ffab19;
  color: #153157;
}

@media (max-width: 900px) {
  .careers-section { flex-direction: column; gap: 2rem; }
  .careers-card { max-width: 100%; }
}
/* =================================================== */
.culture-section {
  background: #f4f6f8;
  padding: 64px 0 56px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.culture-title {
  color: #555;
  font-weight: 700;
  font-size: 2.3rem;
  text-align: center;
  margin-bottom: 53px;
  letter-spacing: 0.01em;
  font-family: 'Segoe UI', 'Montserrat', Arial, sans-serif;
}
.culture-cards {
  display: flex;
  gap: 34px;
  justify-content: center;
  width: 100%;
  max-width: 1120px;
  flex-wrap: wrap;
}
.culture-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(32,55,86,0.09);
  padding: 38px 28px 32px 28px;
  width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.24s, transform 0.18s;
  position: relative;
}
.culture-card:hover {
  box-shadow: 0 15px 36px rgba(32,55,86,0.14);
  transform: translateY(-3px) scale(1.02);
}
.culture-icon {
  width: 72px;
  height: 72px;
  background: #f8f2e5;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(239,212,135,0.15);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.culture-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 19px;
  color: #153157;
  text-align: center;
  letter-spacing: 0.01em;
}
.culture-card-desc {
  font-size: 1.07rem;
  color: #393e4d;
  text-align: justify;
  margin-bottom: 24px;
  line-height: 1.58;
  min-height: 120px;
}
.culture-card-link {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #153157;
  text-decoration: none;
  
  
  
  letter-spacing: 0.06em;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.culture-card-link:hover, .culture-card-link:focus {
  background: #efd487;
  color: #153157;
  box-shadow: 0 4px 16px rgba(239,212,135,0.18);
}
.culture-card-link span {
  color: #e0b84b;
  font-weight: bold;
  margin-left: 4px;
  transition: margin-left 0.18s;
}
.culture-card-link:hover span, .culture-card-link:focus span {
  margin-left: 9px;
}

@media (max-width: 1080px) {
  .culture-cards { gap: 22px; }
  .culture-card { width: 98%; max-width: 380px; }
}
@media (max-width: 800px) {
  .culture-cards { flex-direction: column; align-items: center; }
  .culture-card { width: 100%; max-width: 440px; margin-bottom: 23px;}
}
/* ==================================================== */
/* ==============================prospectives===================== */

.testimonial-slider {
  
  font-family: 'Segoe UI', 'Montserrat', Arial, sans-serif;
}
.testimonial-slider h2 {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 700;
  color: #2a3037a5;
  padding-top: 80px;
}
.testimonial-main {
  display: flex;
  min-height: 420px;
  gap: 0;
  padding: 0 150px;
  padding-top: 60px;
}
.testimonial-content {
  background: #153157;
  color: #fff;
  border-radius: 8px 0 0 8px;
  flex: 5 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 34px 34px 44px;
  min-width: 0;
  
}
.testimonial-text {
  font-size: 1.13rem;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 26px;
}
.testimonial-author {
  font-size: 1.04rem;
  margin-top: 15px;
  font-weight: 500;
}
.author-name {
  font-weight: 700;
}
.author-role {
  font-weight: 600;
  font-size: 1.03rem;
}
.testimonial-image-wrap {
  flex: 4 1 0;
  background: #f4f6f8;
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 0;
}
.testimonial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eee;
}
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  gap: 16px;
}
.testimonial-arrow {
  background: #fff;
  border: 2px solid #153157;
  color: #153157;
  border-radius: 28px;
  font-size: 1.85rem;
  cursor: pointer;
  padding: 5px 21px;
  transition: background 0.2s, color 0.2s;
}
.testimonial-arrow:active {
  background: #f4f6f8;
  color: #ffab19;
}
.testimonial-dots {
  display: flex;
  gap: 9px;
}
.testimonial-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #dbdbdb;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  outline: none;
}
.testimonial-dot.active {
  background: #ffab19;
  box-shadow: 0 0 0 3px #ffe9c0;
}

@media (max-width: 900px) {
  .testimonial-main {
    flex-direction: column;
    align-items: center;
  }
  .testimonial-content, .testimonial-image-wrap {
    border-radius: 8px 8px 0 0;
    width: 100%;
    min-width: 0;
    min-height: 220px;
    padding: 24px 14px 22px 22px;
  }
  .testimonial-image {
    width: 90vw;
    max-width: 260px;
    height: 260px;
    margin: 0 auto;
  }
}
/* ==============================prospectives end===================== */

/* Responsive overrides without changing existing styles */

/* Typography scaling */
@media (max-width: 1200px) {
  html {
    font-size: 15px;
  }
}
@media (max-width: 992px) {
  html {
    font-size: 14px;
  }
}
@media (max-width: 576px) {
  html {
    font-size: 13px;
  }
}

/* Navbar adjustments */
@media (max-width: 480px) {
  .nav-container {
    flex-wrap: wrap;
    padding: 0.5rem 1rem;
  }
  .nav-logo img {
    width: 80px;
  }
  .nav-menu {
    gap: 1rem;
    justify-content: center;
  }
  .nav-link {
    font-size: 0.9rem;
  }
}

/* Header Section */
@media (max-width: 992px) {
  .main-header-container,
  .second-container {
    flex-direction: column;
    padding-top: 70px;
    gap: 40px;
  }
  .heading {
    width: 100%;
    text-align: center;
  }
  .heading h2 {
    font-size: 3rem;
  }
  .card {
    width: 90vw;
    max-width: 500px;
    height: auto;
    padding: 20px;
    margin: 0 auto;
  }
  .card h3 {
    font-size: 1.4rem;
    padding: 20px 10px;
    text-align: center;
  }
  .card button {
    width: 80%;
    margin-left: 0;
  }
}
@media (max-width: 480px) {
  header {
    height: auto;
    padding-bottom: 40px;
  }
  .heading h2 {
    font-size: 2.3rem;
  }
  .card h3 {
    font-size: 1.15rem;
  }
  .card button {
    font-size: 1rem;
    height: 50px;
  }
}

/* Content Section */
@media (max-width: 900px) {
  .content1 {
    flex-direction: column;
    padding-top: 60px;
    margin-bottom: 80px;
  }
  .actual-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .left-img,
  .right-text {
    width: 90vw;
    max-width: 600px;
    height: auto;
  }
  .right-text h3 {
    text-align: center;
  }
  .right-text p {
    text-align: justify;
    padding: 0 15px;
  }
}

/* Lists Section */
@media (max-width: 768px) {
  .lists {
    flex-direction: column;
    padding: 50px 15px 80px 15px;
  }
  .list {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }
  .list-text h3,
  .list-text p {
    text-align: center;
  }
  .list .img {
    margin: 0 auto 15px auto;
  }
}

/* Careers Section */
@media (max-width: 992px) {
  .careers-section {
    flex-direction: column;
    gap: 3rem;
    padding: 0 15px;
  }
  .careers-card {
    max-width: 100%;
    min-height: auto;
  }
}

/* Culture Section */
@media (max-width: 768px) {
  .culture-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .culture-card {
    width: 90vw;
    max-width: 380px;
  }
}
@media (max-width: 480px) {
  .culture-card {
    padding: 30px 20px;
  }
  .culture-card-title {
    font-size: 1.1rem;
  }
  .culture-card-desc {
    font-size: 0.95rem;
  }
}

/* Testimonial Slider */
@media (max-width: 900px) {
  .testimonial-main {
    padding: 0 20px 30px 20px;
    flex-direction: column;
    min-height: auto;
  }
  .testimonial-content,
  .testimonial-image-wrap {
    width: 100%;
    border-radius: 8px 8px 0 0;
  }
  .testimonial-image {
    max-width: 260px;
    margin: 0 auto 20px auto;
    height: 260px;
  }
}
@media (max-width: 480px) {
  .testimonial-slider h2 {
    font-size: 1.8rem;
    padding-top: 40px;
  }
  .testimonial-text {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/* Back to Top Button */
#back-to-top {
  bottom: 20px;
  right: 15px;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 16px;
}
@media (max-width: 480px) {
  #back-to-top {
    bottom: 15px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}
