.hero {
  height: 80vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.hero-content {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 8rem;
  font-weight: 800;
}

.hero-content p {
  font-size: 6rem;
  font-weight: 400;
  margin-top: 10px;
}

@media screen and (max-width: 1400px) {
  .hero-content h1 {
    font-size: 5rem;
  }

  .hero-content p {
    font-size: 3rem;
    font-weight: 500;
  }
}

@media screen and (max-width: 800px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 2rem;
    font-weight: 500;
  }
}

@media screen and (max-width: 500px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
    font-weight: 500;
  }

  .hero {
    height: 50vh;
  }
}

/* utgifug */

.page-container {
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--blue-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--purple-secondary);
}

img {
  max-width: 100%;
  height: auto;
}

/* Buttons */
.back-button-container {
  margin-bottom: 1rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: linear-gradient(
    to right,
    var(--blue-primary),
    var(--purple-secondary)
  );
  border-color: transparent;
  color: white;
  transform: translateX(-5px);
}

.back-button i {
  margin-right: 0.5rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(
    to right,
    var(--blue-primary),
    var(--purple-secondary)
  );
  border: none;
  border-radius: 0.375rem;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.primary-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.primary-button:active {
  transform: translateY(0);
}

.primary-button i {
  margin-right: 0.5rem;
}

/* Cards */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--purple-secondary);
  color: white;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.badge.outline {
  background-color: transparent;
  border: 1px solid var(--blue-primary);
  color: var(--blue-primary);
}

/* Team Members Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Team Member Card */
.team-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  border-color: var(--purple-secondary);
}

.member-image {
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .member-image img {
  transform: scale(1.05);
}

.social-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.team-card:hover .social-overlay {
  opacity: 1;
  transform: translateY(0);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: rgba(32, 32, 32, 0.8);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: linear-gradient(
    to right,
    var(--blue-primary),
    var(--purple-secondary)
  );
  transform: scale(1.2) rotate(5deg);
}

.member-info {
  padding: 1.5rem;
}

.member-info h3 {
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.member-role {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.member-brief {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.member-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.member-stat {
  display: flex;
  align-items: center;
}

.member-stat i {
  margin-right: 0.25rem;
  color: var(--blue-primary);
}

/* Journey Page Styles */
.journey-container {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.journey-path {
  position: relative;
  width: 100%;
  min-height: 200vh;
}

.journey-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.road-path {
  fill: none;
  stroke: #333;
  stroke-width: 60;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.road-progress {
  fill: none;
  stroke: url(#roadGradient);
  stroke-width: 60;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 4750;
  stroke-dashoffset: 4000;
  transition: stroke-dashoffset 0.1s linear;
}

.journey-milestone {
  position: absolute;
  z-index: 2;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.journey-milestone.visible {
  opacity: 1;
  transform: translateY(0);
}

.milestone-content {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 400px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.milestone-content::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transform: rotate(45deg);
  z-index: -1;
}

.milestone-left .milestone-content::before {
  right: -10px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.milestone-right .milestone-content::before {
  left: -10px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.milestone-date {
  color: var(--blue-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.milestone-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(
    to right,
    var(--blue-primary),
    var(--purple-secondary)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.milestone-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.milestone-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background: linear-gradient(
    to right,
    var(--blue-primary),
    var(--purple-secondary)
  );
  border-radius: 50%;
  border: 4px solid var(--dark-bg);
  z-index: 3;
  opacity: 0;
  transform: scale(0);
  transition: all 0.5s ease;
}

.milestone-marker.visible {
  opacity: 1;
  transform: scale(1);
}

.milestone-marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Milestone positioning */
.milestone-1 {
  top: 8%;
  right: 15%;
}

.milestone-2 {
  top: 28%;
  left: 15%;
}

.milestone-3 {
  top: 48%;
  right: 15%;
}

.milestone-4 {
  top: 68%;
  left: 15%;
}

.milestone-5 {
  top: 88%;
  right: 15%;
}

/* Marker positioning */
.marker-1 {
  top: 46.6%;
  left: -2%;
}

.marker-2 {
  top: 46.2%;
  right: -2%;
}

.marker-3 {
  top: 46.2%;
  left: -2%;
}

.marker-4 {
  top: 46.2%;
  right: -2%;
}

.marker-5 {
  top: 46.2%;
  left: -2%;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input,
textarea {
  padding: 0.75rem;
  background-color: var(--dark-bg-lighter);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue-primary);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-option {
  display: flex;
  align-items: center;
}

.radio-option input[type="radio"] {
  margin-right: 0.5rem;
}

.radio-option label {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
}

.success-message.hidden {
  display: none;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: rgba(34, 197, 94, 0.2);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.success-icon i {
  font-size: 2.5rem;
  color: #22c55e;
}

/* Contact Info */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.contact-detail-item:hover {
  transform: translateX(5px);
}

.contact-detail-item i {
  color: var(--blue-primary);
  font-size: 1.25rem;
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.contact-detail-item h3 {
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.contact-detail-item a,
.contact-detail-item p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.social-media {
  margin-top: 2rem;
}

.social-media h3 {
  margin-bottom: 1rem;
}

.map-container {
  height: 300px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.map {
  filter: grayscale(80%) opacity(0.8);
  transition: all 0.3s ease;
}

.map:hover {
  filter: grayscale(0) opacity(1);
}

/* Department Contacts */
.department-contacts {
  margin-bottom: 3rem;
}

.department-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .department-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .department-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.department-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.department-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.department-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.department-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.department-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.department-contact div {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.department-contact i {
  color: var(--blue-primary);
  margin-right: 0.5rem;
}

/* FAQ Section */
.faq-section {
  margin-bottom: 3rem;
}

.accordion {
  border-radius: 0.5rem;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.accordion-button:hover {
  color: var(--blue-primary);
}

.accordion-button i {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-button i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
}

.accordion-content p {
  padding: 0 0 1rem 0;
  color: var(--text-secondary);
}

/* Page Navigation */
.page-nav {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.page-nav-button {
  padding: 0.75rem 1.5rem;
  background-color: var(--dark-bg-lighter);
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 0.5rem;
}

.page-nav-button:hover {
  background: linear-gradient(
    to right,
    var(--blue-primary),
    var(--purple-secondary)
  );
  border-color: transparent;
  color: white;
}

.page-nav-button.active {
  background: linear-gradient(
    to right,
    var(--blue-primary),
    var(--purple-secondary)
  );
  border-color: transparent;
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.5s ease forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.5s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Utility Classes */
.hidden {
  display: none;
}

.section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

/* Responsive adjustments for journey */
@media (max-width: 768px) {
  .milestone-content {
    max-width: 300px;
    padding: 1.5rem;
  }

  .milestone-title {
    font-size: 1.25rem;
  }

  .milestone-1,
  .milestone-3,
  .milestone-5 {
    right: 5%;
  }

  .milestone-2,
  .milestone-4 {
    left: 5%;
  }
}

@media (max-width: 890px) {
  .journey-svg {
    opacity: 0;
  }

  .milestone-content {
    max-width: 700px;
    padding: 1.5rem;
  }

  .milestone-title {
    font-size: 1.25rem;
  }

  .milestone-1,
  .milestone-3,
  .milestone-5 {
    right: 5%;
  }

  .milestone-2,
  .milestone-4 {
    left: 5%;
  }
}

@media screen and (max-width: 500px) {
  .page-header h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .page-header p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}
