:root {
    --white: #FFFFFF;
    --mauve: #D0A2FA;
    --lavender: #C18CF6;
    --mauve-2: #DEC3FA;
    --text-color: #2e2e2e;
    --nav-bg: var(--lavender);
    --accent: var(--mauve);
    --icon-card-w: 1.5rem;
    --icon-card-h: 1.5rem;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to top, #FFFFFF, #DEC3FA, #C18CF6);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 18px; /* Was ~16px */
}


header, footer {
    background-color: var(--lavender);
    color: white;
    text-align: center;
    padding: 0.5em;
/*    border-bottom-left-radius: 20px;*/
/*    border-bottom-right-radius: 20px;*/
    box-shadow: 0 4px 10px rgba(193, 140, 246, 0.2);
}

footer {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-top: 4em;
}

nav {
    margin-top: 1em;
}

nav a {
    color: white;
    margin: 0 1.2em;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--mauve-2);
    text-decoration: underline;
}

.container {
    max-width: 90%;
    margin: 2em auto;
    padding: 2em;
    background-color: var(--mauve-2);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(208, 162, 250, 0.2);
    transition: box-shadow 0.3s ease;
}

.container:hover {
    box-shadow: 0 12px 25px rgba(208, 162, 250, 0.35);
}

h1 {
    color: white;
}

h2 { 
    color: mediumpurple;
    font-size: 1.7em;
    letter-spacing: 0.05em;
}

h3 {
    color: var(--lavender);
    letter-spacing: 0.1em;
    font-size: 1.6em;

}

h4 {
    color: var(--mauve);
    letter-spacing: 0.1em;
    font-size: 1.5em;

}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
}

p { 
    font-family: 'Serif', sans-serif;
    font-size: 1.4rem;
    color: darkslateblue;
}

.help-class { 
    display: flex; 
    flex-direction: row; 
}

@media (max-width: 1000px) {
    .help-class { 
        flex-direction: column;
        text-align: center;    
    }
}

p.list-item {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  letter-spacing: 0.3px;
  color: darkslateblue;
}


.modern-paragraph {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 1.75rem;
  line-height: 1.6;
  letter-spacing: 0.3px;
  color: #333;
  font-weight: 300;
  max-width: 60ch;
  margin: 1em auto;
  padding: 0;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  transition: color 0.3s ease;
}
ul {
    padding-left: 1.5em;
}

a {
    color: darkmagenta;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.button {
    display: inline-block;
    background-color: var(--lavender);
    color: white;
    padding: 0.75em 1.5em;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(193, 140, 246, 0.2);
}

.button:hover {
    background-color: var(--mauve);
    transform: translateY(-2px);
}

.card {
    padding: 1.5em;
    margin-bottom: 1.5em;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.06);
    background-color: #ffffffcc; /* white with transparency */
    color: #2e2e2e;
}

/* Nav styles */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1em;
    flex-wrap: wrap;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5em;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    font-size: 1.0em;
}

.menu-toggle {
    display: none;
    font-size: 2.0em;
    cursor: pointer;
}

/* Responsive nav toggle */
@media (max-width: 1000px) {
    .menu-toggle {
        display: block;
        color: white;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        background-color: var(--lavender);
        border-radius: 0 0 15px 15px;
        padding: 1em 0;
        margin-top: 1em;
        float: right;

    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.5em 0;
    }

    body {
        font-size: 2.0em;

    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    nav a,
    .nav-links a {
        font-size: 1.2em;
    }

    .button {
        font-size: 1.1em;
        padding: 1em 1.5em;
    }
}


body {
      margin: 0;
      padding: 0;
      background: #f5f7fa;
      font-family: 'Segoe UI', sans-serif;
}

/* Styling for autoscrolling personnel cards */
.scroller-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 30px 0;
  box-shadow: inset 0 -1px 3px rgba(0, 0, 0, 0.05);
}

.scroller-track {
  display: inline-flex;
  animation: scroll-left 15s linear infinite;
  gap: 20px;
  padding-left: 10px;
}

.card-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 130px;
}

.testimonial { 
  border-radius: 20px;
  width: 20.0rem;
}

.testimonial:hover { 
  transform: scale(1.1);
    background-color: var(--mauve);
/*    transform: translateY(-2px);*/
}

.testimonial-card { 
  border-radius: 20px;
  width: 12.0rem;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Styling for personnel pics with icon overlays */
.overlay {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 500;
}

.overlay.active {
  display: block;
}

.image-container {
  position: relative;
  display: inline-block;
}

.icon-group {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  gap: 10px; /* space between icons */
}

.icon-group img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ffffff; /* white stroke */
  background-color: #f0f0f0; /* optional background */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* optional for depth */
  padding: 4px;
  object-fit: contain;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.icon-group img:hover {
  transform: scale(1.1);
}

/* Tab styling for forums */
.tab-container {
  width: 600px;
  margin: 30px auto;
  font-family: Arial, sans-serif;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

.tabs {
  display: flex;
  background-color: #f1f1f1;
  border-bottom: 1px solid #ccc;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 12px;
  cursor: pointer;
  background-color: #f1f1f1;
  transition: background-color 0.2s;
}

.tab:hover {
  background-color: #ddd;
}

.tab.active {
  background-color: #fff;
  font-weight: bold;
  border-bottom: 2px solid #007bff;
}

.tab-content {
  padding: 20px;
  background-color: #fff;
  min-height: 150px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}
