:root {
    --primary: #7C3AED;
    --primary-light: #8B5CF6;
    --primary-dark: #6D28D9;
    --primary-gradient: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    --secondary: #00C875;
    --secondary-gradient: linear-gradient(135deg, #00C875 0%, #23E894 100%);
    --accent: #FF3D57;
    --accent-gradient: linear-gradient(135deg, #FF3D57 0%, #FF6C7C 100%);
    --tertiary: #00CED1;
    --tertiary-gradient: linear-gradient(135deg, #00CED1 0%, #40E0E0 100%);
    --dark-blue: #0A1A2F;
    --gray-100: #F6F7FB;
    --gray-200: #E9EBF0;
    --gray-300: #D0D4E0;
    --gray-800: #323338;
    --gray-900: #1F1F1F;
    --white: #FFFFFF;
    --black: #000000;
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.12);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 32px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.3);
    --shadow-glow-secondary: 0 0 20px rgba(0, 200, 117, 0.2);
    --shadow-glow-accent: 0 0 20px rgba(255, 61, 87, 0.2);
    --shadow-glow-tertiary: 0 0 20px rgba(0, 206, 209, 0.2);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 9999px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --bezier-bounce: cubic-bezier(0.4, 1.8, 0.5, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header - Updated to match refined index page */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.75rem 5%;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.logo {
    height: 72px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

nav a:hover {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary-gradient);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.recruiter-login {
    background: transparent;
    color: var(--primary);
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.recruiter-login:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.cta-button {
    background: var(--primary-gradient);
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    font-size: 0.95rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.cta-button:hover::before {
    transform: translateX(100%);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section - Matching contact page style */
.hero {
    background: var(--primary-gradient);
    padding: 8rem 5% 4rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/teamtop.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Team Introduction */
.team-intro {
    padding: 5rem 5%;
    background: var(--gray-100);
    text-align: center;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.team-label {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.team-description {
    font-size: 1.05rem;
    color: var(--gray-800);
    line-height: 1.75;
}

/* Founders Section */
.founders-section {
    padding: 80px 5%;
    background: white;
}

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

.founder-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.founder-profile:nth-child(even) {
    direction: rtl;
}

.founder-profile:nth-child(even) > * {
    direction: ltr;
}

.founder-image-container {
    position: relative;
    height: 400px;
    background: var(--gray-100);
    overflow: hidden;
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.founder-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.founder-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.founder-title-block {
    flex: 1;
}

.founder-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.founder-role {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0;
}

.founder-social {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.founder-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-800);
    transition: var(--transition);
    text-decoration: none;
}

.founder-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.founder-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

.founder-bio p {
    margin-bottom: 1rem;
    text-align: justify;
}

.founder-bio p:last-child {
    margin-bottom: 0;
}

.founder-bio strong {
    color: var(--gray-900);
    font-weight: 600;
}

.founder-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gray-900);
    padding: 2rem;
    background: var(--gray-100);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
}

/* Experience Timeline */
.experience-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.experience-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(124, 58, 237, 0.05);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--gray-800);
}

.experience-item i {
    color: var(--primary);
    font-size: 1rem;
}

/* Mission Section */
.mission-section {
    padding: 80px 5%;
    background: var(--gray-100);
    text-align: center;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-pill);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-800);
}

/* Collaborators Grid */
.collaborators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.collaborator-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.collaborator-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.collaborator-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.collaborator-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.collaborator-card p {
    font-size: 0.9rem;
    color: var(--gray-800);
}

/* Partners Section */
.partners-showcase {
    padding: 80px 5%;
    background: white;
}

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

.partner-highlight {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.partner-highlight:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    transition: var(--transition);
}

.partner-highlight:hover .partner-logo {
    opacity: 1;
}

.partner-highlight h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.partner-highlight p {
    font-size: 1rem;
    color: var(--gray-800);
    line-height: 1.6;
}

/* Team Gallery */
.team-gallery {
    padding: 80px 5%;
    background: linear-gradient(135deg, #7C3AED 0%, #9F7AEA 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-gallery::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.gallery-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gallery-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.team-photos {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 3rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.photo-placeholder {
    text-align: center;
}

.photo-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.photo-placeholder p {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    padding: 80px 5%;
    background: var(--gray-100);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary {
    padding: 0.9rem 1.75rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-glow);
    font-size: 0.95rem;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.cta-secondary {
    padding: 0.9rem 1.75rem;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.cta-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Footer - Updated to match refined index page */
footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3.5rem 5% 2rem;
}

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

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--white);
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-300);
}

.footer-bottom a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive - Enhanced Mobile */
@media (max-width: 1024px) {
    .collaborators-grid {
    grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    }
}

@media (max-width: 768px) {
    header {
    padding: 0.875rem 1rem;
    }

    header.scrolled {
    padding: 0.75rem 1rem;
    }

    .logo {
    height: 60px;
    }
    
    .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1.5rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
    display: flex;
    }
    
    .nav-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    }
    
    .recruiter-login {
    display: none;
    }
    
    .cta-button {
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    }
    
    .cta-button i {
    display: none;
    }
    
    .menu-toggle {
    display: flex;
    margin-left: 0.75rem;
    }
    
    .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
    margin-top: 60px;
    padding: 6rem 5% 3rem;
    }
    
    .hero h1 {
    font-size: 2rem;
    }
    
    .hero p {
    font-size: 1.05rem;
    }
    
    .team-intro {
    padding: 3rem 5%;
    }
    
    .team-subtitle {
    font-size: 1.5rem;
    }
    
    .team-description {
    font-size: 1rem;
    }
    
    .founders-section,
    .mission-section,
    .partners-showcase,
    .team-gallery,
    .cta-section {
    padding: 60px 5%;
    }
    
    .section-header h2 {
    font-size: 2rem;
    }
    
    .founder-profile {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 3rem;
    }
    
    .founder-profile:nth-child(even) {
    direction: ltr;
    }
    
    .founder-image-container {
    height: 300px;
    }
    
    .founder-info {
    padding: 2rem;
    }
    
    .founder-name {
    font-size: 1.8rem;
    }
    
    .founder-role {
    font-size: 1.1rem;
    }
    
    .founder-bio {
    font-size: 0.95rem;
    }
    
    .founder-quote {
    font-size: 1rem;
    padding: 1.5rem;
    }
    
    .collaborators-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    }
    
    .partner-highlight {
    padding: 2rem;
    }
    
    .gallery-title {
    font-size: 2rem;
    }
    
    .cta-content h2 {
    font-size: 2rem;
    }
    
    .cta-primary, .cta-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    }
    
    .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    }
}

@media (max-width: 480px) {
    header {
    padding: 0.75rem 0.75rem;
    }
    
    .logo {
    height: 60px;
    }

    .cta-button {
    padding: 0.5rem 0.875rem;
    font-size: 0.8rem;
    }
    
    .hero {
    padding: 5rem 1.5rem 2.5rem;
    }
    
    .hero h1 {
    font-size: 1.75rem;
    }
    
    .team-label {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    }
    
    .team-intro {
    padding: 2.5rem 1.5rem;
    }
    
    .founders-section,
    .mission-section,
    .partners-showcase,
    .team-gallery,
    .cta-section {
    padding: 50px 1.5rem;
    }
    
    .section-header h2 {
    font-size: 1.75rem;
    }
    
    .experience-timeline {
    grid-template-columns: 1fr;
    }
}