: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);
    scroll-behavior: smooth;
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: var(--primary-light);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-spacing {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-spacing {
    padding: 60px 0;
    }
}

/* Header & Navigation - Improved */

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 - Refined */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--white);
    padding: 7rem 5% 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    width: 50%;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(124, 58, 237, 0.08);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-label i {
    margin-right: 0.5rem;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    position: relative;
}


.hero-highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(124, 58, 237, 0.2);
    z-index: -1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--gray-800);
    max-width: 90%;
    line-height: 1.75;
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 600px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: -1.5rem;
    width: 1px;
    height: 100%;
    background: var(--gray-200);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-800);
    font-weight: 500;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.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);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.95rem;
}

.cta-primary::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);
    z-index: -1;
}

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

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

.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;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.95rem;
}

.cta-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.cta-secondary:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

.cta-secondary:hover::before {
    opacity: 1;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.7;
}

.scroll-down:hover {
    opacity: 1;
    transform: translate(-50%, -5px);
}

.scroll-icon {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-pill);
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 3px;
    height: 6px;
    background: var(--primary);
    margin-left: -1.5px;
    border-radius: var(--radius-pill);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
    opacity: 0;
    transform: translateY(0);
    }
    40% {
    opacity: 1;
    }
    80% {
    opacity: 0;
    transform: translateY(16px);
    }
    100% {
    opacity: 0;
    }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    background: var(--primary-light);
    opacity: 0.03;
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -50px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: 10%;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 10%;
}

/* User Groups Section - Enhanced */
.user-groups {
    padding: 80px 3%;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.user-groups::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    z-index: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-subtitle {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.section-title p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-800);
    line-height: 1.65;
}

.groups-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.group-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 420px;
    position: relative;
    overflow: hidden;
    border: none;
    color: white;
    cursor: pointer;
}

/* Gradient backgrounds for each card - Enhanced contrast */
.group-card:nth-child(1) {
    background: linear-gradient(135deg, #7C3AED 0%, #9F7AEA 100%);
}

.group-card:nth-child(2) {
    background: linear-gradient(135deg, #2563EB 0%, #60A5FA 100%);
}

.group-card:nth-child(3) {
    background: linear-gradient(135deg, #059669 0%, #34D399 100%);
}

.group-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.group-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    transition: var(--transition);
}

.group-card:hover .group-icon-circle {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.35);
}

.group-icon {
    font-size: 1.75rem;
    color: white;
}

.group-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    color: white;
    position: relative;
    padding-bottom: 0;
}

.group-card p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.65;
    font-size: 1.05rem;
    flex-grow: 1;
}

.group-card ul {
    display: none;
}

.group-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: var(--transition);
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
}

.group-link:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

/* Mobile scrollable cards - Improved */
@media (max-width: 768px) {
    .user-groups {
    padding: 60px 0;
    }

    .groups-container {
    display: flex;
    gap: 1rem;
    padding: 0 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    }

    .groups-container::-webkit-scrollbar {
    display: none;
    }

    .group-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    padding: 2rem 1.75rem;
    min-height: 380px;
    }

    .scroll-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    }

    .scroll-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: var(--transition);
    }

    .scroll-indicator.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
    }
}

/* Slide Panel Styles - Enhanced */
.slide-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
}

.slide-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.slide-panel {
    position: fixed;
    right: -480px;
    top: 0;
    width: 480px;
    height: 100vh;
    background: #8B5CF6;
    color: white;
    transition: transform 0.3s ease;
    z-index: 2001;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.slide-panel.active {
    transform: translateX(-480px);
}

.slide-panel.seekers {
    background: linear-gradient(135deg, #7C3AED 0%, #9F7AEA 100%);
}

.slide-panel.employers {
    background: linear-gradient(135deg, #2563EB 0%, #60A5FA 100%);
}

.slide-panel.partners {
    background: linear-gradient(135deg, #059669 0%, #34D399 100%);
}

.panel-header {
    padding: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: inherit;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.panel-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
}

.panel-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.panel-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.panel-content {
    padding: 2.5rem 1.75rem;
}

.panel-description {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.panel-features {
    margin-bottom: 2.5rem;
}

.panel-features h3 {
    font-size: 1.375rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panel-features ul {
    list-style: none;
}

.panel-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.panel-features li:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(4px);
}

.panel-features li i {
    font-size: 1.125rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
}

.feature-text h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.feature-text p {
    font-size: 0.925rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
}

.panel-cta {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.panel-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: white;
    color: #7C3AED;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.slide-panel.employers .panel-cta-button {
    color: #2563EB;
}

.slide-panel.partners .panel-cta-button {
    color: #059669;
}

.panel-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.panel-cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.panel-cta-button.secondary:hover {
    background: white;
    color: #7C3AED;
}

.slide-panel.employers .panel-cta-button.secondary:hover {
    color: #2563EB;
}

.slide-panel.partners .panel-cta-button.secondary:hover {
    color: #059669;
}

/* Pattern overlay - Subtle */
.group-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 20px 20px;
    transform: rotate(30deg);
    pointer-events: none;
}

/* Features Section - Refined */
.features {
    padding: 80px 5%;
    background: var(--gray-100);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}

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

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

.feature-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: rgba(124, 58, 237, 0.08);
    margin-bottom: 1.25rem;
    overflow: hidden;
    padding: 8px;
}

.feature-icon-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-img {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-800);
    line-height: 1.6;
}

/* Testimonials - Enhanced */
.testimonials {
    padding: 80px 5%;
    background: white;
    position: relative;
    overflow: hidden;
}

.testimonial-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.testimonial-header .section-subtitle {
    order: -1;
    margin-bottom: 1rem;
}

.testimonial-header h2 {
    margin-top: 0;
}

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

.testimonial-header p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray-800);
}

.testimonial-container {
    position: relative;
    padding-bottom: 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    padding: 1rem 0.5rem;
}

.testimonial-card {
    min-width: 320px;
    max-width: 320px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    flex-shrink: 0;
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.testimonial-card:nth-child(2) {
    background: #F3F0FF;
    transform: scale(1.03);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.12);
}

.testimonial-card:nth-child(2) .author-avatar {
    width: 72px;
    height: 72px;
}

.quote-icon {
    font-size: 2.25rem;
    color: var(--primary-light);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-content {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    color: var(--gray-800);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gray-300);
    overflow: hidden;
    transition: var(--transition);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--gray-900);
}

.author-details p {
    font-size: 0.85rem;
    color: var(--gray-800);
    margin: 0;
}

.testimonial-indicators {
    display: flex;
    gap: 0.5rem;
    margin-top: 2.5rem;
    justify-content: center;
}

.testimonial-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-indicator.active {
    width: 24px;
    border-radius: var(--radius-pill);
    background: var(--primary);
}

/* Stats Section - Refined */
.stats {
    padding: 60px 5%;
    text-align: center;
    background: var(--white);
}

.stats-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
}

.stat-box h3 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.375rem;
}

.stat-box p {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--gray-800);
}

/* Kaam Foundation Section - Enhanced */
.foundation-section {
    padding: 60px 5%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #7C3AED 0%, #9F7AEA 100%);
}

.foundation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/foundation.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.foundation-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.foundation-text h2 {
    font-size: 2.375rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.foundation-text .highlight {
    color: #FED7AA;
}

.foundation-text p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.foundation-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.foundation-feature {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.foundation-feature i {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.foundation-feature p {
    margin: 0;
    font-size: 0.925rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: left;
    line-height: 1.5;
}

.foundation-cta {
    background: white;
    color: var(--primary);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
}

.foundation-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Partners - Modern Grid */
.partners {
    padding: 60px 5%;
    background: var(--gray-100);
    text-align: center;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* Footer CTA - Enhanced */
.footer-cta {
    padding: 80px 5%;
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-cta h2 {
    font-size: 2.375rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.footer-cta p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.95);
}

.cta-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    gap: 0.875rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-form input {
    flex: 1 1 280px;
    max-width: 100%;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    outline: none;
}

.cta-form button {
    padding: 0.875rem 1.75rem;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 0.95rem;
}

.cta-form button:hover {
    background: #00b369;
    transform: translateY(-2px);
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.footer-cta::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

/* Footer - Clean */
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);
}

/* Responsive - Enhanced Mobile */
@media (max-width: 1024px) {
    .hero-content {
    width: 60%;
    }
    
    .hero-visual {
    width: 40%;
    right: 2%;
    }
    
    .hero h1 {
    font-size: 3rem;
    }

    .groups-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    }
    
    .group-card {
    padding: 2rem 1.5rem;
    }
    
    .group-card h3 {
    font-size: 1.5rem;
    }
    
    .group-card p {
    font-size: 1rem;
    }

    .slide-panel {
    width: 450px;
    right: -450px;
    }

    .slide-panel.active {
    transform: translateX(-450px);
    }
    
    .foundation-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    }
    
    .foundation-visual {
    max-width: 500px;
    margin: 0 auto;
    }
    
    .testimonial-card:nth-child(2) {
    transform: scale(1);
    }

    .partner-logos {
    grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* Header Mobile - Fixed spacing */
    header {
    padding: 0.875rem 1rem;
    }

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

    .logo {
    height: 60px;
    }

    .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;
    }

    .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;
    }
    
    .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 Mobile - Improved */
    .hero {
    flex-direction: column;
    padding-top: 5rem;
    padding-bottom: 3rem;
    text-align: center;
    min-height: auto;
    gap: 0;
    }
    
    .hero-content {
    width: 100%;
    order: 2;
    padding-top: 1.5rem;
    }

    .hero-label {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 1rem;
    }
    
    .hero h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    }

    .hero h1::after {
    left: 50%;
    transform: translateX(-50%);
    }
    
    .hero p {
    max-width: 100%;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    }
    
    .hero-visual {
    position: relative;
    width: 100%;
    height: 220px;
    transform: none;
    top: auto;
    right: auto;
    order: 1;
    margin-bottom: 0;
    margin-top: 0;
    }

    .hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    }
    
    /* Stats Mobile - Better spacing */
    .hero-stats {
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0 1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    }

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

    .stat-item::after {
    right: -0.5rem;
    }

    .stat-number {
    font-size: 1.75rem;
    }

    .stat-label {
    font-size: 0.8rem;
    }
    
    .cta-group {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0 1.5rem;
    }

    .cta-primary, .cta-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    }

    /* Section spacing mobile */
    .section-spacing {
    padding: 50px 0;
    }

    /* Section titles mobile */
    .section-title h2 {
    font-size: 2rem;
    }

    .section-title p {
    font-size: 1rem;
    }

    /* Slide panel mobile */
    .slide-panel {
    width: 100%;
    right: -100%;
    }

    .slide-panel.active {
    transform: translateX(-100%);
    }

    .panel-header {
    padding: 1.25rem;
    }

    .panel-content {
    padding: 2rem 1.25rem;
    }
    
    /* Testimonials mobile - Improved carousel */
    .testimonial-container {
    padding: 0;
    overflow: hidden;
    }
    
    .testimonial-track {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    }
    
    .testimonial-track::-webkit-scrollbar {
    display: none;
    }
    
    .testimonial-card {
    min-width: 80%;
    max-width: 80%;
    scroll-snap-align: center;
    }
    
    .testimonial-card:nth-child(2) {
    transform: scale(1);
    }

    .scroll-down {
    display: none;
    }
    
    /* Foundation mobile */
    .foundation-section {
    padding: 50px 1.5rem;
    }
    
    .foundation-text h2 {
    font-size: 1.875rem;
    }
    
    .foundation-text p {
    font-size: 1rem;
    }
    
    .foundation-features {
    grid-template-columns: 1fr;
    gap: 1rem;
    }

    /* Partners mobile grid */
    .partner-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
    }

    .partner-logo {
    height: 40px;
    }
    
    /* Form mobile */
    .cta-form {
    flex-direction: column;
    gap: 0.875rem;
    width: 100%;
    max-width: 320px;
    }
    
    .cta-form input {
    width: 100%;
    flex: 1 1 auto;
    }
    
    .cta-form button {
    width: 100%;
    }

    /* Stats mobile */
    .stats-container {
    gap: 2.5rem;
    }

    .stat-box h3 {
    font-size: 2.25rem;
    }

    .stat-box p {
    font-size: 0.95rem;
    }

    /* Trust badges mobile */
    .trust-badges {
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    }

    .trust-badge {
    font-size: 0.8rem;
    flex: 0 1 auto;
    }

    .trust-badge i {
    font-size: 0.875rem;
    }
}

@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 h1 {
    font-size: 1.875rem;
    }
    
    .hero p {
    font-size: 0.95rem;
    }
    
    .cta-primary, .cta-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    }
    
    .section-title h2 {
    font-size: 1.75rem;
    }

    .stat-number {
    font-size: 1.5rem;
    }

    .stat-label {
    font-size: 0.75rem;
    }
    
    .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    }
}

/* Trust badges */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-800);
}

.trust-badge i {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .trust-badges {
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
    }

    .trust-badge {
    font-size: 0.8rem;
    }
}

.error-alert {
    background: #FEE2E2;
    color: #991B1B;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: none;
    text-align: center;
    font-weight: 600;
}