/*!***************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/styles/homepage.css ***!
  \***************************************************************************/
:root {
  --brand-primary: #12f9f3;
  --brand-primary-600: #12f9f3;
  --brand-secondary: #12f9f3;
  --text-strong: #dfe7ef;
  --text-muted: #9fb2c5;

  --hero-bg-start: #0b1220;
  --hero-bg-end: #101a33;

  --header-bg: rgba(11, 18, 32, 0.85);
  --header-border: rgba(255,255,255,0.06);

  --link-color: #dfe7ef;
  --link-hover: var(--brand-primary);
}

/* ================ Homepage Hero ================= */

.hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 120px 380px;
  color: var(--text-strong);
  background:#101a33;
}

.hero-content { max-width: 720px; }

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .2px;
  margin: 0 0 1rem 0;
  color: var(--text-strong);
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 2rem 0;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: .95rem 1.6rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #032323;
  border: 1px solid #12f9f3;
}

.btn-primary:hover {
  background: var(--brand-primary-600);
  transform: translateY(-1px);
  color: #032323;
}

.btn-secondary {
  color: var(--text-strong);
  border: 2px solid var(--text-strong);
}

.btn-secondary:hover {
  transform: translateY(-1px);
}

@media (max-width: var(--mobile-breakpoint)) {
  .hero { padding: 80px 24px; }
  .hero-title { font-size: 2.2rem; }
}


/* ================ Latest Jobs ================= */

.latest-jobs {
  padding: 80px 300px;
  background: var(--hero-bg-start);
  position: relative;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.jobs-carousel {
  display: flex;
  gap: 1.5rem;
  overflow: hidden; /* hide scroll */
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  flex: 1;
}

.job-card {
  flex: 0 0 calc(25% - 1.2rem);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  scroll-snap-align: start;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all .25s ease;
}

.job-card:hover {
  background: rgba(18,249,243,0.08);
  border-color: var(--brand-primary);
  box-shadow: 0 8px 20px rgba(18,249,243,0.25);
}

.job-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 .5rem 0;
}

.job-meta {
  font-size: .95rem;
  font-weight: 500;
  color: #12f9f3;
  margin-bottom: 1rem;
}

.job-desc {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.job-card .btn {
  align-self: flex-start;
}

.carousel-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--brand-primary);
  font-size: 1.2rem;
  font-weight: bold;
  height: 44px;
  width: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.carousel-btn:hover {
  background: var(--brand-primary);
  color: #032323;
  border-color: var(--brand-primary);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 16px rgba(18,249,243,0.3);
}

.carousel-btn.prev { left: -22px; }
.carousel-btn.next { right: -22px; }


/* Responsive */
@media (max-width: 1200px) {
  .job-card { flex: 0 0 calc(33.333% - 1rem); }
}
@media (max-width: 900px) {
  .job-card { flex: 0 0 calc(50% - 1rem); }
}
@media (max-width: 600px) {
  .job-card { flex: 0 0 100%; }
}

/* =============== Testimonial About ============= */

.testimonial-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 50px var(--nav-padding-x);
  align-items: center;
  background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
}

.testimonial blockquote {
  background: rgba(255,255,255,0.06);
  border-left: 6px solid var(--brand-primary);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-strong);
  position: relative;
}

.testimonial blockquote::before {
  content: "“";
  font-size: 4rem;
  color: var(--brand-primary);
  position: absolute;
  top: -20px;
  left: 15px;
}

.testimonial footer {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: right;
}

.about h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-strong);
}

.about p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .testimonial-about {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 40px 20px;
  }
  .testimonial{
    margin-bottom: 25px;
  }
}

/* ============== Roles ============== */

.roles {
  padding: 100px var(--nav-padding-x);
  background: var(--hero-bg-start);
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.role-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-strong);
  transition: all 0.3s ease;
  cursor: pointer;
  aspect-ratio: 1 / 1; 
  display: flex;
  flex-direction: column;   /* stack image above text */
  align-items: center;
  justify-content: center;
  padding: 1rem;
  gap: 0.75rem;             /* space between image and text */
}

.role-card img {
  max-width: 65%;           /* keep icon proportional */
  height: auto;
  display: block;
  margin: 0 auto;
}

.role-card span {
  display: block;
  margin-top: auto 0;
}
.role-card {
  text-decoration: none;
}
.role-card span {
  color: var(--text-strong);
}
.role-card:hover span {
  color: var(--brand-primary);
}


.role-card:hover {
  background: rgba(18,249,243,0.08);
  border-color: var(--brand-primary);
  box-shadow: 0 8px 20px rgba(18,249,243,0.25);
  transform: translateY(-4px);
  color: var(--brand-primary);
}

.roles-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.roles-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.roles-content .intro {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-strong);
}

.roles-content .btn { margin-top: 1.5rem; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .roles-grid { grid-template-columns: 1fr; gap: 1rem; }
  .role-card { font-size: 1rem; aspect-ratio: auto; }
}

/* Hero Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 30px;
  }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: 2rem; line-height: 1.3; }
  .hero-subtitle { font-size: 1rem; }
  .hero-buttons { justify-content: center; }
}

/* Latest Jobs Responsive */
@media (max-width: 768px) {
  .latest-jobs { padding: 60px 20px; }
  .job-card { flex: 0 0 100%; }
}

/* Roles Responsive */
@media (max-width: 768px) {
  .roles { padding: 60px 20px; }
}

