/* ================= GLOBAL ================= */
:root{
  --orange: #f39c12;
  --orange-dark: #e68900;

  --ink: #111827;
  --text: #1f2937;
  --white: #ffffff;

  --radius: 22px;
  --glass: rgba(255,255,255,0.14);
  --glass-hover: rgba(255,255,255,0.18);
  --glass-border: rgba(255,255,255,0.35);

  --shadow: 0 18px 50px rgba(0,0,0,0.38);
  --carousel-h: 700px;
}

* { box-sizing: border-box; }

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  background: #ffffff;
  color: var(--text);
}

.orange-accent { color: var(--orange); }

/* ================= TOP BAR ================= */
.topbar {
  background: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid rgba(17,24,39,0.08);
}

/* Sticky header with nav */
.topbar--nav{
  position: sticky;
  top: 0;
  z-index: 1030;
}

.logo-img {
  height: 54px;
  width: auto;
}

/* ================= PAGE NAV (in header) ================= */
.page-nav{
  gap: 28px;
  flex-wrap: wrap;
  padding: 6px 0;
}

.page-nav-link{
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  color: rgba(17,24,39,0.75);
  position: relative;
  padding: 6px 2px;
  transition: color .18s ease;
}

.page-nav-link:hover{
  color: var(--orange-dark);
}

.page-nav-link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--orange);
  transition: width .18s ease;
}

.page-nav-link:hover::after{
  width: 100%;
}

/* ================= LOGIN BUTTONS ================= */
.pill-btn {
  background: rgba(243, 157, 18, 0.869);
  color: #ffffff;
  border: 1px solid rgba(243,156,18,0.35);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.2px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.pill-btn:hover {
  background: rgba(243,156,18,0.20);
  border-color: rgba(243,156,18,0.55);
  transform: translateY(-1px);
  color: #8a4e00;
}

/* ================= MAIN BACKGROUND ================= */
.welcome-main {
  position: relative;
  background: url('../assets/img/backgroundunifast.png') no-repeat center center;
  background-size: cover;
  min-height: calc(100vh - 120px);
  padding: 70px 0;
  overflow: hidden;
}

.welcome-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(240,148,0,0.55), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(231,133,5,0.55), transparent 50%),
    linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.62));
}

.welcome-main .container {
  position: relative;
  z-index: 2;
}

/* Scroll helper so section titles are not hidden by sticky header */
.section-anchor{
  scroll-margin-top: 110px;
}

/* ================= GLASS CARDS ================= */
.content-card{
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;

  box-shadow: var(--shadow);
  color: #ffffff;

  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.content-card:hover{
  transform: translateY(-3px);
  background: var(--glass-hover);
  box-shadow: 0 24px 65px rgba(0,0,0,0.42);
}

.info-title{
  font-weight: 900;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.info-line{
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
}

/* ================= CAROUSEL ================= */
.content-card--carousel{
  padding: 0 !important;
  height: var(--carousel-h);
}

.content-card--carousel .welcome-carousel,
.content-card--carousel .carousel,
.content-card--carousel .carousel-inner,
.content-card--carousel .carousel-item{
  height: 100% !important;
  width: 100%;
}

.welcome-carousel{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;

  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border: 1px solid rgba(255,255,255,0.28);
}

.content-card--carousel .carousel-item{
  position: relative;
}

.content-card--carousel .carousel-item img{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

.welcome-carousel::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.30), transparent 45%);
  pointer-events: none;
}

.carousel.carousel-fade .carousel-item{
  transition: opacity 0.9s ease-in-out;
}

.welcome-carousel .carousel-indicators [data-bs-target]{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin: 0 6px;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.25);
  opacity: 1;
}

.welcome-carousel .carousel-indicators .active{
  background: rgba(243,156,18,0.95);
  border-color: rgba(243,156,18,0.95);
}

/* ================= INFO COLUMN ================= */
.info-col{
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 992px){
  .info-col{
    min-height: var(--carousel-h);
  }
}

.content-card--info{
  padding: 18px 18px !important;
  width: 88%;
  max-width: 420px;
  height: auto !important;
  margin: 0 auto;
}

.content-card--info .info-title{
  font-size: 18px;
  margin-bottom: 10px;
}

.content-card--info .info-line{
  font-size: 13px;
}

/* ================= APPLY BUTTON ================= */
.apply-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #ffb347, var(--orange));
  color: #ffffff;

  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 13px;

  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.30);
  box-shadow: 0 14px 32px rgba(243,156,18,0.35);

  transition: transform .18s ease, filter .18s ease;
  min-width: 160px;
}

.apply-btn:hover{
  transform: translateY(-2px);
  filter: brightness(0.97);
  color: #ffffff;
}

/* ================= FOOTER ================= */
.bottombar{
  background: var(--white);
  padding: 14px 0;
  color: rgba(17,24,39,0.88);
  border-top: 1px solid rgba(17,24,39,0.08);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.footer {
  text-align: center;
  margin-top: 25px;
  font-size: 13px;
  color: #777;
}

/* ================= MODAL ================= */
.welcome-modal-dialog { max-width: 980px; }

.welcome-modal-content{
  border: 0;
  border-radius: 16px;
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
  overflow: hidden;
}

.welcome-modal-body{
  padding: 30px 36px 22px;
  text-align: center;
  background: #ffffff;
  position: relative;
}

.modal.show .welcome-modal-dialog { transform: translateY(-22px); }

.welcome-close{
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: .65;
}

.info-title.info-title--modal{
  font-weight: 900;
  font-size: 34px;
  color: var(--ink);
  margin: 12px 0 16px;
  line-height: 1.1;
}

.welcome-logos{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  margin: 14px 0 18px;
}

.welcome-logo{
  height: 120px;
  width: auto;
  object-fit: contain;
}

.welcome-subtext{
  font-size: 14px;
  color: rgba(17,24,39,0.60);
  margin: 10px 0 18px;
}

.welcome-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin: 12px 0 18px;
}

.welcome-btn{
  background: rgba(243,156,18,0.12);
  border: 1px solid rgba(243,156,18,0.35);
  color: #8a4e00;

  text-decoration: none;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.2px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.welcome-btn:hover{
  background: rgba(243,156,18,0.20);
  border-color: rgba(243,156,18,0.55);
  transform: translateY(-1px);
  color: #8a4e00;
}

.welcome-footer-logos{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 6px;
}

.welcome-footer-logo{
  width: 85%;
  max-width: 900px;
  height: auto;
  object-fit: contain;
  opacity: .96;
}

/* ================= FEATURES BOX ================= */
.feature-box{
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px){
  :root{ --carousel-h: 360px; }
  .logo-img { height: 46px; }

  .info-col{
    min-height: auto;
    align-items: stretch;
  }

  .content-card--info{
    width: 100%;
    max-width: none;
    margin-top: 8px;
  }

  .page-nav{
    gap: 16px;
  }

  .page-nav-link{
    font-size: 13px;
  }
}

@media (max-width: 768px){
  .welcome-logos { gap: 28px; }
  .welcome-logo { height: 95px; }
  .welcome-actions { grid-template-columns: 1fr; }
}

@media (max-width: 576px){
  :root{ --carousel-h: 250px; }
  .pill-btn { width: 100%; text-align: center; }
}