:root {
    --primary-color: #5BA5B2;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #DFF4F7;
    min-height: 100vh;
    padding: 40px 20px!important;
    overflow-x: hidden;
    color: #2c3e50;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutToLeft {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-100%); }
}

.slides-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
/* LOGO FLOATING ABOVE PROGRAM HEADER */
.header-logo {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.header-logo img,
.header-logo svg {

    display: block;
    margin: 0 auto;

    background: #DFF4F7;   /* or transparent */
    padding: 8px 12px;
    border-radius: 12px;
}




.program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    display: none;
}

.program-card.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    display: block;
}

.program-card.slide-out-left {
    animation: slideOutToLeft 0.5s ease-out forwards;
}

.program-card.slide-in-right {
    animation: slideInFromRight 0.5s ease-out forwards;
}

/* Navigation */
.navigation {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 1000;
}

.nav-btn {
    pointer-events: auto;
    background: rgba(253, 125, 24, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(253, 125, 24, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(253, 125, 24, 0.4);
}

.nav-btn:disabled {
    background: rgba(150, 150, 150, 0.5);
    cursor: not-allowed;
    transform: scale(1);
}

/* Progress Dots */
.progress-dots {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(253, 125, 24, 0.3);
}

.dot.active {
    background: #FD7D18;
    transform: scale(1.3);
    border-color: #FD7D18;
}

.dot:hover {
    background: rgba(253, 125, 24, 0.7);
    transform: scale(1.2);
}

.header-section {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 50px;
    position: relative;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(91, 165, 178, 0.85) 0%, rgba(74, 144, 160, 0.85) 100%);
    z-index: 1;
}

.header-section > * {
    position: relative;
    z-index: 2;
}

.logo {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 3;
}

.logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

.program-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.2;
    animation: slideIn 0.8s ease-out 0.2s both;
    background: #FD7D18;
    padding: 10px 15px;
}

.university-name {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 5px;
    animation: slideIn 0.8s ease-out 0.3s both;
}

.location {
    font-size: 1rem;
    opacity: 0.9;
    animation: slideIn 0.8s ease-out 0.4s both;
}

        .content-section {
            padding: 40px;
        }

        .section-icon {
            font-size: 2rem;
            margin-bottom: 15px;
            color: var(--primary-color);
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: white;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 15px 20px;
            background: linear-gradient(90deg, #FD7D18 0%, transparent 100%);
            border-radius: 8px;
            animation: slideIn 0.6s ease-out;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }


        .info-item {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
            border-left: 4px solid var(--primary-color);
            transition: all 0.3s ease;
            animation: fadeInUp 0.6s ease-out;
        }

        .info-item.full {
            grid-column: 1 / -1; /* spans all columns */
        }



        .info-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-left-color: #FD7D18;
        }

        .info-label {
            font-size: 0.85rem;
            color: #6c757d;
            font-weight: 500;
            margin-bottom: 5px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .info-value {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--secondary-color);
        }

        .highlight-box {
            background: linear-gradient(135deg, rgba(253, 125, 24, 0.65) 0%, rgba(253, 125, 24, 0.5) 100%);
            color: var(--secondary-color);
            padding: 30px;
            border-radius: 15px;
            margin-top: 0;
            animation: fadeInUp 0.8s ease-out;
            transition: transform 0.3s ease;
        }

        .highlight-box:hover {
            transform: translateY(-3px);
            background: linear-gradient(135deg, rgba(253, 125, 24, 0.75) 0%, rgba(253, 125, 24, 0.6) 100%);
        }

        .highlight-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 20px;
            text-transform: uppercase;
        }

        .highlight-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .highlight-list li {
            padding-left: 30px;
            position: relative;
            line-height: 1.6;
        }

        .highlight-list li:before {
            content: "✓";
            position: absolute;
            left: 0;
            font-weight: bold;
            font-size: 1.2rem;
        }

        .divider {
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
            margin: 30px 0;
        }

/* Responsive */
@media (max-width: 768px) {
    .program-title { font-size: 1.8rem; }
    .university-name { font-size: 1.2rem; }
    .header-section, .content-section { padding: 25px; }
    .info-grid { grid-template-columns: 1fr; }
    .nav-btn { width: 40px; height: 40px; font-size: 1.2rem; }
    .navigation { padding: 0 10px; }
}


.header-logo {
  background: #DFF4F7;
  padding: 16px;
  text-align: center;
}

.header-logo img {
  max-width: 180px;
}

.info-item.full {
  grid-column: 1 / -1;
}

.badge-agent {
  background: #FD7D18;
  color: white;
  padding: 6px 10px;
  border-radius: 999px;
}
/* Make layout header logo sit nicely */
.header-logo {
    background: #DFF4F7;
    padding: 14px 0;
    text-align: center;
}
.header-logo img {
    max-width: 220px;
    height: auto;
}

/* Full-width grid items */
.info-item.full {
    grid-column: 1 / -1;
}

/* --- LOGIN matches portal wrapper --- */
.login-card-portal {
    position: relative; /* keep it like a normal card */
    opacity: 1;
    pointer-events: auto;
}

.login-hero {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.login-hero-gradient {
    background-image: none !important;
    background: linear-gradient(135deg, rgba(91,165,178,0.92) 0%, rgba(74,144,160,0.92) 100%);
}

.login-title {
    text-transform: none;
    font-size: 2.1rem;
    margin-bottom: 6px;
}

.login-subtitle {
    font-weight: 400;
    opacity: 0.95;
}

.login-content {
    padding-top: 28px;
}

.login-form {
    max-width: 520px;
    margin: 0 auto;
}

.login-field {
    margin-bottom: 14px;
}

.login-input {
    border-radius: 12px;
    padding: 14px 14px;
    font-size: 1rem;
}

.login-btn {
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 700;
}

.login-help {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
}

/* Agent badge if you show it */
.badge-agent {
    display: inline-block;
    background: rgba(253,125,24,0.18);
    color: #FD7D18;
    border: 1px solid rgba(253,125,24,0.35);
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .login-title { font-size: 1.6rem; }
    .login-hero { min-height: 170px; }
}
/* -------------------------------------------------
   Lead top card (student details)
   ------------------------------------------------- */
/* --- Lead block: gradient style (Horizon look) --- */
.lead-wrap{
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 12px 12px 0 12px;
}

.lead-card{
  width: 100%;
  max-width: 900px;
}

.lead-card__inner{
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(253, 125, 24, 0.65) 0%, rgba(253, 125, 24, 0.5) 100%);
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Title */
.lead-card__title{
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #2c3e50;
}

/* Grid */
.lead-card__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* Individual fields */
.lead-card__item{
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
}

/* Full-width item (Name) */
.lead-card__item--wide{
  grid-column: 1 / -1;
}

/* Labels */
.lead-card__label{
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 4px;
  color: #2c3e50;
}

/* Values */
.lead-card__value{
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  word-break: break-word;
}

/* Links */
.lead-card__value a{
  color: #2c3e50;
  text-decoration: underline;

}

.lead-card__value a:hover{
  text-decoration-color: #2c3e50;
}

/* Responsive */
@media (max-width: 520px){
  .lead-card__grid{
    grid-template-columns: 1fr;
  }
}

.portal-topbar{
  width:100%;
  display:flex;
  justify-content:center;
  padding: 6px 12px 0 12px;
  margin: 15px 0 30px 0;
}
.portal-badges{
  width:100%;
  max-width:900px;
  display:flex;
  justify-content:flex-end;
}
.portal-badge{
  font-weight:800;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(0,0,0,0.06);
}
.portal-badge.warn{
  background: rgba(255, 140, 0, 0.18);
}

/* Session expired overlay */
#sessionExpiredOverlay{
  position:fixed; inset:0;
  background: rgba(0,0,0,0.55);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99999;
  padding: 14px;
}
.session-expired-card{
  width:100%;
  max-width:520px;
  border-radius:18px;
  background:#fff;
  padding:18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.session-expired-title{ font-weight:900; font-size:18px; margin-bottom:8px; }
.session-expired-text{ opacity:0.8; margin-bottom:14px; }
.session-expired-btn{
  width:100%;
  border:none;
  border-radius:12px;
  padding:12px 14px;
  font-weight:900;
  cursor:pointer;
}

#agentEmailOverlay{
  position:fixed; inset:0;
  background: rgba(0,0,0,0.55);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99998;
  padding: 14px;
}
.agent-email-card{
  width:100%;
  max-width:520px;
  border-radius:18px;
  background:#fff;
  padding:18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.agent-email-title{ font-weight:900; font-size:18px; margin-bottom:8px; }
.agent-email-text{ opacity:0.8; margin-bottom:12px; }
.agent-email-input{
  width:100%;
  border:1px solid rgba(0,0,0,0.15);
  border-radius:12px;
  padding:12px 14px;
  margin-bottom:10px;
}
.agent-email-btn{
  width:100%;
  border:none;
  border-radius:12px;
  padding:12px 14px;
  font-weight:900;
  cursor:pointer;
}


.portal-badge-agent{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: #ffffff;

  background: linear-gradient(
    135deg,
    rgba(91, 165, 178, 0.95) 0%,
    rgba(74, 144, 160, 0.95) 100%
  );

  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.25);
}
.portal-topbar{
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 8px 12px 0 12px;
}

.portal-topbar-inner{
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-topbar-left,
.portal-topbar-right{
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 520px){
  .portal-topbar{
    padding-top: 4px;
  }
}
.portal-btn{
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.portal-loading{
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.25);
  display:flex; align-items:center; justify-content:center;
  z-index: 9999;
  padding: 14px;
}
.portal-loading-card{
  width:100%; max-width: 420px;
  background:#fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.portal-loading-title{ font-weight: 900; font-size: 16px; }
.portal-loading-sub{ opacity: 0.7; margin-top: 4px; }

.portal-empty{
  width:100%;
  display:flex;
  justify-content:center;
  padding: 12px;
}
.portal-empty-card{
  width:100%;
  max-width: 900px;
  border-radius: 16px;
  background: rgba(255,255,255,0.9);
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.08);
}
.portal-empty-title{ font-weight: 900; font-size: 16px; }
.portal-empty-sub{ opacity: 0.75; margin-top: 4px; }
.nav-btn.is-disabled{
  opacity: 0.35;
  pointer-events: none;
}
.why-btn{
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.why-panel{
  margin: 0 0 30px 0;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.08);
}
.why-title{ font-weight: 900; margin-bottom: 6px; }
.why-list{ margin: 0; padding-left: 16px; }
.why-list li{ margin: 6px 0; }
.agent-watermark{
  position: fixed;
  left: 16px;
  bottom: 14px;
  font-weight: 1000;
  letter-spacing: 2px;
  font-size: 12px;
  opacity: 0.22;
  pointer-events: none;
  transform: rotate(-6deg);
}
/* Overlay */
.hs-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 14px;
}

.hs-overlay.is-open{ display:flex; }

/* Modal */
.hs-modal{
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.35);
  overflow: hidden;
}

.hs-modal__header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.hs-modal__title{
  font-weight: 1000;
  font-size: 16px;
  display:flex;
  align-items:center;
  gap: 10px;
}

.hs-modal__close{
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
}

.hs-modal__close:hover{
  background: rgba(0,0,0,0.06);
}

.hs-modal__body{
  padding: 14px 16px;
}

.hs-field{ margin: 0; }

.hs-label{
  display:block;
  font-size: 12px;
  font-weight: 900;
  opacity: 0.75;
  margin-bottom: 6px;
}

.hs-input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.16);
  outline: none;
}

.hs-input:focus{
  border-color: rgba(74,144,160,0.75);
  box-shadow: 0 0 0 4px rgba(74,144,160,0.18);
}

.hs-hint{
  font-size: 12px;
  opacity: 0.65;
  margin-top: 8px;
}

.hs-modal__footer{
  display:flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 12px 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.hs-btn{
  border: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 1000;
}

.hs-btn--ghost{
  background: rgba(0,0,0,0.06);
}

.hs-btn--primary{
  color: #fff;
  background: linear-gradient(135deg, rgba(91, 165, 178, 0.95) 0%, rgba(74, 144, 160, 0.95) 100%);
}

/* small screens */
@media (max-width: 420px){
  .hs-modal__footer{ flex-direction: column; }
}
/* Student Match Profile card (same width as slider) */
.profile-card{
  width: 100%;
  max-width: 900px;
}

.profile-card__inner{
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(253, 125, 24, 0.65) 0%, rgba(253, 125, 24, 0.5) 100%);
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
  padding: 16px;
  margin: 10px 0 14px 0;
  border: 1px solid rgba(0,0,0,0.06);
}

.profile-card__title{
  font-weight: 1000;
  font-size: 15px;
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 10px;
}

/* Compact table styling */
.profile-table{
  width: 100%;
  border-collapse: collapse;
}

.profile-table td{
  padding: 10px 10px;
  border-top: 1px solid rgba(0,0,0,0.07);
  vertical-align: top;
}

.profile-table tr:first-child td{
  border-top: none;
}

.profile-table__label{
  width: 35%;
  font-weight: 900;
  font-size: 12px;
  opacity: 0.75;
}

.profile-table__value{
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 520px){
  .profile-table__label{ width: 45%; }
}
