/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 60px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.logo-image {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    transition: transform 0.3s ease;
    border-radius: 10px;
    object-fit: cover;
}

.nav-logo:hover .logo-image {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: #2563eb;
}

.dropdown {
    position: relative;
    display: inline-block;
    padding-top: 0.5rem; /* Add padding to bridge the gap */
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1000;
    /* margin-top: 0.5rem; */ /* Removed to prevent gap */
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #2563eb;
}

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

/* Navigation submenu styles */
.nav-item {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 1000;
}

.nav-item:hover .submenu {
    display: block;
}

.submenu li {
    list-style: none;
}

.submenu .nav-link {
    display: block;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.submenu .nav-link:hover {
    background: #f8fafc;
    color: #2563eb;
}

/* Hide any login/signup buttons that might still be present */
.nav-item a[href*="login"],
.nav-item a[href*="register"],
.nav-item a[href*="signup"],
.nav-item a[href*="auth"] {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-image i {
    font-size: 15rem;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

/* Careers Section */
.careers {
    padding: 80px 0;
    background: #f8fafc;
}

.careers h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.career-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.career-card i {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.career-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.career-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Survey Section */
.survey {
    padding: 80px 0;
    background: white;
    margin-top: 60px;
}

.survey h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.survey-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.survey-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f8fafc;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.progress-bar {
    background: #e2e8f0;
    height: 8px;
    border-radius: 4px;
    margin-bottom: 2rem;
    position: relative;
}

.progress-fill {
    background: #2563eb;
    height: 100%;
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: -30px;
    right: 0;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    white-space: nowrap;
}

.progress-detail {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-left: 0.5rem;
}

.survey-form {
    margin-bottom: 2rem;
}

.question {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.question h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    border-color: #2563eb;
    background: #f0f9ff;
}

.option.selected {
    border-color: #2563eb;
    background: #dbeafe;
}

.option input[type="radio"] {
    margin-right: 1rem;
    transform: scale(1.2);
}

.survey-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
    padding: 1rem 0;
}

.survey-navigation .btn {
    min-width: 120px;
    padding: 0.9rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid transparent;
}

.survey-navigation .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.survey-navigation .btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#prev-btn {
    background: #64748b;
    border-color: #64748b;
    color: white;
}

#prev-btn:hover:not(:disabled) {
    background: #475569;
    border-color: #475569;
}

#next-btn {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

#next-btn:hover:not(:disabled) {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

#submit-btn {
    background: #059669;
    border-color: #059669;
    color: white;
}

#submit-btn:hover:not(:disabled) {
    background: #047857;
    border-color: #047857;
}

/* Results Section */
.results {
    padding: 80px 0;
    background: #f8fafc;
}

.results h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.results-container {
    max-width: 900px;
    margin: 0 auto;
}

.primary-result {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.career-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.career-result i {
    font-size: 3rem;
    color: #2563eb;
}

.career-result h4 {
    font-size: 1.5rem;
    color: #1e293b;
}

.career-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.secondary-career {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.detailed-analysis, .next-steps {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.detailed-analysis h3, .next-steps h3 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.detailed-analysis ul, .next-steps ul {
    padding-left: 0.4rem;
    margin-left: 0;
}

.detailed-analysis li, .next-steps li {
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}

#retake-survey {
    display: block;
    margin: 2rem auto 0;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    gap: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
}

.stat h3 {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #64748b;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.contact-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: #2563eb;
    width: 30px;
    margin-top: 0.25rem;
}

.contact-item h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #f9fafb;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
}

.contact-form button {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.contact-form button i {
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #cbd5e1;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #2563eb;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Team Section */
.team {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2563eb, transparent);
}

.team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.header-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}



.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* New Team Section Styles */
.team-section {
    margin-bottom: 4rem;
}

.team-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.team-nav-btn {
    background: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-width: 150px;
}

.team-nav-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
}

.team-nav-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.hidden {
    display: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.team-row {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.row-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.row-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 2px;
}

.cofounders-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cofounders-grid .team-member-card {
    width: 300px;
    height: 400px;
    display: flex;
    flex-direction: column;
    margin: 0;
    flex-shrink: 0;
}

/* Make cofounder photos match team page square styling */
.cofounders-grid .member-photo-container {
    height: 150px;
    width: 150px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.cofounders-grid .team-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    transition: transform 0.4s ease;
}

.leadership-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.leadership-grid .team-member-card {
    width: 300px;
    height: 400px;
    display: flex;
    flex-direction: column;
    margin: 0;
    flex-shrink: 0;
}

/* Center entire rows like the example */
.team-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

/* Center Ethan in the first row */
.team-row:first-child .leadership-grid {
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
}

/* Center the third row (Ishaan, Devansh) */
.team-row:nth-child(3) .leadership-grid {
    justify-content: center;
}



.badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.2rem auto 0;
    gap: 0.3rem;
}

.executive-badge {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: white !important;
    font-weight: 700;
    margin-top: 0;
}

.leadership-card {
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.placeholder-card {
    visibility: hidden;
    pointer-events: none;
}

.placeholder-photo {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    opacity: 0.7;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
    margin: 2rem auto;
    max-width: 800px;
}

.team-member-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(37, 99, 235, 0.1);
    display: flex;
    flex-direction: column;
}

.team-member-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.team-member-card.hidden {
    display: none;
}

.member-photo-container {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-photo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    transition: transform 0.4s ease;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(29, 78, 216, 0.95));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    gap: 1rem;
}

.team-member-card:hover .member-overlay {
    opacity: 1;
}

.team-member-card:hover .team-member-photo {
    transform: scale(1.15);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: #2563eb;
    color: white;
    transform: scale(1.15) rotate(5deg);
}

.quick-view-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.quick-view-btn:hover {
    background: white;
    transform: scale(1.1);
}

.member-status {
    display: none;
}

.team-member-card .social-links {
    display: none;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #059669;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.member-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.member-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.1rem;
    flex-shrink: 0;
}

.team-member-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    min-height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-badge {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0.2rem 0.2rem 0;
    display: inline-block;
    width: fit-content;
}

.team-member-role {
    color: #2563eb;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 0.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    flex: 0 1 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    min-height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-bio {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
}

.expertise-tag {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #475569;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    transform: translateY(-2px);
}

.member-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.stat-mini {
    text-align: center;
    flex: 1;
}

.stat-number-mini {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
}

.stat-label-mini {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 0.1rem;
    flex-shrink: 0;
    justify-content: center;
}

.view-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    font-size: 0.9rem;
    white-space: nowrap;
}

.view-profile-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 0.9rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.contact-btn:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.team-stats {
    margin-top: 5rem;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.stats-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stats-header h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-header p {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: #64748b;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Team Modal */
.team-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.team-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.modal-body {
    padding: 2rem;
}

.modal-photo {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2563eb;
}

.modal-info p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.modal-role {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block !important;
    visibility: visible !important;
}

.modal-bio {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    display: block !important;
    visibility: visible !important;
}

.modal-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.modal-expertise .expertise-tag {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

/* Team Profile Page */
.team-profile {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.profile-header {
    margin-bottom: 3rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
    border: 2px solid #e2e8f0;
}

.back-btn:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.profile-content {
    max-width: 800px;
    margin: 0 auto;
}

.profile-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.profile-photo-section {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem;
    text-align: center;
}

.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.profile-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-info {
    padding: 3rem;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    text-align: center;
}

.profile-role {
    font-size: 1.3rem;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-bio {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-align: center;
}

.profile-expertise {
    margin-bottom: 2.5rem;
}

.profile-expertise h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.profile-stats .stat-item {
    text-align: center;
}

.profile-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2563eb;
    display: block;
    line-height: 1;
}

.profile-stats .stat-label {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.profile-actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.contact-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.linkedin-btn {
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.linkedin-btn:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Category Modal */
.category-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 41, 59, 0.45);
}
.category-modal-content {
    background: #fff;
    border-radius: 14px;
    max-width: 420px;
    width: 90%;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    position: relative;
    text-align: left;
}
.category-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-size: 1.7rem;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s;
}
.category-modal-close:hover {
    color: #2563eb;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: #f8fafc;
}

.dropdown-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 0.5rem 0;
    border: none;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    margin-left: 1rem;
}

.notification-close:hover {
    color: #374151;
}

.notification-success {
    border-left: 4px solid #10b981;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-info {
    border-left: 4px solid #3b82f6;
}

.notification.fade-out {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.alert-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.alert-info {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image i {
        font-size: 8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-container {
        margin: 0;
        padding: 1.5rem;
    }
    
    .survey-container {
        padding: 2rem;
    }
    
    .career-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .survey-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .team-members {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-header h2 {
        font-size: 2.5rem;
    }
    
    .team-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .member-info {
        padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.team-member-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.team-member-role {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 1rem 0;
    line-height: 1.4;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.member-actions {
    margin-top: auto;
}


    
    .category-modal-content {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
    
    .team-member-card {
        width: 90vw;
        max-width: 320px;
        height: auto;
        min-height: 320px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .survey-container {
        padding: 1.5rem;
    }
    
    .question {
        padding: 1.5rem;
    }
    
    .team-header h2 {
        font-size: 2rem;
    }
    
    .team-subtitle {
        font-size: 1rem;
    }
    
    .member-info {
        padding: 1rem;
    }
    
    .team-member-name {
        font-size: 1.3rem;
    }
} 