*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --header-height: 80px;
  --footer-height: 40px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 0;
  padding-bottom: var(--footer-height);
}

header {
  width: 100%;
  background-color: #EAF0F8;
  padding: 10px 20px;
  min-height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
}

header .Brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .Brand img {
  width: auto;
  height: 50px;
}

.Brand .title-wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
  line-height: 1;
}

header .Brand h1 {
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(90deg, #ff7a00 0%, #ff4b8f 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

header .Brand p {
  font-size: 14px;
  margin-top: 4px;
  color: #333;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
  color: #2B0A45;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a {
  text-decoration: none;
}

nav ul li a:hover {
  color: #4B5563;
}

.menu-icon,
#menu-toggle {
  display: none;
}


main section {
  scroll-margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}


/* ===== HOME HERO SECTION ===== */

#Homepage {
  position: relative;
  background: url("../img/home-bg.png") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* subtle dark overlay behind glass */
#Homepage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(10, 10, 20, 0.45),
    rgba(10, 10, 20, 1)
  );
  z-index: 0;
}

/* ===== Glass Card ===== */
.hero-glass {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  padding: 40px 36px;
  text-align: center;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

/* subtitle */
.hero-subtitle {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #ffb703;
}

/* main title */
.hero-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

/* gradient highlight */
.hero-title span {
  background: linear-gradient(90deg, #ff7a00, #ff3e6c);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== CTA Buttons ===== */
.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 2;
}

.btn {
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* primary CTA */
.btn-primary {
  background: linear-gradient(90deg, #ff7a00, #ff3e6c);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 62, 108, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 62, 108, 0.55);
}

/* outline CTA */
.btn-outline {
  color: #fff;
  background: linear-gradient(90deg, #ff7a00, #ff3e6c);
  border: 1px solid rgba(255, 255, 255, 0.5);
  
}

.btn-outline:hover {
  background: rgba(226, 100, 100, 0.774);
  transform: translateY(-2px);
}

/* small button variant */
.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 4px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Small text utility */
.small {
  font-size: 13px;
  color: #6b7280;
}

/* Inner table styling for nested tables */
.inner-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 8px;
}

.inner-table thead {
  background-color: #f5f5f5;
}

.inner-table th,
.inner-table td {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.inner-table tbody tr:hover {
  background-color: #f9f9f9;
}

.no-openings {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  max-width: 600px;
  margin: 40px auto 0;
}

.no-openings p {
  font-size: 16px;
  color: #444;
  margin-bottom: 10px;
}


/* ===== Services Section ===== */

#Services {
  align-items: flex-start;   
  justify-content: flex-start;
  flex-direction: column;    
  position: relative;
  background: url("../img/services-bg.jpg") center / cover no-repeat;
}

.services-section {
  padding: 10px 0;
}

/* ===== Top Image Scroller ===== */
.services-scroll {
  width: 100%;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 50px;
  margin-top: 0;
}

.scroll-track {
  width: max-content;
  display: flex;
  gap: 20px;
  animation: scrollImages 25s linear infinite;
}

.scroll-track img {
  height: 160px;
  width: 280px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
}

/* scrolling animation */
@keyframes scrollImages {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Services Content ===== */
.services-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  text-align: center;
  margin-top: 40px;
}

.services-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #ff7a00, #ff3e6c);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* service card */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  padding: 28px 24px;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #2b0a45;
}

.service-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* ===== Service CTA ===== */

.service-cta {
  display: inline-block;
  margin-top: auto;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  background: linear-gradient(90deg, #ff7a00, #ff3e6c);
  color: #fff;

  box-shadow: 0 4px 14px rgba(255, 62, 108, 0.35);
  transition: all 0.25s ease;
}

.service-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 62, 108, 0.5);
}

/* ===== Product Page ===== */

.product-section {
  background: #f9fafc;
  padding: 10px 10px;
}

/* container holds groups horizontally */
.product-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  align-items: flex-start;
}

/* title & subtitle */
.product-title {
  grid-column: 1 / -1; /* full width above groups */
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ff7a00, #ff3e6c);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-subtitle {
  grid-column: 1 / -1; /* full width */
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 16px;
  color: #555;
}

/* product group (column) */
.product-group {
  background: #ffffff;
  padding: 16px 14px;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

/* group heading */
.product-group h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 10px;
  color: #2b0a45;
}

/* cards inside group = vertical */
.product-group .product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* product card */
.product-card {
  background: #ffffff;
  padding: 13px 12px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #2b0a45;
}

.product-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

/* ===== Product Actions ===== */

.product-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* dropdown */
.product-select {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 13px;
  outline: none;
  background: #fff;
  cursor: pointer;
}

.product-select:focus {
  border-color: #ff7a00;
  box-shadow: 0 0 0 2px rgba(255,122,0,0.15);
}

/* download button */
.product-download {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;

  background: linear-gradient(90deg, #ff7a00, #ff3e6c);
  color: #fff;

  box-shadow: 0 4px 14px rgba(255, 62, 108, 0.35);
  transition: all 0.25s ease;
}

.product-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 62, 108, 0.5);
}

/* ===== Contact Section ===== */

.contact-section {
  background: #f9fafc;
  padding: 60px 20px;
}

.contact-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Left info */
.contact-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #ff7a00, #ff3e6c);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.contact-details {
  list-style: none;
  padding: 0;
}

.contact-details li {
  margin-bottom: 14px;
  font-size: 15px;
  color: #333;
}

.contact-details a {
  color: #4a148c;
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Right form */
.contact-form-card {
  background: #ffffff;
  padding: 32px 28px;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2b0a45;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ff7a00;
  box-shadow: 0 0 0 3px rgba(255,122,0,0.15);
}


/* ===== Openings Section ===== */

.openings-section {
  background: #f9fafc;
  padding: 60px 20px;
}

.openings-container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.openings-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ff7a00, #ff3e6c);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.openings-subtitle {
  color: #555;
  margin-bottom: 40px;
}

/* job cards */
.job-list {
  display: grid;
  gap: 24px;
}

.job-card {
  background: #ffffff;
  padding: 26px 24px;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.job-info h2 {
  font-size: 22px;
  margin-bottom: 6px;
  color: #2b0a45;
}

.job-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.job-desc {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

/* apply button */
.apply-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: linear-gradient(90deg, #ff7a00, #ff3e6c);
  color: #fff;
  transition: all 0.25s ease;
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 62, 108, 0.5);
}

/* ===== Modal ===== */

.apply-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.apply-modal.active {
  display: flex;
}

.apply-card {
  background: #ffffff;
  padding: 30px 28px;
  border-radius: 18px;
  width: 100%;
  max-width: 420px;
}

.apply-card h2 {
  margin-bottom: 16px;
  color: #2b0a45;
}

.form-group {
  margin-bottom: 14px;
  text-align: left;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.form-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}


/* ===== Register Section ===== */

.register-section {
  background: #f9fafc;
  padding: 60px 20px;
}

.register-container {
  max-width: 1100px;
  margin: auto;
}

.register-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ff7a00, #ff3e6c);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.register-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
}

/* cards */
.form-card {
  height: 100%;
  background: #ffffff;
  padding: 28px 26px;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  margin-bottom: 30px;
}

.form-card h2 {
  margin-bottom: 20px;
  color: #2b0a45;
}

/* grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ff7a00;
  box-shadow: 0 0 0 3px rgba(255,122,0,0.15);
  outline: none;
}

/* signatory */
.signatory-block {
  border: 1px dashed #ddd;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  position:relative;
}

/* add button */
.add-btn {
  background: transparent;
  border: 1px dashed #ff7a00;
  color: #ff7a00;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.add-btn:hover {
  background: rgba(255,122,0,0.1);
}

.remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: #fee2e2;
  color: #991b1b;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.remove-btn:hover {
  background: #fecaca;
}

/* submit */
.form-actions {
  text-align: center;
  margin-top: 20px;
}

/* === Register two-column layout === */

.register-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.register-form .form-actions {
  grid-column: 1 / -1;
}




footer {
  width: 100%;
  height: 40px;
  position: fixed;
  
  background-color: #EAF0F8;
  align-items: center;  
  bottom: 0;
  left: 0;
}

footer p {
  margin-top: 10px;
  text-align: center;
}

.footer-right{
float: right;
margin-top: -15px;
margin-right: 20px;
}

#Homepage,
#Services,
#Product,
#Contact,
#Openings,
#Register {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}


@media (max-width: 600px) {
  header .Brand h1{ display: none; }
  header .Brand p{ display: none; } 
  .menu-icon { display: block; cursor: pointer; color: #4a1f68; }
  body { padding-top: 0px; }
    header {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 20px;
  }
  nav {
    width: 100%;
  }
  nav ul {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    margin-top: 12px;
    padding: 12px 0;
  }
   nav ul li {
    padding: 10px 20px;
    text-align: center;
  }

  nav ul li a {
    color: #2b0a45;
    font-size: 18px;
  }

  /* When checkbox is checked → show menu */
  #menu-toggle:checked ~ nav ul {
  display: flex;
}

  #Homepage {
    flex-direction: column;
    align-items: center;
  }

  .hero-glass {
    padding-bottom: 24px;
  }

  .hero-actions {
    margin-top: 16px;
    padding: 0 20px;
    z-index: 1;
    gap: 12px;
  }

  .services-section{
width:auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .scroll-track img {
    width: 220px;      /* smaller & consistent */
    height: 120px;
    flex-shrink: 0;
  }

  .scroll-track {
    gap: 16px;
    animation-duration: 18s; /* faster & smoother on mobile */
  }

  .product-container {
    grid-template-columns: 1fr;
  }
  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-download {
    text-align: center;
  }

  .contact-container {
    display: flex;
    flex-direction: column;
  }
  .contact-title {
    text-align: center;
  }

  .contact-subtitle {
    text-align: center;
  }

  .contact-details {
    text-align: center;
  }

  .job-card {
    flex-direction: column;
    align-items: stretch;
  }

  .apply-btn {
    align-self: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .register-form {
    grid-template-columns: 1fr;
  }

  .form-actions{
    justify-content: center;
  }

  footer {
    position: static;
    display: flex;
    justify-content: center;
    margin: 0;
    align-items: center;
  }

  .footer-right{
    margin: 0;
  }

  body {
    padding-bottom: 0;
  }
}
