/* Full height layout to pin footer at bottom */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Reset & Base Styling */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Logo/Header */
.top-header {
    background-color: #111;
    padding: 0;
    text-align: center;
}

.top-header .logo img {
    height: 180px;
    width: auto;
    max-width: 90%;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: center;
    background-color: #111;
    padding: 0;
    margin-top: -30px;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    position: relative;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    padding: 15px 10px;
    transition: color 0.3s ease;
    text-decoration: none; /* Remove underline */
}

.nav a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #693699;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.nav a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav a:hover {
    color: #693699;
    text-decoration: none; /* Ensure no underline on hover */
}

/* Main Content Area */
.content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
}

.content h1 {
    margin-bottom: 10px;
    font-size: 2rem;
    color: #333;
}

.content p {
    font-size: 1.1rem;
    color: #666;
}

/* Footer */
.footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

/* Floating Social Sidebar - Left */
.left-floater {
    position: fixed;
    top: 40%;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 999;
}

.toggle-btn {
    background-color: #693699;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.toggle-btn:hover {
    transform: scale(1.1);
}

.toggle-btn img {
    width: 24px;
    height: 24px;
}

.social-panel {
    background-color: #111;
    border-radius: 0 8px 8px 0;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-panel img {
    width: 26px;
    height: 26px;
    transition: transform 0.2s ease;
}

.social-panel img:hover {
    transform: scale(1.1);
}

.hidden {
    display: none;
}

/* Leadership Section Styles */
.leader-toggle {
    width: 100%;
    background-color: #111;
    color: #fff;
    padding: 1rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

.leader-toggle:hover {
    background-color: #333;
}

.leader-bio {
    background: #f4f4f4;
    border-radius: 8px;
    padding: 0 1rem;
    margin-top: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.leader-bio.show-bio {
    max-height: 500px;
    padding: 1rem;
}

.home-container {
    text-align: center;
    padding: 20px;
}

.highlighted-title {
    font-size: 2.5rem;
    background: linear-gradient(to right, #d633ff, #29d6e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.intro-text {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

.home-container section {
    margin-bottom: 50px;
}

section h2 {
    font-size: 1.6rem;
    color: #333;
}

section p {
    font-size: 1.05rem;
    color: #666;
    margin: 10px 0 20px;
}

.learn-more-btn,
.cta-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #693699;
    color: white;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.learn-more-btn:hover,
.cta-btn:hover {
    background-color: #532a7d;
}

/* Donation Button */
.donate-btn {
    background-color: #693699;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    margin-left: 10px;
}

.donate-btn:hover {
    background-color: #532a7d;
}

/* Resources Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown > a {
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  padding: 15px 10px;
  transition: color 0.3s ease;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
  border-radius: 8px;
  overflow: hidden;
}

.dropdown-content a {
  color: #111;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.2s ease;
  font-weight: normal;
  text-transform: none;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover > a {
  color: #693699;
}

/* Make all links look clickable */
a {
  color: #5a2a9d; /* or #0066cc for a classic blue */
  text-decoration: underline;
}

a:hover {
  color: #3e1d70; /* darken on hover */
  text-decoration: underline;
}

/* Research Page: Intro Section */
.research-intro-container {
    max-width: 1000px;
    margin: 40px auto 20px;
    padding: 0 20px;
    text-align: center;
}

.research-title {
    color: #693699;
    font-size: 2rem;
    margin-bottom: 10px;
}

.research-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
}

.research-source {
    font-size: 0.9em;
    margin-top: 20px;
    color: #666;
    text-align: center;
}

.dashboard-fullscreen {
    width: 100%;
    max-width: 100vw;
    height: 92vh;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.dashboard-fullscreen iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}

body, html {
    overflow-x: hidden;
}

.research-intro-container {
    max-width: 1000px;
    margin: 40px auto 20px;
    padding: 0 20px;
    text-align: center;
}

.research-title {
    color: #693699;
    font-size: 2rem;
    margin-bottom: 10px;
}

.research-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
}

.dashboard-fullscreen {
    width: 100%;
    max-width: 100vw;
    height: 92vh;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.dashboard-fullscreen iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}


