/* Grunddesign & Theme */
@font-face {
  font-family: 'NotoSans';
  src: url('/font/NotoSans/NotoSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
    --bg-color: #0a0a0f;
    --card-bg: #151520;
    --text-color: #e0e0e0;
    --accent-color: #3a7bd5;
    --hover-color: #4d8df5;
    --border-color: #252535;
    --divider-color: #2a2a3a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'NotoSans', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    line-height: 1.5;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
  background-color: #222222;
  height: 60px;
  position: relative;
  z-index: 1000;
}

.container {
    max-width: var(--max-width);
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
}

.max-container {
    width: 100%;
    margin: 40px auto;
}

.profile {
    text-align: center;
    margin-bottom: 30px;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.bio {
    color: #a0a0b0;
    font-size: 15px;
    margin-bottom: 25px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.links-section {
    width: 100%;
}

.section-title {
    color: var(--accent-color);
    font-size: 18px;
    margin: 20px 0 10px 0;
    text-align: center;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.link {
    background-color: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.25s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: var(--max-width);
}

.link i {
    width: 20px;
    text-align: center;
}

.link:hover {
    transform: translateY(-2px);
    background-color: #1a1a2a;
    border-color: var(--accent-color);
    box-shadow: 0 6px 16px rgba(58, 123, 213, 0.2);
}

.divider {
    height: 1px;
    background-color: var(--divider-color);
    margin: 20px 0;
    width: 100%;
}

/* Footer Styles */
.Footer100{
    width: 100%;
}

#Nirmala2 {
    float: center;
    width: 100%;
    height: auto;
    background-color: rgb(31, 31, 31);
}

.flex-container {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.header-footer {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.link-footer {
    display: block;
    color: #d0d0d0;
    font-weight: normal;
    font-size: 16px;
    text-decoration: none;
    margin: 5px 0;
}

.link-footer:hover {
    color: #4d8df5;
    font-weight: 500;
    text-decoration: underline;
}

.text-footer {
    display: block;
    color: #aaa;
    font-size: 15px;
    margin-top: 5px;
    line-height: 1.4;
}

/* Copyright */
#Nirmala2 > div:last-child {
    width: 100%;
    height: 50px;
    float: center;
    text-align: center;
    font-weight: bolder;
    margin-top: 25px;
    color: white;
}

/* Navigation Styles */
nav#Dharshie1 {
    background-color: #1a1a1a;
    padding: 10px 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-logo {
  display: flex;
  width: 25%;
  align-items: center;
}

.nav-logo img {
  max-height: 40px;
  height: auto;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.nav-item {
    margin: 0 5px;
    height: 40px;
}

.nav-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    line-height: 40px;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-item a:hover {
    color: #4d8df5;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    background-color: #222;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    list-style: none;
    padding: 5px 0;
    padding-top: 0px;
    padding-bottom: 15px;
    margin-top: -5px;
    border-radius: 6px;
    z-index: 1000;
    height: auto;
    min-width: 200px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-item {
    padding: 8px 5px;
    height: 35px;
}

.nav-dropdown-item a {
    height: 35px;
    line-height: 35px;
    width: 100%;
    text-align: center;
    display: block;
    color: #d0d0d0;
    text-decoration: none;
    font-size: 16px;
}

.nav-dropdown-item a:hover {
    color: #4d8df5;
    background-color: #2a2a2a;
    border-radius: 4px;
}

.btn-primary-donation {
    background-color: #4d8df5;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 20px;
    transition: background-color 0.3s ease;
}

.btn-primary-donation:hover {
    background-color: #3a7bd5;
}

.nav-padding {
    height: 64px;
}

.team-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.team-section.two-cards {
  justify-content: center; /* zentriert auch bei zwei Karten */
}

.team-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(58, 123, 213, 0.3);
}

.team-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.team-info {
  padding: 15px;
  text-align: center;
}

.team-info h3 {
  font-size: 18px;
  color: white;
  margin-bottom: 5px;
}

.team-info p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
}

.tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: white;
}

.tag.green { background-color: #2ecc71; }
.tag.blue { background-color: #3498db; }
.tag.purple { background-color: #9b59b6; }

.profile-link {
  color: var(--accent-color);
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}

.profile-link:hover {
  text-decoration: underline;
}

.icon-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #1c1c2c;
  padding: 10px 0;
  border-top: 1px solid var(--border-color);
}

.icon-bar a {
  color: var(--text-color);
  font-size: 18px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.icon-bar a:hover {
  color: var(--accent-color);
  transform: scale(1.15);
}

/* Responsive Layouts */
@media (max-width: 1100px) {
    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 5px 20px;
        background-color: #222222;
        height: 75px;
        position: relative;
        z-index: 1000;
    }

    .flex-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu {
        min-width: 200%;
        list-style: none;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: -50%;
        padding: 0;
        scale: 0.5;
        height: 40px;
    }

    .nav-item {
        margin: 8px 0;
        height: 100%;
    }

    .nav-logo {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 5px;
    }
  
  .nav-logo img {
    max-height: 40px;
    height: auto;
  }

    .btn-primary-donation {
        margin: 10px 0 0 0;
    }
}
