:root {
    --primary: #1a365d;
    --secondary: #2d6bc9;
    --accent: #e6a23c;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #64748b;
    --success: #10b981;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

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

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(45, 107, 201, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 107, 201, 0.4);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9), rgba(45, 107, 201, 0.8)), url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1600&h=900&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--light), transparent);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

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

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

.secondary-button:hover {
    background-color: white;
    color: var(--primary);
}

/* Facebook community button */
.facebook-community-btn {
    background-color: #1877f2;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: 2px solid #1877f2;
}

.facebook-community-btn:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background-color: white;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    border-radius: 15px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    display: block;
}

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

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-img {
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background-color: white;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--secondary);
    z-index: 1;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    border: 5px solid white;
    box-shadow: 0 0 0 5px rgba(45, 107, 201, 0.1);
}

.step h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.step p {
    color: var(--gray);
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.03), rgba(45, 107, 201, 0.03));
}

.testimonial-slider {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.testimonial {
    background-color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    color: rgba(45, 107, 201, 0.1);
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

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

.author-info h5 {
    font-size: 1.1rem;
    color: var(--primary);
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Job Listings */
.job-listings {
    padding: 6rem 0;
    background-color: white;
}

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

.job-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--secondary);
    transition: var(--transition);
}

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

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

.job-category {
    display: inline-block;
    background-color: rgba(45, 107, 201, 0.1);
    color: var(--secondary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.job-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.job-salary {
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

.job-meta {
    display: flex;
    gap: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.job-meta i {
    color: var(--secondary);
    margin-right: 0.3rem;
}

.job-apply-btn {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.job-apply-btn:hover {
    background-color: var(--secondary);
    color: white;
}

/* Freelancers section */
.freelancers-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
}

.live-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: var(--primary);
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.freelancers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.freelancer-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    border-left: 5px solid var(--gray);
}

.freelancer-card.online {
    border-left-color: var(--success);
}

.freelancer-card.offline {
    border-left-color: #94a3b8;
    opacity: 0.85;
}

.freelancer-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.freelancer-info {
    flex: 1;
}

.freelancer-name {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.freelancer-role {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.3rem;
}

.freelancer-status {
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.freelancer-status .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.freelancer-card.online .freelancer-status .dot { background-color: var(--success); }
.freelancer-card.offline .freelancer-status .dot { background-color: #94a3b8; }

.freelancer-card.online .freelancer-status { color: var(--success); }
.freelancer-card.offline .freelancer-status { color: #94a3b8; }

.freelancer-note {
    margin-top: 2.5rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.freelancer-note i {
    color: var(--secondary);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    opacity: 0.8;
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-form {
    background-color: white;
    padding: 3rem;
    border-radius: 20px;
    color: var(--dark);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(45, 107, 201, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 5rem 0 2rem;
}

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

.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .process-steps::before { display: none; }
    .step { margin-bottom: 3rem; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .section-header h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero { padding: 10rem 0 6rem; }
    .hero h1 { font-size: 2rem; }
    .stat-number { font-size: 2.5rem; }
    .service-card, .job-card { padding: 1.5rem; }
    .contact-form { padding: 2rem; }
}