/* CSS Variables */
:root {
    --color-primary: #10b981; /* Emerald */
    --color-primary-dark: #059669;
    --color-bg-main: #ffffff;
    --color-bg-light: #f9fafb;
    --color-text-dark: #111827;
    --color-text-body: #4b5563;
    --color-text-light: #6b7280;
    --color-border: #e5e7eb;
    
    --color-accent-blue: #3b82f6;
    --color-accent-orange: #f97316;
    --color-accent-dark: #1f2937;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --max-width-containers: 1200px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--color-bg-main);
    color: var(--color-text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-dark);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: var(--max-width-containers);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 96px 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.center {
    text-align: center;
}

.text-emerald {
    color: var(--color-primary);
}

/* Typography Utility */
.section-header {
    margin-bottom: 48px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header h2 {
    font-size: 36px;
    letter-spacing: -0.02em;
}

.section-header.center {
    flex-direction: column;
    align-items: center;
}

.section-header.center p {
    margin-top: 12px;
    font-size: 18px;
    color: var(--color-text-light);
}

/* Buttons */
.btn-primary {
    background-color: var(--color-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-text {
    color: var(--color-text-dark);
    font-weight: 600;
    padding: 12px 16px;
}

.btn-text:hover {
    color: var(--color-primary);
}

.btn-outline {
    border: 2px solid var(--color-border);
    color: var(--color-text-dark);
    padding: 12px 32px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    display: inline-flex;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--color-text-dark);
    background: var(--color-text-dark);
    color: white;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 12px 32px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    display: inline-flex;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--color-primary-dark);
}

.link-animate {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.link-animate i {
    transition: var(--transition-fast);
}

.link-animate:hover i {
    transform: translateX(4px);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-main);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition-fast);
}

.nav-container {
    max-width: var(--max-width-containers);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-dark);
}

.logo i {
    color: var(--color-primary);
    font-size: 28px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--color-text-body);
    font-weight: 500;
    font-size: 15px;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--color-text-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    overflow: hidden;
}

.hero-container {
    max-width: var(--max-width-containers);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content h1 {
    font-size: 56px;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 48px;
    max-width: 90%;
}

.search-bar {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.search-bar:focus-within {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.search-input {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 16px;
    gap: 12px;
}

.search-input i {
    color: var(--color-text-light);
    font-size: 20px;
}

.search-input input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    color: var(--color-text-dark);
}

.search-divider {
    width: 1px;
    height: 32px;
    background-color: var(--color-border);
}

.search-btn {
    border-radius: var(--border-radius-md);
}

.hero-visual {
    position: relative;
}

.hero-img {
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero-accent-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, rgba(16,185,129,0) 100%);
    top: -20px;
    right: -20px;
    border-radius: var(--border-radius-xl);
    z-index: 1;
}

/* Top Companies */
.top-companies {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
}

.section-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.company-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    opacity: 0.6;
}

.logo-item {
    font-size: 40px;
    color: var(--color-text-dark);
    transition: var(--transition-fast);
}

.logo-item:hover {
    opacity: 1;
    color: var(--color-primary);
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.category-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.category-card .icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.category-card:hover .icon-wrapper {
    background-color: var(--color-primary);
    color: white;
}

.category-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.category-card span {
    color: var(--color-text-light);
    font-size: 14px;
}

/* Featured Jobs */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.job-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.job-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-border); /* Subtle hover border */
}

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

.job-company-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.box-icon-emerald { background: rgba(16, 185, 129, 0.1); color: var(--color-primary); }
.box-icon-dark { background: rgba(31, 41, 55, 0.1); color: var(--color-accent-dark); }
.box-icon-blue { background: rgba(59, 130, 246, 0.1); color: var(--color-accent-blue); }
.box-icon-orange { background: rgba(249, 115, 22, 0.1); color: var(--color-accent-orange); }

.save-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.save-btn:hover {
    color: var(--color-text-dark);
}

.job-body .job-type {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-bg-light);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 12px;
}

.job-body h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.job-body .company-name {
    color: var(--color-text-body);
    font-weight: 500;
    margin-bottom: 16px;
}

.job-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}

.posted-time {
    font-size: 13px;
    color: var(--color-text-light);
}

.btn-apply {
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-apply i {
    transition: var(--transition-fast);
}

.job-card:hover .btn-apply i {
    transform: translateX(4px);
}

.center-btn-wrapper {
    display: flex;
    justify-content: center;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 32px;
    color: var(--color-primary);
    opacity: 0.2;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--color-text-dark);
    flex-grow: 1;
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 13px;
    color: var(--color-text-light);
}

/* Call to Action */
.cta-section {
    padding-bottom: 96px;
}

.cta-box {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    border-radius: var(--border-radius-xl);
    padding: 80px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-size: 40px;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-actions .btn-primary {
    background: white;
    color: var(--color-primary-dark);
}

.cta-actions .btn-primary:hover {
    background: var(--color-bg-light);
}

/* Footer */
.footer {
    background: var(--color-bg-light);
    padding: 80px 0 40px;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand .logo {
    margin-bottom: 24px;
    display: inline-flex;
}

.footer-brand p {
    color: var(--color-text-light);
    margin-bottom: 24px;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-body);
    box-shadow: var(--shadow-sm);
    font-size: 18px;
}

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

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 24px;
}

.footer-links a {
    display: block;
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 32px;
    text-align: center;
    color: var(--color-text-light);
    font-size: 14px;
}

/* Animations and Reveals */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }


/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .hero-content p {
        margin: 0 auto 40px;
    }

    .search-bar {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-visual {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .nav-links, .nav-actions .btn-text {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .search-bar {
        flex-direction: column;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 16px;
    }

    .search-input {
        width: 100%;
        background: white;
        padding: 16px;
        border-radius: var(--border-radius-md);
        border: 1px solid var(--color-border);
    }

    .search-divider {
        display: none;
    }

    .search-btn {
        width: 100%;
        padding: 16px;
    }

    .company-logos {
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cta-actions {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
