* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica', Arial, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Hide titlebar that creates gap */
.titlebar-inner,
.titlebar-container,
.titlebar {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Team Hero Section */
.team-hero {
    min-height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    position: relative;
    padding: 80px 20px;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 600px;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: #0066cc;
    color: white;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.cta-button:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: white;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #1f2937;
    line-height: 1.3;
}

.section-title .highlight {
    color: #0066cc;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #6b7280;
    max-width: 900px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.member-image {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.social-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    opacity: 1;
    transition: all 0.3s ease;
}

.social-link {
    width: 35px;
    height: 35px;
    background: #0066cc;
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
}

.member-info p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Join Team Section */
.join-team-section {
    padding: 80px 0;
    background: #f8fafc;
}

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

.join-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

/* Promo Card */
.promo-column {
    position: sticky;
    top: 100px;
}

.promo-card {
    background: linear-gradient(135deg, #00838f 0%, #00acc1 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 131, 143, 0.3);
}

.promo-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

.promo-badge {
    background: white;
    color: #1f2937;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.badge-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #00838f;
    margin-bottom: 5px;
}

.badge-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 15px;
}

.badge-price {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.price-amount {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.price-detail {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.promo-features {
    margin-top: 20px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.checkmark {
    font-weight: 700;
    font-size: 1.2rem;
}

.feature-note {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 10px;
    font-style: italic;
}

.promo-contact {
    margin-top: 25px;
}

.phone-number {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.contact-email {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Form Column */
.form-column {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: left;
    margin-bottom: 30px;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.3;
}

.form-subtitle {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
}

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

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group-full {
    width: 100%;
    margin-bottom: 20px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
}

.form-checkbox {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0066cc;
}

.checkbox-label {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    cursor: pointer;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Character Counter */
.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .join-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .promo-column {
        position: static;
    }
}

@media (max-width: 768px) {
    .team-hero {
        min-height: 50vh;
        padding: 60px 20px;
    }

    .team-section,
    .join-team-section {
        padding: 60px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .member-image {
        height: 300px;
    }

    .form-column {
        padding: 30px 25px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-title {
        font-size: 1.75rem;
        text-align: center;
    }

    .form-subtitle {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container,
    .join-container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .promo-card {
        padding: 30px 25px;
    }

    .promo-card h2 {
        font-size: 1.5rem;
    }

    .form-column {
        padding: 25px 20px;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .member-image {
        height: 280px;
    }

    .social-overlay {
        bottom: 15px;
        left: 15px;
        gap: 8px;
    }

    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-member {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }
.team-member:nth-child(5) { animation-delay: 0.5s; }
.team-member:nth-child(6) { animation-delay: 0.6s; }

.team-member.visible {
    opacity: 1;
}

/* Smooth transitions */
.team-member,
.form-input,
.form-textarea,
.submit-button,
.social-link,
.social-icon {
    transition: all 0.3s ease;
}

/* Focus states */
.form-input:focus,
.form-textarea:focus {
    transform: translateY(-2px);
}

/* Button active states */
.cta-button:active,
.submit-button:active {
    transform: scale(0.98);
}

/* Loading state */
.submit-button.loading {
    position: relative;
    color: transparent;
}

.submit-button.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spinner 0.8s linear infinite;
}

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

/* Hero parallax effect */
.team-hero {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .team-hero {
        background-attachment: scroll;
    }
}

/* Additional hover effects for social links */
.social-link:nth-child(1):hover {
    background: #1877f2;
}

.social-link:nth-child(2):hover {
    background: #1da1f2;
}

.social-link:nth-child(3):hover {
    background: #0077b5;
}

.social-link:nth-child(4):hover {
    background: #e4405f;
}

/* Form validation states */
.form-input.error,
.form-textarea.error {
    border-color: #ef4444;
}

.form-input.success {
    border-color: #10b981;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #3b82f6;
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

.notification-success {
    background: #10b981;
}

.notification-error {
    background: #ef4444;
}

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

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    opacity: 0.8;
}

/* Additional responsive adjustments */
@media (max-width: 1200px) {
    .join-grid {
        grid-template-columns: 350px 1fr;
    }
}

@media (max-width: 991px) {
    .hero-content {
        text-align: center;
    }

    .hero-subtitle,
    .hero-tagline {
        max-width: 100%;
    }
}

/* Accessibility improvements */
.form-input:focus-visible,
.form-textarea:focus-visible,
.form-checkbox:focus-visible,
.submit-button:focus-visible,
.cta-button:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .team-hero {
        background: none;
        color: #000;
        min-height: auto;
        padding: 20px;
    }

    .social-overlay,
    .promo-card,
    .submit-button {
        display: none;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles if needed */
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cta-button,
    .submit-button {
        border: 2px solid currentColor;
    }

    .form-input,
    .form-textarea {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .team-hero {
        background-attachment: scroll;
    }
}