/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #333;
}

/* Careers Section */
.careers-section {
  position: relative;
  overflow: hidden;
}

.careers-header {
  background-color: white;
  padding: 100px 40px 40px;
  text-align: left;
  z-index: 2;
}

.careers-header h1 {
  font-size: 48px;
  font-weight: 600;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.careers-header p {
  font-size: 18px;
  font-weight: 500;
  color: #555;
  max-width: 600px;
  margin-top: 10px;
}

.image-clip {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 30%, 100% 0%, 100% 100%, 0% 100%);
  margin-top: -80px;
  z-index: 1;
}

.image-clip img {
  width: 100%;
  height: auto;
  display: block;
}

/* Red slant line */
.image-clip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, red, red);
  clip-path: polygon(0 30%, 100% 0%, 100% 2%, 0 32%);
  z-index: 2;
  pointer-events: none;
}

/* Internship Section */
.internship-heading {
  margin-top: 56px;
  margin-bottom: 24px;
  font-size: 48px;
  color: black;
  font-weight: 600;
  text-align: center;
}

.internship-desc-para {
  font-size: 18px;
  color: #444;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 32px auto;
  line-height: 1.7;
}

/* Flip Cards */
.career-categories-row {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.career-category-block {
  width: 270px;
  height: 210px;
  background: #a86a09;
  border-radius: 2px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
  transform-style: preserve-3d;
}

.career-category-block:hover .flip-card-inner,
.career-category-block:focus-within .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 18px 0 18px;
  box-sizing: border-box;
}

.flip-card-front {
  background: inherit;
  color: #fff;
  z-index: 2;
}

.flip-card-back {
  background: #fff;
  color: #222;
  transform: rotateY(180deg);
  z-index: 3;
}

.career-category-block .flip-card-back,
.career-category-block .flip-card-front {
  display: flex;
}

.career-category-title {
  font-size: 24px;
  font-weight: 700;
  z-index: 2;
  margin-bottom: 150px;
  color: #fff;
  text-align: left;
  align-self: flex-start;
}

.career-category-block.graduates {
  background: #f7b140;
}
.career-category-block.professionals {
  background: #1b9de9;
}
.career-category-block.students {
  background: #0cf1d7;
}
.career-category-block.locations {
  background: #ff6352;
}

.career-category-icon {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 90px;
  height: 90px;
  opacity: 0.22;
}

.graduates-back-content,
.professionals-back-content,
.students-back-content,
.locations-back-content {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

/* Culture Section */
.culture-section {
  padding: 64px 24px;
  max-width: 1100px;
  margin: auto;
}

.culture-heading {
  font-size: 48px;
  text-align: center;
  margin-bottom: 32px;
  color: #000;
  font-weight: 600;
}

.culture-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.culture-image {
  max-width: 520px;
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  margin-left: -150px;
  margin-bottom: 200px;
}

.culture-image:hover {
  transform: scale(1.1);
}

.culture-desc {
  flex: 1;
  font-size: 18px;
  color: #444;
  line-height: 1.7;
  min-width: 260px;
  text-align: left;
  margin-bottom: 190px;
}

/* Job Listings Section */
.job-listings-heading {
  margin-top: -200px;
  margin-bottom: 50px;
  font-size: 48px;
  color: #000;
  font-weight: 600;
  text-align: center;
}

.job-listings-images-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.job-listing-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 320px;
  width: 100%;
  transition: box-shadow 0.2s;
}

.job-listings-image {
  max-width: 320px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.job-listing-block:hover .job-listings-image {
  transform: scale(1.08);
  cursor: pointer;
}

.job-listing-info {
  margin-top: 12px;
  text-align: center;
}

.job-listing-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  background: transparent;
  transition: background 0.3s;
}

.job-listing-info p {
  font-size: 16px;
  color: #e53935;
}

.job-listing-block:hover .job-listing-info h3 {
  background: linear-gradient(90deg, #ff000e, #e5d118); /* Two-color gradient */
  padding: 8px 12px; /* Neat spacing */
  border-radius: 4px; /* Optional: smooth corners */
  color: black; /* Text color for better visibility */
  transition: all 0.3s ease; /* Smooth animation */
}


/* Ratings Section */
.ratings-container {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  padding: 40px 32px 32px 32px;
  max-width: 1200px;
  margin: 0 auto 48px auto;
}

.ratings-section {
  margin: 64px auto 0 auto;
  max-width: 1200px;
  padding: 0 24px 40px 24px;
  background: #fff;
}

.ratings-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 32px;
  gap: 32px;
  position: relative;
  min-height: 120px;
}

.ratings-title {
  font-size: 48px;
  color: #1a1026;
  font-weight: 600;
  margin-bottom: 0;
  text-align: left;
  position: relative;
  z-index: 3;
  flex: none;
  align-self: flex-start;
}

.recommend-block {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  margin: 0 32px 0 0;
  z-index: 2;
}

.recommend-label {
  font-size: 18px;
  color: #1a1026;
  text-align: right;
  line-height: 1.3;
  font-weight: 500;
  min-width: 110px;
}

.recommend-circle {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recommend-percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 700;
  color: #1a1026;
}

.ratings-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  position: relative;
  min-height: 270px;
}

.ratings-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 56px;
  margin-top: 0;
  margin-bottom: 0;
  z-index: 1;
}

.ratings-group {
  display: flex;
  gap: 56px;
  flex: none;
  justify-content: center;
}

.rating-block {
  text-align: center;
  min-width: 140px;
  background: #f6fbff;
  border: 2px solid #19b5fe;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(25,181,254,0.08);
  padding: 24px 18px 20px 18px;
  min-width: 170px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.rating-label {
  font-size: 16px;
  font-weight: 600;
  color: #1a1026;
  margin-bottom: 10px;
}

.rating-value {
  font-size: 2.7rem;
  color: #1a1026;
  font-weight: 700;
  margin-bottom: 6px;
}

.rating-stars {
  font-size: 1.7rem;
}

.star {
  color: #19b5fe;
  margin: 0 1px;
}

.star.filled {
  color: #19b5fe;
}

.star:not(.filled) {
  color: #222;
  opacity: 0.2;
}

/* Ratings Social (Follow Us On) */
.ratings-image-bar {
  width: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 36px 0 32px 0;
  margin: 0;
}

.ratings-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.ratings-social-title {
  margin-bottom: 0;
  margin-right: 16px;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  background: #1565d8;
  padding: 6px 24px 6px 24px;
  border-radius: 4px;
  margin-right: 16px;
  letter-spacing: 1px;
}

.ratings-social-icon {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  transition: transform 0.2s;
  background: none;
  box-shadow: none;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
}

.ratings-social-icon img {
  width: 36px;
  height: 36px;
  display: block;
}

.ratings-social-icon:hover {
  transform: scale(1.12);
  filter: brightness(1.3);
}

/* Inclusion Section */
.inclusion-section {
  position: relative;
  width: 100%;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.inclusion-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.inclusion-content {
  position: relative;
  z-index: 2;
  padding: 48px 0 48px 7vw;
  max-width: 900px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.inclusion-title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.inclusion-desc {
  font-size: 1.6rem;
  font-style: italic;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

/* Section Heading Underline Style */
.section-heading-underline,
.section-heading-underline1,
.section-heading-underline3 {
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 18px;
  width: fit-content;
}

.section-heading-underline::after,
.section-heading-underline1::after,
.section-heading-underline3::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: scaleX(1);
  transform-origin: left;
  width: 50%;
  height: 7px;
  background: linear-gradient(to right, #ff000e, #e5d118);
  border-radius: 4px;
  transition: width 0.3s ease; /* Animate width on hover */
}

.section-heading-underline:hover::after,
.section-heading-underline1:hover::after, 
.section-heading-underline3:hover::after {
  width: 100%; /* Expand to full width on hover */
}

.about-us-left h2.section-heading-underline {
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 18px;
  color: #222;
  width: fit-content;
}

.about-us-left h2.section-heading-underline::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: scaleX(1);
  transform-origin: left;
  width: 50%;
  height: 4px;
  background: linear-gradient(to right, #ff000e, #e5d118);
  border-radius: 2px;
  transition: width 0.3s ease; /* Animate width on hover */
}

.about-us-left h2.section-heading-underline:hover::after {
  width: 100%; /* Expand to full width on hover */
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .careers-header {
    padding: 70px 20px 30px;
  }
  .careers-header h1 {
    font-size: 42px;
  }
  .careers-header p {
    font-size: 1.05rem;
    max-width: 90vw;
  }
  .internship-heading {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 18px;
  }
  .internship-desc-para {
    font-size: 1rem;
    max-width: 98vw;
  }
  .career-categories-row {
    gap: 18px;
  }
  .career-category-block {
    width: 220px;
    height: 170px;
  }
  .culture-section {
    padding: 40px 10px;
  }
  .culture-heading {
    font-size: 2rem;
    margin-top: -61px;
  }
  .culture-image {
    max-width: 350px;
    height: 220px;
    margin-left: 0;
    margin-bottom: 40px;
  }
  .culture-desc {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  .job-listings-heading {
    font-size: 2rem;
    margin-top: -120px;
  }
  .job-listings-images-row {
    gap: 18px;
  }
  .job-listings-image {
    max-width: 220px;
    height: 120px;
  }
  .ratings-container,
  .ratings-section {
    padding: 20px 8px;
    max-width: 98vw;
  }
  .ratings-header-row {
    flex-direction: column;
    gap: 12px;
    min-height: 80px;
  }
  .ratings-title {
    font-size: 1.3rem;
  }
  .recommend-block {
    position: static;
    margin: 0;
    min-width: 120px;
  }
  .ratings-row,
  .ratings-group {
    gap: 18px;
  }
  .rating-block {
    min-width: 110px;
    min-height: 110px;
    padding: 12px 8px 10px 8px;
  }
  .rating-label {
    font-size: 0.95rem;
  }
  .rating-value {
    font-size: 1.5rem;
  }
  .rating-stars {
    font-size: 1.1rem;
  }
  .inclusion-content {
    padding: 24px 0 24px 4vw;
    max-width: 98vw;
  }
  .inclusion-title {
    font-size: 1.5rem;
  }
  .inclusion-desc {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .careers-header {
    padding: 40px 10px 20px;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 44px;
  }
  .careers-header h1 {
    font-size: 2rem;
    line-height: 1.1;
    margin-right: 279px;
  }
  .careers-header p {
    font-size: 0.9rem;
    margin-top: 8px;
    margin-right: 0;
    text-align: left;
    margin-bottom: 31px;
  }
  .image-clip img {
    height: 200px;
  }
  .internship-heading {
    font-size: 1.3rem;
    margin-top: 24px;
    margin-bottom: 12px;
    padding: -4px 4px;
  }
  .internship-desc-para {
    font-size: 0.9rem;
    max-width: 99vw;
    padding: 0 6px;
    text-align: left;
  }
  .career-categories-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .career-category-block {
    width: 95vw;
    max-width: 320px;
    height: 202px;
  }
  .career-category-title {
    margin-bottom: 80px;
    font-size: 1rem;
  }
  .culture-content {
    flex-direction: column;
    gap: 18px;
  }
  .culture-image {
    width: 100vw;
    max-width: 74vw;
    height: 243px;
    margin-left: 0;
    margin-bottom: 20px;
  }
  .culture-desc {
    font-size: 0.95rem;
    margin-bottom: 20px;
    margin-top: 0;
    text-align: left;
  }
  .job-listings-heading {
    font-size: 2.3rem;
    margin-top: -46px;
  }
  .job-listings-images-row {
    flex-direction: column;
    gap: 12px;
  }
  .job-listings-image {
    max-width: 77vw;
    height: 184px;
    margin-left: 90px;
  }
  .job-listing-info h3 {
    font-size: 1rem;
    margin-left: 60px;
  }
  .job-listing-info p {
    font-size: 0.9rem;
    margin-left: 35px;
  }
  .job-desc {
    margin-left: 57px;
  }
   .section-heading-underline::after,
    .section-heading-underline1::after,
  .section-heading-underline3::after {
    width: 90px;
    height: 3px;
    background: linear-gradient(to right, #ff000e, #e5d118);
  }
  .about-us-left h2.section-heading-underline::after {
    width: 90px;
    height: 3px;
    background: linear-gradient(to right, #ff000e, #e5d118);
  }
  .ratings-header-row {
    flex-direction: column;
    gap: 8px;
    min-height: 60px;
  }
  .ratings-title {
    font-size: 1.1rem;
    margin-top: -82px;
  }
  .ratings-row,
  .ratings-group {
    flex-direction: column;
    gap: 10px;
  }
  .rating-block {
    min-width: 90vw;
    min-height: 70px;
    padding: 8px 4px 8px 4px;
  }
  .ratings-image-bar {
    flex-direction: column;
    padding: 18px 0 16px 0;
  }
  .ratings-social-title {
    font-size: 1.1rem;
    padding: 4px 10px;
    margin-right: 0;
  }
  .ratings-social {
    gap: 10px;
  }
  .ratings-social-icon {
    width: 32px;
    height: 32px;
  }
  .ratings-social-icon img {
    width: 22px;
    height: 22px;
  }
  .inclusion-section {
    min-height: 160px;
  }
  .inclusion-content {
    padding: 12px 0 12px 2vw;
    max-width: 99vw;
  }
  .inclusion-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  .inclusion-desc {
    font-size: 0.9rem;
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  .careers-header {
    padding: 60px 24px 28px;
    text-align: left;
    margin-top: 18px;
  }
  .careers-header h1 {
    font-size: 2.5rem;
  }
  .careers-header p {
    font-size: 1.1rem;
    max-width: 95vw;
    margin-bottom: 20px;
  }
  .internship-heading {
    font-size: 2rem;
    margin-top: 36px;
    margin-bottom: 16px;
  }
  .internship-desc-para {
    font-size: 1.05rem;
    max-width: 95vw;
    padding: 0 10px;
  }
  .career-categories-row {
    gap: 24px;
  }
  .career-category-block {
    width: 339px;
    height: 225px;
  }
  .culture-section {
    padding: 48px 16px;
  }
  .culture-heading {
    font-size: 2rem;
  }
  .culture-content {
    gap: 24px;
  }
  .culture-image {
    max-width: 400px;
    height: 358px;
    margin-left: 0;
    margin-bottom: 40px;
  }
  .culture-desc {
    font-size: 1.05rem;
    margin-bottom: 40px;
  }
  .job-listings-heading {
    font-size: 2rem;
    margin-top: -100px;
  }
  .job-listings-images-row {
    gap: 20px;
  }
  .job-listings-image {
    max-width: 240px;
    height: 140px;
  }
  .job-listing-info h3 {
    font-size: 1.05rem;
  }
  .job-listing-info p {
    font-size: 1rem;
  }
  .ratings-container,
  .ratings-section {
    padding: 24px 12px;
    max-width: 98vw;
  }
  .ratings-header-row {
    flex-direction: row;
    gap: 18px;
    min-height: 90px;
  }
  .ratings-title {
    font-size: 1.4rem;
  }
  .recommend-block {
    min-width: 140px;
  }
  .ratings-row,
  .ratings-group {
    gap: 24px;
  }
  .rating-block {
    min-width: 130px;
    min-height: 130px;
    padding: 16px 10px 14px 10px;
  }
  .rating-label {
    font-size: 1rem;
  }
  .rating-value {
    font-size: 2rem;
  }
  .rating-stars {
    font-size: 1.3rem;
  }
  .ratings-image-bar {
    padding: 24px 0 20px 0;
  }
  .ratings-social-title {
    font-size: 1.4rem;
    padding: 5px 16px;
  }
  .ratings-social {
    gap: 16px;
  }
  .ratings-social-icon {
    width: 40px;
    height: 40px;
  }
  .ratings-social-icon img {
    width: 28px;
    height: 28px;
  }
  .inclusion-section {
    min-height: 220px;
  }
  .inclusion-content {
    padding: 20px 0 20px 4vw;
    max-width: 97vw;
  }
  .inclusion-title {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }
  .inclusion-desc {
    font-size: 1rem;
  }
}

@media (max-width: 560px) and (min-width: 520px), (device-width: 540px) {
  .job-listings-heading {
    font-size: 1.7rem;
    margin-top: -60px;
    margin-bottom: 30px;
  }
  .job-listings-images-row {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .job-listings-image {
    max-width: 90vw;
    height: 206px;
    margin-left: 0;
  }
  .job-listing-info h3 {
    font-size: 1rem;
    margin-left: 0;
  }
  .job-listing-info p {
    font-size: 0.9rem;
    margin-left: 0;
  }
  .job-desc {
    margin-left: 0;
  }
}

@media (min-width: 900px) and (max-width: 1400px) {
  .ratings-container,
  .ratings-section {
    padding: 32px 32px 32px 32px;
    max-width: 1900px;
  }
  .ratings-header-row {
    flex-direction: row;
    gap: 32px;
    min-height: 110px;
  }
  .ratings-title {
    font-size: 1.7rem;
  }
  .recommend-block {
    min-width: 160px;
  }
  .ratings-row,
  .ratings-group {
    gap: 40px;
  }
  .rating-block {
    min-width: 150px;
    min-height: 150px;
    padding: 20px 14px 18px 14px;
  }
  .rating-label {
    font-size: 1.15rem;
  }
  .rating-value {
    font-size: 2.2rem;
  }
  .rating-stars {
    font-size: 1.4rem;
  }
  .culture-section {
    padding: 56px 32px;
    max-width: 1000px;
  }
  .culture-heading {
    font-size: 4.2rem;
    margin-bottom: 28px;
  }
  .culture-content {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .culture-image {
    max-width: 600px;
    width: 100%;
    height: 400px;
    margin-left: 0;
    margin-bottom: 40px;
  }
  .culture-desc {
    font-size: 1.15rem;
    margin-bottom: 60px;
    text-align: left;
    min-width: 260px;
    width: 100%;
    margin-top: 0;
  }
  .job-listings-heading {
    margin-top: -104px;
    font-size: 4.2rem;
  }
}

@media (min-width: 1024px) and (max-width: 1400px) and (orientation: portrait) {
  .culture-image {
    max-width: 520px;
    width: 100%;
    height: 350px;
    margin-left: 0;
    margin-bottom: 80px;
  }
}

/* Centered Headings for Key Sections */
.internship-heading,
.culture-heading,
.job-listings-heading {
  text-align: center !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}