/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #4A90E2 0%, #7B68EE 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.nav-logo h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

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

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main content */
.main-content {
    min-height: calc(100vh - 140px);
}

/* Section spacing for single page */
.content-section {
    padding: 80px 0;
    background-color: white;
    scroll-margin-top: 90px; /* Account for fixed navbar + padding */
}

.content-section:nth-child(even) {
    background-color: #f8f9ff;
}

/* Hero section also needs scroll margin */
.hero-section {
    scroll-margin-top: 90px; /* Account for fixed navbar + padding */
}

/* Navigation active state for single page */
.nav-link.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Home Page Styling */
.category-tag {
    margin-bottom: 0;
    display: flex;
    justify-content: flex-start;
}

.tag-content {
    background: #E8F4FD;
    border: 1px solid #4A90E2;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: #4A90E2;
    font-weight: 500;
    line-height: 1.6;
}

.tag-icon {
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    padding: 2rem 0 4rem 0;
    background: white;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: #4A90E2;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    margin-right: 1.5rem;
}

.logo-text {
    line-height: 1;
    margin: 0;
}

.hero-content h1 {
    font-size: 4rem;
    color: #4A90E2;
    margin: 0;
    font-weight: 700;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
    margin: 0;
    max-width: 500px;
    font-weight: 400;
}

/* AI Process Card */
.ai-process-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #E8F4FD;
    min-width: 400px;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.process-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.process-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.process-icon.reviewer {
    background: #4A90E2;
    color: white;
}

.ai-agents {
    display: flex;
    gap: 0.3rem;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.ai-agent {
    width: 40px;
    height: 40px;
    background: #7B68EE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.output-icon {
    width: 60px;
    height: 60px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.process-operator {
    font-size: 1.5rem;
    color: #666;
    font-weight: 600;
}

.process-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    text-align: center;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: #f8f9ff;
}

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

.feature-item {
    text-align: left;
    padding: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-icon.privacy {
    background: #E8F5E8;
    color: #4CAF50;
}

.feature-icon.plug {
    background: #E8F5E8;
    color: #4CAF50;
}

.feature-icon.learn {
    background: #E8F5E8;
    color: #4CAF50;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: #4A90E2;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 600;
}

.cta-button {
    background: #4A90E2;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* Contact Form Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

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

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
}

.close {
    color: #aaa;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #4A90E2;
}

.contact-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.email-note {
    display: block;
    margin-top: 0.3rem;
    color: #666;
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #666;
    border: 2px solid #e0e0e0;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
    color: #333;
}

.btn-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Loading state for send button */
.btn-primary.loading {
    color: transparent;
}

.btn-primary.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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

/* Success/Error Messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive styles for home page */
@media (max-width: 768px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.6;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
        font-size: 0.7rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-flow {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .ai-agents {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .process-operator {
        transform: rotate(90deg);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Solutions page styling */
.solutions-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.solutions-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 3rem;
    text-align: center;
}

.solutions-cta {
    margin-top: 2rem;
}

/* Customer Portal Login Styling */
.login-section {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9ff;
    padding: 2rem 0;
}

.login-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.login-header {
    margin-bottom: 2.5rem;
}

.login-logo {
    width: 160px;
    height: 160px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.login-header h1 {
    font-size: 1.8rem;
    color: #333;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

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

.google-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.google-signin-btn:hover {
    border-color: #4A90E2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
}

.google-icon {
    flex-shrink: 0;
}

.divider {
    position: relative;
    text-align: center;
    margin: 1rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: #666;
    font-size: 0.9rem;
}

.otp-login-btn {
    background: #4A90E2;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.otp-login-btn:hover {
    background: #3a7bc8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.login-link {
    color: #4A90E2;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #3a7bc8;
    text-decoration: underline;
}

/* Page header */
.page-header {
    background: white;
    color: #333;
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #4A90E2;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
}

/* Content sections */
.content-section {
    padding: 80px 0;
    background-color: white;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.content-section p {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.footer p {
    font-size: 1rem;
    opacity: 0.8;
}

/* About Us page specific styles */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Personal Story Section */
.personal-story {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    border-left: 4px solid #4A90E2;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.1);
}

.personal-story p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: left;
    font-style: italic;
}

.personal-story p:last-of-type {
    margin-bottom: 0;
}

.story-signature {
    font-style: italic;
    color: #4A90E2;
    font-weight: 600;
    text-align: right !important;
    margin-top: 2rem !important;
    font-size: 1rem !important;
}

/* Page Divider */
.page-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #4A90E2 50%, transparent 100%);
    margin: 3rem 0;
    border-radius: 1px;
}

.mission-statement {
    text-align: center;
    margin-bottom: 4rem;
}

.mission-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #4A90E2;
    font-style: italic;
    margin-top: 1rem;
}

.positioning {
    margin-bottom: 4rem;
}

.positioning p {
    text-align: left;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.core-values {
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    justify-items: center;
}

.values-grid .value-item:nth-child(4),
.values-grid .value-item:nth-child(5) {
    grid-column: span 1;
}

.values-grid .value-item:nth-child(4) {
    justify-self: end;
}

.values-grid .value-item:nth-child(5) {
    justify-self: start;
}

.value-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #4A90E2;
}

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

.value-item h3 {
    color: #4A90E2;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-item p {
    text-align: left;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Team page specific styles */
.team-description {
    margin-bottom: 4rem;
    text-align: center;
}

.team-description h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 2rem;
    font-weight: 700;
}

.team-description p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

.team-section {
    margin-bottom: 5rem;
}

.team-section h2 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 3rem;
    font-weight: 700;
    text-align: left;
}

/* Founders Grid */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Team Grid - 3 cards per row, same size as CEO/CTO */
.team-section:nth-of-type(2) .founders-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
}

/* Advisors Grid - 3 cards per row, same size as CEO/CTO */
.team-section:nth-of-type(3) .founders-grid,
.team-section:last-of-type .founders-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 3rem !important;
    max-width: 1200px !important;
}

/* Tablet screens - 2 cards per row for Team and Advisors */
@media (max-width: 1024px) and (min-width: 769px) {
    .team-section:nth-of-type(2) .founders-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .team-section:nth-of-type(3) .founders-grid,
    .team-section:last-of-type .founders-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2.5rem !important;
    }
}

/* Small tablet screens - 2 cards per row for all sections */
@media (max-width: 768px) and (min-width: 481px) {
    .founders-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
    
    .team-section:nth-of-type(2) .founders-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
    
    .team-section:nth-of-type(3) .founders-grid,
    .team-section:last-of-type .founders-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
}

.founder-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #E8F4FD;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.founder-image {
    margin-bottom: 1rem;
}

.founder-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    border: 3px solid #E8F4FD;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.founder-name-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.3rem;
}

.founder-info h3 {
    font-size: 1.4rem;
    color: #4A90E2;
    margin: 0;
    font-weight: 600;
    text-decoration: underline;
}

.founder-role {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.6;
}

.founder-separator {
    width: 60px;
    height: 2px;
    background-color: #4A90E2;
    margin: 0 auto 0.8rem auto;
}

.founder-experience {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    text-align: center;
    max-width: 280px;
}

.founder-name-section .linkedin-link {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.team-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #E8F4FD;
}

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

.team-image {
    margin-bottom: 1rem;
}

.team-info h3 {
    font-size: 1.3rem;
    color: #4A90E2;
    margin-bottom: 1rem;
    font-weight: 600;
}

.team-role {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.team-social {
    display: flex;
    justify-content: center;
}

/* Advisors Grid */
.advisors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.advisor-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #E8F4FD;
}

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

.advisor-image {
    margin-bottom: 1rem;
}

.advisor-info h3 {
    font-size: 1.3rem;
    color: #4A90E2;
    margin-bottom: 1rem;
    font-weight: 600;
}

.advisor-role {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.advisor-social {
    display: flex;
    justify-content: center;
}

/* Common Avatar Styles */
.placeholder-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A90E2 0%, #7B68EE 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

/* LinkedIn Link */
.linkedin-link {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid #4A90E2;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    background-color: #4A90E2;
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #667eea;
        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;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    .personal-story {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .personal-story p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .story-signature {
        font-size: 0.9rem !important;
        text-align: right !important;
    }
    
    .page-divider {
        margin: 2rem 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: stretch;
    }
    
    .values-grid .value-item:nth-child(4),
    .values-grid .value-item:nth-child(5) {
        justify-self: stretch;
    }
    
    .value-item {
        padding: 1.5rem;
    }
    
    .mission-text {
        font-size: 1.2rem;
    }
    
    /* All founder grids - Mobile: 1 column */
    .founders-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        max-width: 100% !important;
    }
    
    /* Team Grid - Mobile: 1 column */
    .team-section:nth-of-type(2) .founders-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        max-width: 100% !important;
    }
    
    /* Advisors Grid - Mobile: 1 column */
    .team-section:nth-of-type(3) .founders-grid,
    .team-section:last-of-type .founders-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        max-width: 100% !important;
    }
    
    .team-description h2 {
        font-size: 2rem;
    }
    
    .team-description p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .team-section h2 {
        font-size: 2rem;
    }
    
    .founder-card,
    .team-card,
    .advisor-card {
        padding: 1.5rem;
    }
    
    .placeholder-avatar {
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .nav-logo h2 {
        font-size: 1.5rem;
    }
    
    .founder-photo {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .login-container {
        padding: 2rem;
        margin: 1rem;
    }
    
    .login-header h1 {
        font-size: 1.4rem;
    }
    
    .login-links {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    /* Contact form modal responsive styles */
    .modal-content {
        margin: 2% auto;
        width: 95%;
        max-width: none;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-secondary,
    .btn-primary {
        width: 100%;
        padding: 1rem 1.5rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #4A90E2;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.back-to-top.show {
    display: flex;
}

/* Apply Button - Option 2: Small Outline Button */
.apply-btn {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    padding: 0.3rem 1.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    display: inline-block;
}

.apply-btn:hover {
    border-color: #4A90E2;
    color: #4A90E2;
}

/* Position Filled Indicator */
.position-filled {
    background: #e8f5e8;
    color: #2d5a2d;
    border: 1px solid #4caf50;
    padding: 0.3rem 1.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.5rem;
    display: inline-block;
    text-align: center;
}

/* Option 1: Subtle Text Link (commented out)
.apply-btn {
    background: none;
    color: #666;
    border: none;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: underline;
    text-decoration-color: transparent;
    margin-top: 0.5rem;
    display: inline-block;
}

.apply-btn:hover {
    color: #4A90E2;
    text-decoration-color: #4A90E2;
}

.apply-btn:active {
    color: #357ABD;
}
*/

/* Option 3: Small Icon Button (commented out)
.apply-btn {
    background: #f8f9fa;
    color: #666;
    border: none;
    padding: 0.4rem;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apply-btn:hover {
    background: #e9ecef;
    color: #4A90E2;
}
*/

/* Job Application Modal Specific Styles */
#jobApplicationModal .modal-content {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#jobApplicationModal .form-group {
    margin-bottom: 1.5rem;
}

#jobApplicationModal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

#jobApplicationModal .form-group input,
#jobApplicationModal .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#jobApplicationModal .form-group input:focus,
#jobApplicationModal .form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

#jobApplicationModal .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

#jobApplicationModal .email-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

#jobApplicationModal .modal-header {
    flex-shrink: 0;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #e1e5e9;
}

#jobApplicationModal .contact-form {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

#jobApplicationModal .form-actions {
    flex-shrink: 0;
    padding-top: 1rem;
    border-top: 1px solid #e1e5e9;
    margin-top: 1rem;
}
