/* Opportunities Page Styles */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Page Container */
.opportunities-page {
  font-family: 'Poppins', sans-serif;
  background: #FFFFFF;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Main Content Wrapper */
.opportunities-main {
  padding-top: 0;
}

/* Opportunities Title */
.opportunities__title {
  width: 100%;
  max-width: 1203px;
  height: auto; /* Changed from fixed height to auto */
  min-height: 114px; /* Minimum height for consistency */
  margin: 0 auto;
  padding-top: 120px;
  margin-bottom: 30px; /* Added proper spacing */
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #274472;
}

/* Opportunities Description */
.opportunities__description {
  width: 100%;
  max-width: 1065px;
  height: auto; /* Changed from fixed height to auto */
  min-height: 114px; /* Minimum height for consistency */
  margin: 0 auto;
  margin-bottom: 50px; /* Added proper bottom margin */
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 25px;
  line-height: 130%;
  letter-spacing: 0%;
  text-align: center;
  color: #333333;
  padding: 0 20px;
}

.opportunities-header {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 50px; /* Increased margin for better spacing */
}

/* Cards Container */
.opportunities__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto 80px auto;
  padding: 0 20px;
}

/* Individual Card */
.opportunity-card {
  width: 100%;
  max-width: 384px;
  height: 409px;
  border: 3px solid #274472;
  border-radius: 10px;
  background: #FFFFFF;
  position: relative;
  padding: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  margin: 0 auto;
  overflow: hidden;
}

.opportunity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(39, 68, 114, 0.2);
}

/* Card Heading Box */
.opportunity-card__heading-box {
  width: 361px;
  height: 51px;
  display: flex;
  align-items: center;
  margin: 30px auto 20px;
  padding: 10px 0;
}

/* Card Icon */
.opportunity-card__icon {
  width: 57px;
  height: 61px;
  object-fit: contain;
  margin-left: 10px;
}

/* Card Heading */
.opportunity-card__heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 25px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #274472;
  margin-left: 10px;
  flex: 1;
}

/* Card Description */
.opportunity-card__description {
  width: 362px;
  height: 63px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #333333;
  margin: 0 auto 15px;
  text-align: center;
  overflow: hidden;
  padding: 0;
}

/* Card Bullets */
.opportunity-card__bullets {
  width: 256px;
  height: 150px;
  list-style: none;
  padding: 0;
  margin: 0 auto 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: #000000;
}

.opportunity-card__bullets li {
  margin-bottom: 6px;
  padding-left: 15px;
  position: relative;
  text-align: left;
}

.opportunity-card__bullets li:before {
  content: "•";
  color: #274472;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Card Button */
.opportunity-card__button {
  width: 178px;
  height: 24px;
  border-radius: 5px;
  border: 3px solid #274472;
  background: transparent;
  color: #274472;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 20px;
  line-height: 18px;
  padding: 0;
}

.opportunity-card__button:hover {
  background: #274472;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(39, 68, 114, 0.2);
}

/* Our Impact Section */
.our-impact-section {
  padding: 80px 20px;
  background: #FFFFFF;
  margin-top: 50px;
}

.our-impact__title {
  width: 100%;
  max-width: 627px;
  height: 83px;
  margin: 0 auto 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #274472;
  display: flex;
  align-items: center;
  justify-content: center;
}

.our-impact__description {
  width: 100%;
  max-width: 1065px;
  margin: 0 auto 60px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 25px;
  line-height: 130%;
  letter-spacing: 0%;
  text-align: center;
  color: #333333;
  padding: 0 20px;
}

/* Impact Metrics */
.impact-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.impact-metric {
  text-align: center;
}

.impact-metric__number {
  width: 100%;
  max-width: 191px;
  height: 73px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 100%;
  text-align: center;
  color: #274472;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.impact-metric__number::after {
  content: "+";
  font-size: 30px;
  position: absolute;
  right: 30px;
  top: 16px;
}

.impact-metric__label {
  width: 100%;
  max-width: 205px;
  height: 79px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 20px;
  text-align: center;
  color: #274472;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ready Section */
.ready-section {
  padding: 80px 20px;
  background: #FFFFFF;
  text-align: center;
}

.ready__title {
  width: 100%;
  max-width: 450px;
  height: 62px;
  margin: 0 auto 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 30px;
  text-align: center;
  color: #274472;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ready__description {
  width: 100%;
  max-width: 938px;
  margin: 0 auto 40px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 25px;
  text-align: center;
  color: #333333;
  padding: 0 20px;
}

.ready__button {
  width: 282px;
  height: 51px;
  margin: 0 auto;
  border-radius: 5px;
  border: 1px solid #274472;
  background: transparent;
  color: #274472;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  line-height: 47px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}

.ready__button:hover {
  background: #274472;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 68, 114, 0.3);
}

/* Responsive Design */
@media screen and (min-width: 1800px) {
  .opportunities__title {
    font-size: 70px;
    max-width: 1400px;
  }
  
  .opportunities__description {
    font-size: 30px;
    max-width: 1200px;
  }
  
  .opportunities__cards {
    max-width: 1500px;
    gap: 40px;
  }
  
  .opportunity-card {
    max-width: 420px;
    height: 450px;
  }
  
  .opportunity-card__heading-box {
    width: 400px;
    height: 60px;
  }
  
  .opportunity-card__icon {
    width: 65px;
    height: 69px;
  }
  
  .opportunity-card__heading {
    font-size: 28px;
  }
  
  .opportunity-card__description {
    width: 400px;
    font-size: 16px;
  }
  
  .opportunity-card__bullets {
    width: 300px;
    font-size: 14px;
  }
  
  .opportunity-card__button {
    width: 200px;
    height: 30px;
    font-size: 16px;
    line-height: 24px;
  }
  
  .our-impact__title {
    font-size: 70px;
  }
  
  .our-impact__description {
    font-size: 30px;
  }
  
  .impact-metric__number {
    font-size: 50px;
  }
  
  .impact-metric__label {
    font-size: 24px;
  }
  
  .ready__title {
    font-size: 40px;
  }
  
  .ready__description {
    font-size: 30px;
  }
  
  .ready__button {
    width: 320px;
    height: 60px;
    font-size: 24px;
    line-height: 56px;
  }
}

@media screen and (max-width: 1400px) {
  .opportunities__cards {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
  }
  
  .opportunity-card {
    width: 100%;
    max-width: 370px;
  }
  
  .impact-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 1200px) {
  .opportunities__cards {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    max-width: 800px;
  }
  
  .impact-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
  }
  
  .opportunities__title {
    font-size: 50px;
  }
}

@media screen and (max-width: 900px) {
  .opportunities-page {
    padding-top: 60px;
  }
  
  .opportunities__title {
    font-size: 40px;
    height: auto;
    padding: 15px 20px;
    margin-bottom: 25px; /* Proper spacing */
  }
  
  .opportunities__description {
    font-size: 20px;
    height: auto;
    line-height: 140%; /* Better line height for readability */
    margin-bottom: 40px; /* Proper spacing before cards */
  }
  
  .opportunities__cards {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
    max-width: 400px;
    gap: 30px;
  }
  
  .opportunity-card {
    margin: 0 auto;
    height: auto;
    min-height: 409px;
  }
  
  .opportunity-card__heading-box {
    width: 100%;
    margin: 20px auto;
  }
  
  .opportunity-card__description {
    width: 90%;
    height: auto;
  }
  
  .opportunity-card__bullets {
    width: 90%;
    height: auto;
  }
  
  .opportunity-card__button {
    margin: 0 auto 20px;
  }
  
  .our-impact-section {
    padding: 40px 20px;
  }
  
  .our-impact__title {
    font-size: 40px;
    height: auto;
  }
  
  .our-impact__description {
    font-size: 20px;
  }
  
  .impact-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .ready-section__title {
    font-size: 30px;
  }
  
  .ready-section__description {
    font-size: 20px;
  }
}

@media screen and (max-width: 600px) {
  .opportunities__title {
    font-size: 32px;
    padding-top: 80px;
    margin-bottom: 20px; /* Proper spacing */
    line-height: 110%; /* Better line height for mobile */
  }
  
  .opportunities__description {
    font-size: 16px;
    line-height: 150%; /* Better line height for mobile readability */
    margin-bottom: 35px; /* Proper spacing before cards */
    padding: 0 15px; /* Better side padding */
  }
  
  .opportunity-card__heading-box {
    height: auto;
    padding: 10px 5px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .opportunity-card__icon {
    margin: 0 auto 10px;
  }
  
  .opportunity-card__heading {
    width: 100%;
    margin: 0;
    text-align: center;
  }
  
  .our-impact__title {
    font-size: 32px;
  }
  
  .our-impact__description {
    font-size: 16px;
  }
  
  .impact-metrics {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .impact-metric {
    margin-bottom: 20px;
  }
  
  .ready-section__title {
    font-size: 24px;
  }
  
  .ready-section__description {
    font-size: 16px;
  }
  
  .ready-section__button {
    width: 220px;
    font-size: 18px;
  }
}

/* Ultra small mobile devices (350px and below) */
@media screen and (max-width: 350px) {
  .opportunities-main {
    padding: 0 10px;
  }
  
  .opportunities__title {
    font-size: 26px;
    padding-top: 60px;
    max-width: 320px;
    line-height: 1.2;
    margin-bottom: 15px; /* Proper spacing */
  }
  
  .opportunities__description {
    font-size: 14px;
    max-width: 320px;
    line-height: 1.4; /* Better readability */
    padding: 0 10px;
    margin-bottom: 30px; /* Proper spacing before cards */
  }
  
  .opportunities__cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }
  
  .opportunity-card {
    max-width: 280px;
    margin: 0 auto;
  }
  
  .opportunity-card__heading-box {
    height: auto;
    padding: 8px;
    min-height: 80px;
  }
  
  .opportunity-card__icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
  }
  
  .opportunity-card__heading {
    font-size: 16px;
    line-height: 1.2;
  }
  
  .opportunity-card__description {
    font-size: 12px;
    line-height: 1.3;
    padding: 12px 8px;
  }
  
  .our-impact {
    padding: 30px 10px;
  }
  
  .our-impact__title {
    font-size: 26px;
    max-width: 320px;
    line-height: 1.2;
  }
  
  .our-impact__description {
    font-size: 14px;
    max-width: 320px;
    line-height: 1.3;
  }
  
  .impact-metrics {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 280px;
  }
  
  .impact-metric {
    padding: 15px 10px;
    margin-bottom: 15px;
  }
  
  .impact-metric__number {
    font-size: 28px;
    line-height: 1.1;
  }
  
  .impact-metric__description {
    font-size: 12px;
    line-height: 1.2;
  }
  
  .ready-section {
    padding: 30px 10px;
  }
  
  .ready-section__title {
    font-size: 20px;
    max-width: 320px;
    line-height: 1.2;
  }
  
  .ready-section__description {
    font-size: 14px;
    max-width: 320px;
    line-height: 1.3;
  }
  
  .ready-section__button {
    width: 180px;
    height: 40px;
    font-size: 14px;
  }
}

/* Large screens 2200px+ */
@media screen and (min-width: 2200px) {
  .opportunities__title {
    font-size: 85px;
    max-width: 1700px;
  }
  
  .opportunities__description {
    font-size: 36px;
    max-width: 1500px;
  }
  
  .opportunities__cards {
    max-width: 1900px;
    gap: 50px;
  }
  
  .opportunity-card {
    max-width: 520px;
    height: 550px;
  }
  
  .opportunity-card__heading-box {
    width: 480px;
    height: 75px;
  }
  
  .opportunity-card__icon {
    width: 80px;
    height: 85px;
  }
  
  .opportunity-card__heading {
    font-size: 34px;
  }
  
  .opportunity-card__description {
    width: 480px;
    font-size: 20px;
  }
  
  .opportunity-card__bullets {
    width: 380px;
    font-size: 18px;
  }
  
  .opportunity-card__button {
    width: 240px;
    height: 38px;
    font-size: 20px;
    line-height: 30px;
  }
  
  .our-impact__title {
    font-size: 85px;
  }
  
  .our-impact__description {
    font-size: 36px;
  }
  
  .impact-metric__number {
    font-size: 60px;
  }
  
  .impact-metric__label {
    font-size: 28px;
  }
  
  .ready-section__title {
    font-size: 48px;
  }
  
  .ready-section__description {
    font-size: 28px;
  }
  
  .ready-section__button {
    width: 300px;
    height: 60px;
    font-size: 22px;
  }
}

/* Extra Ultra Large screens 2800px+ */
@media screen and (min-width: 2800px) {
  .opportunities__title {
    font-size: 105px;
    max-width: 2100px;
  }
  
  .opportunities__description {
    font-size: 44px;
    max-width: 1900px;
    line-height: 1.5;
  }
  
  .opportunities__cards {
    max-width: 2400px;
    gap: 70px;
  }
  
  .opportunity-card {
    max-width: 650px;
    height: 700px;
    padding: 40px;
    border-radius: 20px;
  }
  
  .opportunity-card__heading-box {
    width: 580px;
    height: 95px;
  }
  
  .opportunity-card__icon {
    width: 100px;
    height: 105px;
  }
  
  .opportunity-card__heading {
    font-size: 42px;
  }
  
  .opportunity-card__description {
    width: 580px;
    font-size: 26px;
    line-height: 1.6;
  }
  
  .opportunity-card__bullets {
    width: 480px;
    font-size: 22px;
  }
  
  .opportunity-card__button {
    width: 300px;
    height: 48px;
    font-size: 26px;
    line-height: 38px;
    border-radius: 12px;
  }
  
  .our-impact__title {
    font-size: 105px;
  }
  
  .our-impact__description {
    font-size: 44px;
    max-width: 1800px;
  }
  
  .impact-metrics {
    max-width: 2200px;
    gap: 60px;
  }
  
  .impact-metric__number {
    font-size: 80px;
  }
  
  .impact-metric__label {
    font-size: 36px;
  }
  
  .ready-section {
    padding: 120px 60px;
  }
  
  .ready-section__title {
    font-size: 60px;
    max-width: 1500px;
  }
  
  .ready-section__description {
    font-size: 36px;
    max-width: 1400px;
  }
  
  .ready-section__button {
    width: 380px;
    height: 75px;
    font-size: 28px;
    border-radius: 16px;
  }
}
