@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

html {
    height: 100%;
}

button[onclick^="changeLang"] {
    position: fixed;
    top: 20px;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: rgba(102, 126, 234, 0.3);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

button[onclick^="changeLang"]:hover {
    background: rgba(102, 126, 234, 0.5);
}

button[onclick="changeLang('tr')"] {
    right: 120px;
}

button[onclick="changeLang('en')"] {
    right: 30px;
}
.fullSize {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
}

#loadingOverlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-family: sans-serif;
  font-size: 2rem;
  z-index: 100;
}

.navbar-space {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        padding: 15px 0;
        background: rgba(15, 32, 39, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 2px solid rgba(102, 126, 234, 0.3);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }  
    .navbar-space .navbar-nav {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0;
        width: 100%;
    } 
    .navbar-space .nav-item {
        margin: 0 15px;
    }
    .navbar-space .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
        padding: 10px 25px !important;
        border-radius: 25px;
        transition: all 0.3s ease;
        font-weight: 500;
        letter-spacing: 0.5px;
        position: relative;
        overflow: hidden;
    } 
    .navbar-space .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
        transition: left 0.5s ease;
    }  
    .navbar-space .nav-link:hover::before {
        left: 100%;
    }    
    .navbar-space .nav-link:hover {
        color: #667eea !important;
        background: rgba(102, 126, 234, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }   
    .navbar-space .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.3);
    }
    .navbar-space .navbar-toggler-icon {
        filter: invert(1);
    }
    body {
        padding-top: 80px;
    }
    .error-message {
        background: rgba(255, 107, 107, 0.2);
        border: 2px solid #ff6b6b;
        border-radius: 15px;
        padding: 20px;
        margin: 20px 0;
        color: white;
        font-weight: 500;
        text-align: center;
        animation: shake 0.5s ease-in-out;
    }
    @keyframes shake {
        0%, 100% { transform: translateX(0); }
        25% { transform: translateX(-10px); }
        75% { transform: translateX(10px); }
    }
    @media (max-width: 768px) {
        body {
            padding-top: 70px;
        }
        .navbar-space .nav-item {
            margin: 5px 10px;
        }
    }
    .scenario-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.scenario-btn {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%) !important;
    border: 2px solid rgba(102, 126, 234, 0.4) !important;
    color: white !important;
    padding: 15px 20px !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.scenario-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.scenario-btn:hover::before {
    left: 100%;
}

.scenario-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5) !important;
    border-color: rgba(102, 126, 234, 0.8) !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%) !important;
}

.scenario-btn:active {
    transform: translateY(-1px);
}

body {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533a7b 100%);
    color: #ffffff;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    padding: 0;
  /* Team Cards Styling */
.card-custom-bg {
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.8) 0%, rgba(44, 62, 80, 0.8) 100%);
    color: white;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.card-custom-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    animation: rotateStar 15s linear infinite;
    z-index: 0;
}

.card-custom-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='1' fill='rgba(255,255,255,0.3)'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.card-custom-bg .card-body {
    position: relative;
    z-index: 2;
}

.card-custom-bg:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3),
                0 0 50px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(26, 32, 44, 0.9) 100%);
}

@keyframes rotateStar {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.card-custom-bg .card-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.card-custom-bg .card-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}width: 100%;
    min-height: 100vh;
    background-size: 400% 400%;
    animation: space-background 25s ease infinite;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes sparkle {
    from { transform: translateX(0); }
    to { transform: translateX(-200px); }
}

@keyframes space-background {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

select {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    width: 220px;
    padding: 12px 16px;
    margin: 8px 4px;
    display: inline-block;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: selectGlow 2s ease-in-out infinite;
}

select:hover {
    border-color: rgba(86, 114, 196, 0.6);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(86, 114, 196, 0.3);
}

select:focus {
    outline: none;
    border-color: #5672c4;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(86, 114, 196, 0.5);
}

select option {
    background: #1a1a2e;
    color: white;
    padding: 10px;
}

input[type=text] {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    width: 140px;
    padding: 12px 16px;
    margin: 8px 4px;
    display: inline-block;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: inputGlow 2s ease-in-out infinite;
}

input[type=text]:hover {
    border-color: rgba(86, 114, 196, 0.6);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(86, 114, 196, 0.3);
}

input[type=text]:focus {
    outline: none;
    border-color: #5672c4;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(86, 114, 196, 0.5);
}

input[type=text]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
input[type=number] {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    width: 140px;
    padding: 12px 16px;
    margin: 8px 4px;
    display: inline-block;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: inputGlow 2s ease-in-out infinite;
}

input[type=number]:hover {
    border-color: rgba(86, 114, 196, 0.6);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(86, 114, 196, 0.3);
}

input[type=number]:focus {
    outline: none;
    border-color: #5672c4;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(86, 114, 196, 0.5);
}

input[type=number]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

input[type=button] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    width: 400px;
    padding: 15px 20px;
    margin: 15px 8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

input[type=button]:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6),
                0 0 20px rgba(102, 126, 234, 0.4);
    letter-spacing: 2px;
}

input[type=button]:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    letter-spacing: 1px;
}

input[type=reset] {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    width: 400px;
    padding: 15px 20px;
    margin: 15px 8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

input[type=reset]:hover {
    background: linear-gradient(135deg, #ee5a52 0%, #ff6b6b 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
}

input[type=reset]:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

input[type="radio"] {
    appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(102, 126, 234, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    vertical-align: middle;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.1);
}

input[type="radio"]:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.15);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
}

input[type="radio"]:checked {
    border-color: #667eea;
    background: #667eea;
    animation: radioCheck 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    animation: radioDot 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes radioCheck {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes radioDot {
    from { transform: translate(-50%, -50%) scale(0); }
    to { transform: translate(-50%, -50%) scale(1); }
}

p {
    line-height: 1.8;
    margin: 16px 0;
    color: rgba(255, 255, 255, 0.9);
}

a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

a:hover {
    color: #764ba2;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin: 30px 0;
    letter-spacing: 2px;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(118, 75, 162, 0.8)); }
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2.2rem;
    color: #ffffff;
    margin: 25px 0 15px 0;
    letter-spacing: 1px;
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    color: #e8e8e8;
    margin: 20px 0 10px 0;
}

.navbar-space {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(15, 32, 39, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.navbar-space .navbar-nav {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 100%;
}

.navbar-space .nav-item {
    margin: 0 15px;
}

.navbar-space .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 10px 25px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 30px 0 30px; /* Üst padding'i 80px yaptım */
}

/* Add padding for cards container */
.row.g-4 {
    padding: 0 20px;
}

.row {
    padding: 0 20px;
}

.form-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin: 25px 0;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(102, 126, 234, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3),
                inset 0 0 15px rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(102, 126, 234, 0.1),
        transparent
    );
    transition: 0.5s;
}

.form-section:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4),
                inset 0 0 20px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.form-section:hover::before {
    left: 100%;
}

blockquote {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid #667eea;
    border-radius: 10px;
    padding: 20px 25px;
    margin: 20px 0;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

blockquote:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: #764ba2;
}

#butonlar {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(15px);
}

#sonucAlani {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes selectGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 0 15px rgba(102, 126, 234, 0.5); }
}

@keyframes inputGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 0 15px rgba(102, 126, 234, 0.5); }
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, #764ba2, transparent);
    margin: 40px 0;
    border-radius: 1px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    input[type=submit], input[type=reset] {
        width: 100%;
        margin: 10px 0;
    }
    
    select, input[type=text] {
        width: 100%;
        margin: 5px 0;
    }
    
    .form-section {
        padding: 20px;
        margin: 15px 0;
    }
}

/* Enhanced Space-themed Cards */
.card-custom-bg {
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.8) 0%, rgba(44, 62, 80, 0.8) 100%);
    color: white;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card-custom-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    animation: rotateStar 15s linear infinite;
    z-index: 0;
}

.card-custom-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 50px 40px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 70px 80px, rgba(255,255,255,0.5), transparent);
    background-repeat: repeat;
    background-size: 100px 100px;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

.card-custom-bg .card-body {
    position: relative;
    z-index: 2;
    padding: 20px;
    text-align: center;
}

.card-custom-bg:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3),
                0 0 50px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(26, 32, 44, 0.9) 100%);
}

.card-custom-bg:hover::after {
    opacity: 0.4;
    animation: twinkle 2s infinite alternate;
}

@keyframes rotateStar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

.card-custom-bg .card-title {
    font-size: 1.4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.card-custom-bg .card-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

.card-custom-bg .card-text {
    color: rgba(255, 255, 255, 0.9);
    margin: 15px 0;
    position: relative;
    padding: 10px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.card-custom-bg:hover .card-text {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

/* Navbar Styles */
.navbar-space {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(15, 32, 39, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.navbar-space .navbar-nav {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 100%;
}

.navbar-space .nav-item {
    margin: 0 15px;
}

.navbar-space .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 10px 25px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.navbar-space .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    transition: left 0.5s ease;
}

.navbar-space .nav-link:hover::before {
    left: 100%;
}

.navbar-space .nav-link:hover {
    color: #667eea !important;
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.navbar-space .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-space .navbar-toggler-icon {
    filter: invert(1);
}

/* Error Message Styles */
.error-message {
    background: rgba(255, 107, 107, 0.2);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    color: white;
    font-weight: 500;
    text-align: center;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Particle Animation Styles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 15s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 18s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 14s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 16s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 13s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 17s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; animation-duration: 15s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; animation-duration: 19s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3.5s; animation-duration: 14s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* Grid Layout Styles */
.col-md-4 {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 20px;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

/* Team and Mission Page Styles */
.card-custom-bg {
    background: rgba(26, 32, 44, 0.8);
    color: white;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 25px;
    margin-bottom: 30px;
}

.card-custom-bg:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(26, 32, 44, 0.9);
}

.team-link {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 8px 20px;
    border-radius: 20px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.team-link:hover {
    color: #764ba2;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.mission-content {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
}

.mission-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.team-section {
    padding: 40px 0;
}

.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    border-radius: 50%;
    border: 3px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.team-member img:hover {
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.4);
}

/* Enhanced Severity Display Styles */
.severity-minimal {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(139, 195, 74, 0.2) 100%);
    border-color: #4CAF50;
    animation: gentlePulse 3s ease-in-out infinite;
}

.severity-local {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 193, 7, 0.2) 100%);
    border-color: #FF9800;
    animation: moderatePulse 2.5s ease-in-out infinite;
}

.severity-regional {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2) 0%, rgba(244, 67, 54, 0.2) 100%);
    border-color: #FF5722;
    animation: intensePulse 2s ease-in-out infinite;
}

.severity-global {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2) 0%, rgba(103, 58, 183, 0.2) 100%);
    border-color: #9C27B0;
    animation: severeFlash 1.5s ease-in-out infinite;
}

.severity-extinction {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(66, 66, 66, 0.4) 100%);
    border-color: #FF1744;
    animation: extremeFlash 1s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(255, 23, 68, 0.5);
}

@keyframes gentlePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(76, 175, 80, 0.3); }
    50% { transform: scale(1.02); box-shadow: 0 0 30px rgba(76, 175, 80, 0.5); }
}

@keyframes moderatePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(255, 152, 0, 0.4); }
    50% { transform: scale(1.03); box-shadow: 0 0 35px rgba(255, 152, 0, 0.6); }
}

@keyframes intensePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(255, 87, 34, 0.5); }
    50% { transform: scale(1.04); box-shadow: 0 0 40px rgba(255, 87, 34, 0.7); }
}

@keyframes severeFlash {
    0%, 100% { transform: scale(1); box-shadow: 0 0 35px rgba(156, 39, 176, 0.6); }
    50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(156, 39, 176, 0.8); }
}

@keyframes extremeFlash {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 40px rgba(255, 23, 68, 0.7);
        border-color: #FF1744;
    }
    25% { 
        transform: scale(1.06); 
        box-shadow: 0 0 60px rgba(255, 23, 68, 1);
        border-color: #FF0000;
    }
    75% { 
        transform: scale(1.04); 
        box-shadow: 0 0 55px rgba(255, 23, 68, 0.9);
        border-color: #FF0000;
    }
}

/* Impact Effects Styling */
.impact-effects-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.effects-list {
    background: rgba(255, 107, 107, 0.1);
    border-left: 5px solid #ff6b6b;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
}

.comparison-box {
    background: rgba(118, 75, 162, 0.1);
    border-left: 5px solid #764ba2;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

