* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Scroll Animation Styles */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-delay-1 {
    transition-delay: 0.1s;
}

.scroll-animate-delay-2 {
    transition-delay: 0.2s;
}

.scroll-animate-delay-3 {
    transition-delay: 0.3s;
}

.scroll-animate-delay-4 {
    transition-delay: 0.4s;
}

.scroll-animate-delay-5 {
    transition-delay: 0.5s;
}

/* Accessibility - Skip Navigation Link */
.skip-link {
    position: absolute;
    top: -60px;
    left: 20px;
    background: #10b981;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 20px;
    outline: 3px solid #4ade80;
    outline-offset: 2px;
}

/* Accessibility - Visible Focus States for Keyboard Navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #4ade80;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.2);
}

/* Ensure focus states work on older browsers */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid #4ade80;
    outline-offset: 2px;
}

/* Special focus state for contact button */
.contact-button:focus,
.contact-button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3);
}

/* Special focus state for dark buttons */
.submit-button:focus,
.submit-button:focus-visible,
.team-contact-button:focus,
.team-contact-button:focus-visible,
.survey-button:focus,
.survey-button:focus-visible {
    outline: 3px solid #4ade80;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.3);
}

/* Focus state for footer links */
.footer-link:focus,
.footer-link:focus-visible {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 3px;
}

/* Focus state for social links */
.footer-social-link:focus,
.footer-social-link:focus-visible {
    outline: 3px solid #4ade80;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.3);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000000;
    min-height: 100vh;
    color: #e8f5e9;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Interactive Swarm Canvas - only in content section */
#swarm-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
}

.header-panel {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, rgba(74, 222, 128, 0.20) 50%, rgba(16, 185, 129, 0.16) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px clamp(30px, 5vw, 80px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 10;
}

.header-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.5), transparent);
}

.container {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
}

.content {
    padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 80px);
    width: 100%;
    box-sizing: border-box;
    position: relative;
    min-height: calc(100vh - 81px); /* Full viewport height minus header */
}

/* Homepage content with swarm canvas - centered layout */
.content:has(#swarm-canvas) {
    overflow: hidden; /* Contain the canvas */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content > *:not(#swarm-canvas) {
    position: relative;
    z-index: 1; /* Content above canvas */
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.logo-container a {
    outline: none !important;
}

.logo-container a:focus,
.logo-container a:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.logo-icon {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.logo {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-button {
    padding: 12px 30px;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 5px;
}

.contact-button:hover {
    background: #ffffff;
    color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-button:active {
    transform: translateY(0);
}

.heading {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #d1fae5;
}

.university-tagline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.university-logo {
    height: 80px;
    width: auto;
    opacity: 0.9;
    filter: brightness(1.1);
}

.university-tagline {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    color: #86efac;
    font-style: italic;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.explore-button {
    background: transparent;
    border: none;
    color: #10b981;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    padding: 0;
    opacity: 0.8;
    margin-top: 80px;
}

.explore-button svg {
    width: 32px;
    height: 32px;
}

.explore-button:hover {
    opacity: 1;
    color: #4ade80;
}

.explore-button svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
    animation: bounce 2s infinite;
}

.explore-button:hover svg {
    animation-play-state: paused;
    transform: translateY(5px);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.description {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 40px;
    color: #a7f3d0;
    line-height: 1.6;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #86efac;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
    opacity: 0.9;
}

.page-paragraph {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #c7f0dd;
    margin-bottom: 30px;
    text-align: left;
}

.page-paragraph:last-child {
    margin-bottom: 0;
}

.funding-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.25) 100%);
    padding: 40px 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.funding-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.funding-label {
    font-size: 1.1rem;
    color: #ffffff;
    opacity: 0.95;
    text-align: center;
    margin-bottom: 10px;
}

.funding-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 10px;
}

.growing {
    text-align: center;
    font-size: 0.9rem;
    color: #ffffff;
    opacity: 0.85;
    font-style: italic;
}

/* Applications Section */
/* Section Title */
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: #10b981;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto clamp(25px, 3vw, 35px) auto;
}

.section-title-centered {
    text-align: center;
    max-width: 100%;
}

/* Who Are We Section */
.who-are-we-section {
    width: 100%;
    padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 80px);
    background: #052e24;
}

.who-are-we-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.who-are-we-left {
    text-align: left;
}

.who-are-we-tagline {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #d1fae5;
    margin: 0;
}

.who-are-we-right {
    text-align: left;
}

.who-are-we-description {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 400;
    line-height: 1.8;
    color: #a7f3d0;
    margin: 0;
}

/* Problem Section */
.problem-section {
    width: 100%;
    padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 80px);
    background: transparent;
}

.problem-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: clamp(40px, 5vw, 60px);
    flex-wrap: nowrap;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 0 clamp(20px, 5vw, 80px);
}

.problem-card {
    width: 280px;
    min-width: 280px;
    padding: 20px 20px;
    background: transparent;
    border: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.problem-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #10b981;
    margin: 0;
    transition: color 0.3s ease;
}

.problem-description {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 400;
    line-height: 1.6;
    color: #a7f3d0;
    margin: 0;
    transition: color 0.3s ease;
}

/* Survey CTA Section */
.survey-cta-section {
    width: 100%;
    padding: clamp(10px, 2vw, 15px) clamp(20px, 5vw, 80px) clamp(40px, 6vw, 60px);
    background: transparent;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.survey-cta-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 500;
    color: #a7f3d0;
    max-width: 700px;
    margin: 0;
    line-height: 1.6;
}

.survey-button {
    padding: 15px 40px;
    border: 2px solid #10b981;
    background: rgba(16, 185, 129, 0.15);
    color: #d1fae5;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.survey-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
    transition: left 0.5s ease;
}

.survey-button:hover::before {
    left: 100%;
}

.survey-button:hover {
    background: #10b981;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.survey-button:active {
    transform: translateY(0);
}

/* Applications Section */
.applications-section {
    width: 100%;
    padding: clamp(60px, 8vw, 80px) clamp(20px, 5vw, 80px);
    background: #ffffff;
    border-top: 1px solid rgba(16, 185, 129, 0.3);
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}

.applications-heading {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 0 0 clamp(30px, 4vw, 50px) 0;
    font-weight: 600;
    color: #047857;
    text-align: center;
}

.applications-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: clamp(40px, 5vw, 60px);
    flex-wrap: nowrap;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 0 clamp(20px, 5vw, 80px);
}

 .application-card {
     width: 280px;
     min-width: 280px;
     padding: 20px 20px;
     background: transparent;
     border: none;
     text-decoration: none;
     text-align: center;
     transition: all 0.3s ease;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: flex-start;
     gap: 16px;
     cursor: pointer;
     font-family: inherit;
     -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
 }

.application-card:hover {
    transform: translateY(-4px);
}

.application-card:active {
    transform: translateY(-2px);
}

.application-card:focus,
.application-card:focus-visible {
    outline: none;
    box-shadow: none;
}

.app-icon {
    width: 80px;
    height: 80px;
    filter: brightness(0) saturate(100%) invert(24%) sepia(76%) saturate(1829%) hue-rotate(130deg) brightness(91%) contrast(101%);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.application-card:hover .app-icon {
    filter: brightness(0) saturate(100%) invert(19%) sepia(83%) saturate(1668%) hue-rotate(130deg) brightness(95%) contrast(102%);
    transform: scale(1.05);
}

.app-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #064e3b;
    margin: 0;
    transition: color 0.3s ease;
}

.application-card:hover .app-title {
    color: #10b981;
}

.app-description {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 400;
    line-height: 1.6;
    color: #374151;
    margin: 0;
    transition: color 0.3s ease;
}

.application-card:hover .app-description {
    color: #1f2937;
}

.team-section-box {
    width: 100%;
    margin: 0;
    padding: 0;
}

.team-section {
    padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 80px);
    position: relative;
    margin-bottom: 0;
    background: #052e24;
}

.team-heading {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: #d1fae5;
    text-align: center;
    margin-bottom: 15px;
}

.team-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    color: #86efac;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
    opacity: 0.9;
    letter-spacing: 0.3px;
}

.team-scroll {
    display: flex;
    justify-content: center;
    gap: 25px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #22c55e rgba(34, 197, 94, 0.1);
}

.team-scroll::-webkit-scrollbar {
    height: 8px;
}

.team-scroll::-webkit-scrollbar-track {
    background: rgba(16, 185, 129, 0.2);
    border-radius: 10px;
}

.team-scroll::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 10px;
}

.team-scroll::-webkit-scrollbar-thumb:hover {
    background: #059669;
}

.team-member {
    flex: 0 0 280px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.5s ease;
}

.team-member:hover::before {
    left: 100%;
}

.team-member:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.15);
}

.team-headshot {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #10b981;
    background: rgba(16, 185, 129, 0.1);
    transition: all 0.5s ease;
    position: relative;
}

.team-member:hover .team-headshot {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border-color: #4ade80;
}

.team-headshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #d1fae5;
    margin-bottom: 8px;
}

.team-position {
    font-size: 1rem;
    color: #4ade80;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-bio {
    font-size: 0.9rem;
    color: #a7f3d0;
    line-height: 1.6;
}

.team-contact-button-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.team-contact-button {
    padding: 15px 40px;
    border: 2px solid #10b981;
    background: rgba(16, 185, 129, 0.15);
    color: #d1fae5;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.team-contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
    transition: left 0.5s ease;
}

.team-contact-button:hover::before {
    left: 100%;
}

.team-contact-button:hover {
    background: #10b981;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.team-contact-button:active {
    transform: translateY(0);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(16, 185, 129, 0.1);
    padding: 20px;
    min-width: 100px;
    position: relative;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background: rgba(16, 185, 129, 0.15);
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a7f3d0;
    font-weight: 600;
}

.email-form {
    display: flex;
    gap: 10px;
    max-width: 650px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.email-form input {
    flex: 1;
    min-width: 350px;
    padding: 15px 20px;
    border: none;
    border-bottom: 2px solid rgba(16, 185, 129, 0.4);
    font-size: 1rem;
    background: rgba(20, 45, 30, 0.4);
    color: #d1fae5;
    outline: none;
    transition: all 0.3s ease;
}

.email-form input:focus {
    border-bottom-color: #10b981;
    background: rgba(20, 45, 30, 0.6);
}

.email-form input::placeholder {
    color: #86efac;
}

.email-form button {
    padding: 15px 40px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    background: #10b981;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.email-form button::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;
}

.email-form button:hover::before {
    left: 100%;
}

.email-form button:hover {
    background: #059669;
}

.email-form button:active {
    transform: scale(0.98);
}

.form-message {
    margin-top: 20px;
    font-size: 0.9rem;
    min-height: 20px;
    color: #a7f3d0;
}

.linkedin-button-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.linkedin-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid #10b981;
    color: #d1fae5;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.linkedin-button:hover {
    background: #10b981;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.linkedin-button:active {
    transform: translateY(0);
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #d1fae5;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-bottom: 2px solid rgba(16, 185, 129, 0.4);
    font-size: 1rem;
    background: rgba(20, 45, 30, 0.4);
    color: #d1fae5;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #10b981;
    background: rgba(20, 45, 30, 0.6);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #86efac;
}

.form-group textarea {
    min-height: 120px;
}

/* Form validation states */
.form-group input.valid,
.form-group textarea.valid {
    border-bottom-color: #10b981;
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-bottom-color: #ef4444;
}

.form-group .validation-message {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    min-height: 20px;
}

.form-group .validation-message.error {
    color: #fca5a5;
}

.form-group .validation-message.success {
    color: #a7f3d0;
}

.submit-button {
    width: 100%;
    padding: 15px 40px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    background: #10b981;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.submit-button::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;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    background: #059669;
}

.submit-button:active {
    transform: scale(0.98);
}

/* Loading spinner in submit button */
.submit-button .spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.submit-button.loading {
    opacity: 0.9;
    cursor: not-allowed;
}

/* Thank you message after form submission */
.thank-you-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(74, 222, 128, 0.15) 100%);
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    margin-top: 20px;
    animation: slideUp 0.6s ease;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 3rem;
    color: white;
    animation: scaleIn 0.5s ease 0.3s backwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.thank-you-message h3 {
    font-size: 2rem;
    color: #4ade80;
    margin-bottom: 20px;
    font-weight: 700;
}

.thank-you-message p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #d1fae5;
    line-height: 1.6;
}

.thank-you-message .email-note {
    font-size: 0.95rem;
    color: #a7f3d0;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(16, 185, 129, 0.3);
}

.thank-you-message .email-note strong {
    color: #4ade80;
}

.back-home-button {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 35px;
    background: #10b981;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.back-home-button:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.back-home-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .header-panel {
        padding: 15px clamp(20px, 5vw, 30px);
        flex-wrap: wrap;
    }

    .content {
        padding: clamp(40px, 8vw, 60px) clamp(15px, 5vw, 30px);
        min-height: calc(100vh - 70px); /* Adjust for smaller header on mobile */
    }

    .team-section {
        padding: clamp(40px, 8vw, 60px) clamp(15px, 5vw, 30px);
    }

    .logo-container {
        gap: 10px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo {
        font-size: 1.7rem;
    }

    .contact-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .funding-amount {
        font-size: 2.2rem;
    }

    .funding-label {
        font-size: 1rem;
    }

    .university-tagline-container {
        gap: 10px;
        margin: 25px 0;
    }

    .university-logo {
        height: 60px;
    }
    
    .who-are-we-section {
        padding: clamp(60px, 10vw, 80px) clamp(15px, 5vw, 30px);
    }

    .who-are-we-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .who-are-we-tagline {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .who-are-we-description {
        font-size: 1rem;
    }

    .problem-section {
        padding: clamp(40px, 8vw, 60px) clamp(15px, 5vw, 30px);
    }

    .problem-content {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }

    .problem-card {
        width: 220px;
        min-width: 220px;
        padding: 20px 10px;
        gap: 10px;
    }

    .problem-title {
        font-size: 1rem;
    }

    .survey-cta-section {
        padding: clamp(10px, 2vw, 15px) clamp(15px, 5vw, 30px) clamp(30px, 6vw, 40px);
        gap: 20px;
    }

    .survey-cta-text {
        font-size: 1rem;
    }

    .survey-button {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .applications-section {
        padding: clamp(40px, 8vw, 60px) clamp(15px, 5vw, 30px);
    }
    
    .applications-buttons {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }
    
    .application-card {
        width: 220px;
        min-width: 220px;
        padding: 20px 10px;
        gap: 14px;
    }

    .app-icon {
        width: 70px;
        height: 70px;
    }

    .app-title {
        font-size: 1rem;
    }


    .university-tagline {
        font-size: 0.9rem;
    }

    .team-heading {
        margin-bottom: 20px;
    }

    .team-scroll {
        gap: 20px;
        padding: 15px 10px;
        justify-content: flex-start;
    }

    .team-member {
        flex: 0 0 250px;
        padding: 20px;
    }

    .team-headshot {
        width: 100px;
        height: 100px;
    }

    .team-name {
        font-size: 1.1rem;
    }

    .team-position {
        font-size: 0.9rem;
    }

    .team-bio {
        font-size: 0.85rem;
    }

    .team-contact-button-container {
        margin-top: 30px;
    }

    .team-contact-button {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .countdown {
        gap: 10px;
    }

    .countdown-item {
        min-width: 80px;
        padding: 15px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .email-form {
        flex-direction: column;
    }

    .email-form input,
    .email-form button {
        width: 100%;
    }

    .linkedin-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .contact-form {
        max-width: 100%;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .submit-button {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
    
    .thank-you-message {
        padding: 35px 25px;
    }
    
    .thank-you-icon {
        width: 60px;
        height: 60px;
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .thank-you-message h3 {
        font-size: 1.6rem;
    }
    
    .thank-you-message p {
        font-size: 0.95rem;
    }
    
    .back-home-button {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}

/* Collaborators Section Styles */
.collaborators-section-box {
    width: 100%;
    margin: 0;
    padding: 0;
}

.collaborators-section {
    padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 80px);
    position: relative;
    margin-bottom: 0;
    background: #ffffff;
    border-top: 1px solid rgba(16, 185, 129, 0.3);
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}

.collaborators-heading {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: #047857;
    text-align: center;
    margin-bottom: 40px;
}

.collaborators-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 20px 10px;
}

.collaborator-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 250px;
    height: 120px;
}

.collaborator-logo-item:nth-child(3) {
    max-width: 350px;
    height: 160px;
}

.collaborator-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .collaborators-section {
        padding: clamp(40px, 8vw, 60px) clamp(15px, 5vw, 30px);
    }

    .collaborators-heading {
        margin-bottom: 30px;
    }

    .collaborators-logos {
        gap: 35px;
        padding: 15px 10px;
    }

    .collaborator-logo-item {
        max-width: 200px;
        height: 100px;
    }

    .collaborator-logo-item:nth-child(3) {
        max-width: 280px;
        height: 140px;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(74, 222, 128, 0.15) 50%, rgba(16, 185, 129, 0.12) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(16, 185, 129, 0.3);
    padding: 40px clamp(20px, 5vw, 80px);
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.footer-content-extended {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo .logo-icon {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #4ade80;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section-content {
    font-size: 0.9rem;
    color: #d1fae5;
    line-height: 1.6;
    margin: 0;
}

.footer-link {
    color: #d1fae5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #4ade80;
}

.footer-contact-button {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 24px;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid #10b981;
    border-radius: 5px;
    color: #d1fae5;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.footer-contact-button:hover {
    background: #10b981;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.footer-contact-button:active {
    transform: translateY(0);
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 5px;
    color: #d1fae5;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: #10b981;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

@media (max-width: 768px) {
    .footer {
        padding: 30px clamp(15px, 5vw, 30px);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-section {
        text-align: center;
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
    }
}

/* Privacy Policy Page Styles */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #d1fae5;
    margin-bottom: 15px;
    margin-top: 10px;
}

.privacy-subheading {
    font-size: 1.2rem;
    font-weight: 600;
    color: #a7f3d0;
    margin-bottom: 12px;
    margin-top: 20px;
}

.privacy-text {
    font-size: 1rem;
    color: #e8f5e9;
    line-height: 1.8;
    margin-bottom: 15px;
}

.privacy-list {
    list-style: disc;
    margin-left: 30px;
    margin-bottom: 15px;
}

.privacy-list li {
    font-size: 1rem;
    color: #e8f5e9;
    line-height: 1.8;
    margin-bottom: 8px;
}

.privacy-link {
    color: #4ade80;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #10b981;
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 20px;
    }

    .privacy-heading {
        font-size: 1.3rem;
    }

    .privacy-subheading {
        font-size: 1.1rem;
    }

    .privacy-text,
    .privacy-list li {
        font-size: 0.95rem;
    }
}

