:root {
    --primary-color: #6366f1;
    --secondary-color: #4f46e5;
    --background-color: #0f172a;
    --text-color: #e2e8f0;
    --card-background: #1e293b;
    --accent-color: #f59e0b;
    --hover-color: #d97706;
    --instagram-color: #e1306c;
    --linkedin-color: #0077b5;
    --youtube-color: #ff0000;
    --whatsapp-color: #25d366;
    --success-color: #10b981;
    --border-color: #334155;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --meta-background: #1e293b;
    --meta-border: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

header {
    background-color: var(--card-background);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    display: inline-block;
    padding: 0.5rem 1rem;
    position: relative;
    background-color: var(--card-background);
    border-radius: 6px;
    z-index: 1;
}

.logo-container {
    position: relative;
    padding: 2px;
    border-radius: 8px;
    background: linear-gradient(
        to right,
        #FF0000,  /* Red */
        #FF8C00,  /* Dark Orange */
        #FFD700,  /* Gold */
        #32CD32,  /* Lime Green */
        #4169E1,  /* Royal Blue */
        #8A2BE2,  /* Blue Violet */
        #FF1493,  /* Deep Pink */
        #FF0000   /* Red (back to start for seamless loop) */
    );
    background-size: 800% 100%;
    animation: snakeBorder 16s linear infinite;
    display: inline-block;
}

.logo::before {
    display: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 2rem;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-links a[href="#jobs"] {
    position: relative;
    background-color: var(--card-background);
    border-radius: 6px;
    z-index: 1;
    color: #8b5cf6;
    font-weight: 600;
    animation: navPulse 5s infinite;
}

@keyframes navPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
    }
}

.nav-links a[href="#jobs"]:hover {
    color: #a78bfa;
    animation: navPulse 1s infinite;
}

/* Remove the previous gradient styles */
.nav-links a[href="#jobs"]::before {
    display: none;
}

.nav-links a:not([href="#jobs"]):hover {
    color: var(--primary-color);
}

main {
    margin-top: 4rem;
}

.hero {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.social-icon:hover .fa-instagram {
    color: var(--instagram-color);
}

.social-icon:hover .fa-linkedin {
    color: var(--linkedin-color);
}

.social-icon:hover .fa-youtube {
    color: var(--youtube-color);
}

.social-icon:hover .fa-whatsapp {
    color: var(--whatsapp-color);
}

.about-social {
    margin-top: 1.5rem;
}

.about-social .social-icon {
    background-color: var(--card-background);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.about-social .social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.jobs-section, .about-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.jobs-section h2, .about-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.jobs-section h2:hover {
    color: var(--accent-color);
}

.jobs-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        #FF6B6B,
        #4ECDC4,
        #45B7D1,
        #96E6A1,
        #FF6B6B
    );
    background-size: 200% 100%;
    animation: snakeBorder 4s linear infinite;
}

.jobs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.job-card {
    background: var(--card-background);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

.job-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.job-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.status-badge.expired {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.post-date {
    font-size: 0.85rem;
    color: #94a3b8;
}

.job-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.location {
    color: #94a3b8;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.description {
    position: relative;
    padding-left: 20px;
    margin: 1.5rem 0;
    color: #94a3b8;
    line-height: 1.6;
}

.description::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, #fbbf24, #f59e0b);
    border-radius: 4px;
}

.job-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    padding: 1.5rem;
    background-color: rgba(30, 41, 59, 0.5);
    border-radius: 10px;
}

.job-details-toggle {
    margin-bottom: 1.5rem;
    text-align: center;
}

.toggle-btn {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.toggle-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.toggle-btn i {
    transition: transform 0.3s ease;
}

.toggle-btn.active i {
    transform: rotate(180deg);
}

.full-details {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #0f172a;
    border-radius: 5px;
    border-left: 3px solid var(--accent-color);
}

.job-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--meta-background);
    border-radius: 5px;
    border: 1px solid var(--meta-border);
}

.job-meta p {
    margin: 0;
    color: #cbd5e1;
}

.job-meta strong {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.job-description {
    margin-bottom: 1.5rem;
}

.job-description h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.job-description p {
    color: #cbd5e1;
}

.requirements, .responsibilities, .qualifications, .company-info {
    margin-bottom: 1.5rem;
}

.requirements h4, .responsibilities h4, .qualifications h4, .company-info h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.requirements ul, .responsibilities ul, .qualifications ul {
    list-style-position: inside;
    color: #94a3b8;
    padding-left: 1rem;
}

.requirements li, .responsibilities li, .qualifications li {
    margin-bottom: 0.5rem;
}

.company-info p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.company-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.apply-btn {
    background-color: var(--primary-color);
    color: white;
}

.apply-btn:hover {
    background-color: var(--secondary-color);
}

.referral-btn {
    background-color: var(--accent-color);
    color: white;
    position: relative;
}

.referral-btn:hover {
    background-color: var(--hover-color);
}

/* Pulse animation for the referral button */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

/* Removed vibration animation */

.about-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.profile-image {
    flex-shrink: 0;
    width: 250px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-color: var(--card-background);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    background: linear-gradient(
        to right,
        #ff0000,
        #ffff00,
        #00ff00,
        #800080,
        #ff0000
    );
    background-size: 200% 100%;
    animation: snakeBorder 4s linear infinite;
}

.profile-image::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--card-background);
    border-radius: 16px;
    z-index: 0;
}

@keyframes snakeBorder {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: -800% 0;
    }
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    border-radius: 14px;
    position: relative;
    z-index: 1;
}

.profile-photo:hover {
    transform: scale(1.02);
}

/* Remove the previous border animation styles */
.profile-image::before {
    display: none;
}

.profile-image:hover {
    animation: snakeBorder 2s linear infinite;
}

.profile-info {
    flex-grow: 1;
}

.profile-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.profile-info .title {
    color: #94a3b8;
    margin-bottom: 1rem;
    font-weight: 500;
}

.profile-info .bio {
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.schedule-btn {
    background-color: #8b5cf6;
    color: white;
    margin-top: 0;
}

.schedule-btn:hover {
    background-color: #7c3aed;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--card-background);
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: var(--card-background);
        padding: 0.5rem;
        border-radius: 50px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        border: 1px solid var(--border-color);
        z-index: 1000;
        width: auto;
        white-space: nowrap;
    }
    
    .nav-links a {
        margin: 0 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .nav-links a[href="#jobs"] {
        background-color: var(--accent-color);
        color: white;
        border-radius: 25px;
        animation: mobilePulse 2s infinite;
    }

    @keyframes mobilePulse {
        0% {
            box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
        }
        70% {
            box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
        }
    }

    .nav-links a[href="#jobs"]:hover {
        background-color: var(--hover-color);
        animation: mobilePulse 1s infinite;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .jobs-section {
        padding: 3rem 0.5rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-section {
        padding: 3rem 0.5rem;
    }
    
    .about-content {
        flex-direction: column;
        padding: 1.5rem;
        margin: 0.5rem;
        text-align: center;
        width: calc(100% - 1rem);
    }
    
    .profile-image {
        width: 200px;
        height: 250px;
        margin: 0 auto;
    }
    
    .profile-info {
        width: 100%;
        padding: 0;
    }
    
    .profile-info h3 {
        font-size: 1.6rem;
        margin-top: 1rem;
    }
    
    .profile-info .title {
        font-size: 1.1rem;
    }
    
    .profile-info .bio {
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 1rem 0;
    }
    
    .contact-info {
        align-items: center;
        width: 100%;
    }
    
    .contact-info p {
        justify-content: center;
        width: 100%;
        word-break: break-word;
    }
    
    .contact-info a {
        font-size: 0.9rem;
    }
    
    .about-social {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .about-social .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .about-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .job-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .job-meta {
        grid-template-columns: 1fr;
    }
    
    .logo-container {
        max-width: 80%;
    }

    .job-card {
        padding: 1.5rem;
        margin: 0.5rem;
        width: calc(100% - 1rem);
    }

    .job-details {
        padding: 1rem;
    }

    .job-details ul {
        padding-left: 1rem;
    }

    .job-details li {
        font-size: 0.95rem;
    }

    .job-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .job-actions button {
        width: 100%;
    }
}

.job-card.expired {
    opacity: 0.8;
    position: relative;
}

.job-card.expired::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.1);
    border-radius: 15px;
    pointer-events: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #64748b;
    border: none;
}

.btn:disabled:hover {
    background-color: #64748b;
    transform: none;
}

.referral-btn:disabled {
    animation: none;
}

.stats-dashboard {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.stat-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 16px;
    padding: 1.5rem;
    width: 200px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.stat-card.total {
    text-decoration: none;
    color: inherit;
}

.stat-card.total:hover .stat-icon {
    transform: rotate(360deg);
    transition: transform 0.6s ease;
}

.stat-card.active::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.stat-card.expired::before {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.stat-card.total .stat-icon {
    color: #3b82f6;
}

.stat-card.active .stat-icon {
    color: #10b981;
}

.stat-card.expired .stat-icon {
    color: #ef4444;
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-content p {
    font-size: 1rem;
    color: #94a3b8;
    margin: 0.5rem 0 0;
}

@media (max-width: 768px) {
    .stats-dashboard {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .stat-card {
        width: 100%;
        max-width: 280px;
    }

    .stat-content h3 {
        font-size: 2rem;
    }
}

/* Job Category Styles */
.job-category {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid;
    display: inline-block;
}

.category-title.active {
    color: var(--success-color);
    border-color: var(--success-color);
}

.category-title.expired {
    color: #ef4444;
    border-color: #ef4444;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Animation for stat cards on hover */
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-card.total:hover::before {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    opacity: 1;
}

.stat-card.active:hover::before {
    background: linear-gradient(90deg, #10b981, #34d399);
    opacity: 1;
}

.stat-card.expired:hover::before {
    background: linear-gradient(90deg, #ef4444, #f87171);
    opacity: 1;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .job-category {
        margin-bottom: 3rem;
        scroll-margin-top: 80px;
    }

    .category-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
} 