:root {
  --brand-orange: #ff4f28;
  --bg-cream: #fef9ed;
  --text-black: #000000;
  --text-gray: #4a4a4a;
  --page-bg: var(--bg-cream);
  --card-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);
  --max-content-width: 1100px;
}

body {
  background: var(--page-bg);
  color: var(--text-black);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Color Emoji", sans-serif;
}

.header-hero {
  background: var(--bg-cream);
}
.header-hero .display-4 {
  font-size: 2.5rem;
}

@media (min-width: 992px) {
  .header-hero .display-4 {
    font-size: 3.25rem;
  }
}
.container {
  max-width: var(--max-content-width);
}

.brand-text {
  color: var(--brand-orange);
}

.brand-bg {
  background: var(--brand-orange);
  color: #fff;
}

.brand-logo-wrap {
  width: 48px;
  height: 48px;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(254, 249, 237, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-brand {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
}
.btn-brand:hover, .btn-brand:focus {
  background-color: #e04521;
  border-color: #e04521;
  color: #fff;
}
.btn-brand:disabled, .btn-brand.disabled {
  background-color: rgba(255, 79, 40, 0.5);
  border-color: rgba(255, 79, 40, 0.5);
}

.btn-cta {
  background: var(--brand-orange);
  border-color: transparent;
  color: #fff;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 12px;
}
.btn-cta:hover {
  background: #e63d1a;
}

.glassmorphic {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.hover-lift {
  transition: all 0.25s ease;
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.accent-orange {
  background: var(--brand-orange);
}

.accent-dark {
  background: #000;
}

.accent-top-right {
  position: absolute;
  right: -2rem;
  top: -1rem;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  opacity: 0.18;
}

.accent-bottom-left {
  position: absolute;
  left: -4rem;
  bottom: -4rem;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  opacity: 0.08;
}

@media (min-width: 768px) {
  .vh-md-80 {
    height: 80vh !important;
  }
}
.imajs-upload-only .imajs-viewer-container,
.imajs-upload-only .imajs-toolbox-container {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.rr-blurred {
  filter: blur(20px);
  pointer-events: none;
  user-select: none;
}

.popular-badge-lg {
  width: 96px;
  height: 96px;
}
.popular-badge-lg .popular-badge-initials {
  font-size: 1.5rem;
}

.profile-avatar {
  width: 128px;
  height: 128px;
  border-radius: 9999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-orange);
  color: #fff;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-initials {
  font-weight: 700;
  font-size: 2rem;
}

.card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.popular-badge {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-orange);
  color: #fff;
  margin: 0 auto 1rem;
}
.popular-badge img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.popular-badge-initials {
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.featured-university-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  text-align: center;
}
.featured-university-card > .popular-badge {
  flex-shrink: 0;
}
.featured-university-card h3 {
  width: 100%;
}
.featured-university-card:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
}

.school-suggestions {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  padding: 0.25rem;
  background: #fff;
  max-height: 260px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.school-suggestion-item {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
}
.school-suggestion-item:hover, .school-suggestion-item.active {
  background: rgba(255, 79, 40, 0.1);
}

.school-suggestions-empty {
  color: #6c757d;
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
}

.hero-card {
  display: inline-block;
  width: 124px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}
.hero-card img {
  width: 100%;
  height: 188px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .hero-card {
    width: 180px;
  }
  .hero-card img {
    height: 240px;
  }
}
@media (max-width: 479px) {
  .hero-card img {
    height: auto;
  }
}
.gf-stage-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gf-stage-panel {
  display: none;
}

.gf-stage-title,
.gf-step-text {
  display: none;
}

.gf-progress {
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.gf-progress .bar,
#uploadProgressBar {
  height: 100%;
  width: 0%;
  background: var(--brand-orange);
  transition: width 0.25s ease;
}

#gf-stage-1:checked ~ .modal-body .stage-1,
#gf-stage-2:checked ~ .modal-body .stage-2,
#gf-stage-3:checked ~ .modal-body .stage-3,
#gf-stage-4:checked ~ .modal-body .stage-4,
#gf-stage-5:checked ~ .modal-body .stage-5,
#gf-stage-6:checked ~ .modal-body .stage-6 {
  display: block;
}

#gf-stage-1:checked ~ .modal-header .gf-step-text.step-1,
#gf-stage-2:checked ~ .modal-header .gf-step-text.step-2,
#gf-stage-3:checked ~ .modal-header .gf-step-text.step-3,
#gf-stage-4:checked ~ .modal-header .gf-step-text.step-4,
#gf-stage-5:checked ~ .modal-header .gf-step-text.step-5,
#gf-stage-6:checked ~ .modal-header .gf-step-text.step-6 {
  display: inline-block;
}

#gf-stage-1:checked ~ .modal-body + .gf-progress-wrap .gf-progress .bar {
  width: 16.6666666667%;
}

#gf-stage-2:checked ~ .modal-body + .gf-progress-wrap .gf-progress .bar {
  width: 33.3333333333%;
}

#gf-stage-3:checked ~ .modal-body + .gf-progress-wrap .gf-progress .bar {
  width: 50%;
}

#gf-stage-4:checked ~ .modal-body + .gf-progress-wrap .gf-progress .bar {
  width: 66.6666666667%;
}

#gf-stage-5:checked ~ .modal-body + .gf-progress-wrap .gf-progress .bar {
  width: 83.3333333333%;
}

#gf-stage-6:checked ~ .modal-body + .gf-progress-wrap .gf-progress .bar {
  width: 100%;
}

#gf-stage-1:checked ~ .modal-body ~ .gf-stage-titles .gf-stage-title.s1,
#gf-stage-2:checked ~ .modal-body ~ .gf-stage-titles .gf-stage-title.s2,
#gf-stage-3:checked ~ .modal-body ~ .gf-stage-titles .gf-stage-title.s3,
#gf-stage-4:checked ~ .modal-body ~ .gf-stage-titles .gf-stage-title.s4,
#gf-stage-5:checked ~ .modal-body ~ .gf-stage-titles .gf-stage-title.s5,
#gf-stage-6:checked ~ .modal-body ~ .gf-stage-titles .gf-stage-title.s6 {
  display: block;
}

.gf-nav-label {
  cursor: pointer;
}
.gf-nav-label[disabled], .gf-nav-label.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.instagram-preview-shell {
  min-height: 420px;
}

.instagram-preview-card {
  max-width: 300px;
  height: 540px;
  margin: 0 auto;
  border-color: rgba(0, 0, 0, 0.08) !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-behavior: smooth;
}
.instagram-preview-card.preview-scrollable {
  overflow-y: auto;
  scrollbar-width: thin;
}
.instagram-preview-card.preview-scrollable::-webkit-scrollbar {
  width: 6px;
}
.instagram-preview-card.preview-scrollable::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 999px;
}
.instagram-preview-card [data-preview-media] {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  max-height: 298px;
  aspect-ratio: 1/1;
}

.instagram-preview-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.instagram-preview-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}
.instagram-preview-avatar span {
  font-size: 0.85rem;
}
.instagram-preview-avatar img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.instagram-preview-media {
  position: relative;
  background: #000;
  overflow: hidden;
}

.instagram-preview-media img,
.instagram-preview-placeholder-art {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.instagram-preview-placeholder-art {
  background: repeating-linear-gradient(135deg, #f3f3f3, #f3f3f3 20px, #e2e2e2 20px, #e2e2e2 40px);
}

.instagram-preview-tag {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  opacity: 0;
}

.instagram-preview-actions button {
  color: #111;
}
.instagram-preview-actions button:hover, .instagram-preview-actions button:focus {
  color: var(--brand-orange);
}
.instagram-preview-actions .btn-link {
  text-decoration: none;
}

.instagram-preview-caption {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.92rem;
  line-height: 1.4;
  margin-bottom: 0.35rem;
}
.instagram-preview-caption.caption-collapsed {
  max-height: 4.2em;
  overflow: hidden;
}

.instagram-preview-read-more {
  font-size: 0.82rem;
  color: #6c757d;
  font-weight: 500;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline;
  margin-left: 0.25rem;
  line-height: inherit;
}
.instagram-preview-read-more:hover, .instagram-preview-read-more:focus {
  color: #4a4a4a;
  text-decoration: underline;
}

.instagram-preview-read-more-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

.instagram-preview-placeholder {
  border: 1px dashed rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
}

.instagram-preview-carousel .carousel-control-prev,
.instagram-preview-carousel .carousel-control-next {
  width: 12%;
}
.instagram-preview-carousel .carousel-indicators [data-bs-target] {
  background-color: rgba(255, 255, 255, 0.8);
}
.instagram-preview-carousel .carousel-item {
  min-height: 0;
}
.instagram-preview-carousel .carousel-item img {
  width: 100%;
  height: 100%;
}

.submission-success {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1.5rem;
}

.submission-success-check {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: rgba(25, 135, 84, 0.1);
  color: #198754;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  animation: submission-check-pulse 1.6s ease-in-out infinite;
}
.submission-success-check i {
  animation: submission-check-pop 0.8s ease forwards;
  transform-origin: center;
}

@keyframes submission-check-pulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.35);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(25, 135, 84, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
  }
}
@keyframes submission-check-pop {
  0% {
    transform: scale(0);
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
footer {
  background: var(--page-bg);
}
