/* =============================================
   1. Global Variables & Reset
   ============================================= */
:root {
    --primary-color: #077c8c;
    --primary-dark: #056674;
    --secondary-color: #e0f7fa;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-color: #eef2f5;

    /* Gradients */
    --gradient-1: linear-gradient(180deg, #ffffff 0%, #f0fdff 100%);
    --gradient-2: linear-gradient(180deg, #f0fdff 0%, #ffffff 100%);
}

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

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

p {
    line-height: 1.6;
    color: var(--text-muted);
}

a {
    text-decoration: none;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

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

/* =============================================
   2. Utility Classes (Gradients & Common)
   ============================================= */

/* UPDATED: Reduced padding */
section {
    padding: 60px 0;
}

.section-gradient-1 {
    background: var(--gradient-1);
}

.section-gradient-2 {
    background: var(--gradient-2);
}

/* Unified Section Title */
.common-section-title h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.common-section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.ls-2 {
    letter-spacing: 2px;
}

/* Dash underline */
.underline-dash-center {
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* =============================================
   3. Component Styling
   ============================================= */

/* --- Navbar --- */
.emp-navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.btn-login {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
}

.btn-post {
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    border: none;
    margin-left: 10px;
}

/* --- Hero Section --- */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.check-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #334155;
    display: flex;
    align-items: center;
}

.check-list i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* --- Brand Section --- */
.brand-section {
    padding: 50px 0;
    overflow: hidden;
}

.brand-carousel {
    position: relative;
    overflow: hidden;
}

.brand-track {
    display: flex;
    animation: carousel 20s linear infinite;
}

.brand-logo {
    flex: 0 0 auto;
    width: 180px;
    height: 80px;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    opacity: 0.7;
    transition: 0.3s;
}

.brand-logo img:hover {
    opacity: 1;
}

@keyframes carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.brand-carousel:hover .brand-track {
    animation-play-state: paused;
}

/* --- Stats Section --- */
.stat-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(7, 124, 140, 0.1);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.stat-dash {
    width: 40px;
    height: 5px;
    background-color: #e2e8f0;
    margin: 0 auto;
    border-radius: 10px;
    transition: 0.3s ease;
}

.stat-card:hover .stat-dash {
    background-color: var(--primary-color);
    width: 60px;
}

/* --- Premium Categories --- */
.premium-category-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.premium-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(7, 124, 140, 0.15);
    border-color: var(--primary-color);
}

.img-container {
    height: 140px;
    position: relative;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 124, 140, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.premium-category-card:hover .img-container img {
    transform: scale(1.1);
}

.premium-category-card:hover .img-overlay {
    opacity: 1;
}

.card-content {
    padding: 18px 10px;
    flex-grow: 1;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.candidate-count {
    font-size: 0.9rem;
    color: #94a3b8;
}

.categories-show-all-btn {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
}

.categories-show-all-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* --- City Hiring (Slider) --- */
.city-scroll-wrapper {
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll for mobile */
}

.city-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.city-card {
    min-width: 260px;
    /* Consistent width */
    max-width: 260px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.city-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(7, 124, 140, 0.15);
}

.city-img {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.city-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.city-card:hover .city-img img {
    transform: scale(1.15);
}

.city-info {
    padding: 20px 15px;
    text-align: center;
}

.city-name {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.city-stats {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    background: #e0f7fa;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.scroll-btn {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.scroll-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.left-btn {
    left: 20px;
}

.right-btn {
    right: 20px;
}

/* --- AI Hiring Section --- */
.badge-ai {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(7, 124, 140, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
}

.ai-steps {
    border-left: 2px solid #e2e8f0;
    padding-left: 20px;
}

.ai-step-item {
    margin-bottom: 25px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.ai-step-item::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    transition: 0.3s;
}

.ai-step-item.active::before,
.ai-step-item:hover::before {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

.step-header h6 {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.step-icon {
    color: var(--primary-color);
    margin-right: 10px;
}

.step-desc {
    font-size: 0.95rem;
    margin-top: 5px;
    margin-left: 28px;
}

/* AI Card Stack */
.card-stack-wrapper {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.main-ai-card {
    width: 320px;
    background: linear-gradient(145deg, #077c8c, #055a66);
    color: white;
    border-radius: 20px;
    padding: 25px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(7, 124, 140, 0.4);
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-stack-wrapper:hover .main-ai-card {
    transform: translateY(-10px) scale(1.02);
}

.card-bg-layer {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%) rotate(5deg);
    width: 300px;
    height: 380px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    z-index: 1;
    opacity: 0.6;
    transition: 0.4s;
}

.pricing .amount {
    font-size: 2rem;
    font-weight: 800;
}

.pricing .original {
    text-decoration: line-through;
    opacity: 0.7;
    margin-left: 10px;
}

.ai-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.ai-avatar,
.user-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px;
    border-radius: 50%;
}

.ai-avatar.floating {
    animation: floatIcon 3s infinite ease-in-out;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.connection-line {
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 10px;
}

.ai-features-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.ai-features-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.ai-features-list i {
    margin-right: 10px;
    color: #84ffff;
}

.feature-mini {
    text-align: center;
    padding: 20px;
    transition: 0.3s;
}

.feature-mini:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: #e0f2f1;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

/* --- Why Hire & Testimonial --- */
.stat-item {
    border-left: 3px solid #e2e8f0;
    padding-left: 20px;
    height: 100%;
}

.stat-value {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.95rem;
    line-height: 1.5;
}

.testimonial-img-box {
    position: relative;
    height: 400px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
}

.blob-bg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 85%;
    background: linear-gradient(135deg, #e0f7fa 0%, #ffecb3 100%);
    border-radius: 50% 50% 0 0 / 40% 40% 0 0;
    z-index: 1;
}

.person-img {
    position: relative;
    z-index: 2;
    max-height: 100%;
    max-width: 90%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.6;
    font-weight: 600;
    color: #334155;
    margin-bottom: 30px;
}

.divider-dashed {
    border-top: 1px dashed #cbd5e1;
    margin: 30px 0;
    width: 100%;
}

.author-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.author-role {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.btn-nav {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    transition: 0.3s;
}

.btn-nav:hover,
.btn-nav.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.dots-container {
    display: flex;
    gap: 8px;
}

.dot {
    width: 30px;
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 2px;
}

.dot.active {
    background-color: var(--primary-color);
    width: 45px;
}

/* --- Pricing Section --- */
.pricing-card {
    background: #fff;
    max-width: 340px;
    margin: 0 auto;
    border-radius: 16px;
    border: 2px solid #f3f4f6;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(7, 124, 140, 0.15);
}

.pricing-card.popular {
    background: #fcfcfc;
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
    border-color: var(--primary-color);
}

.price-num {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2.5rem;
}

.badge-popular {
    background-color: var(--primary-color);
    color: white;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

.btn-outline-custom {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: #fff;
}

/* --- FAQ Section --- */
.custom-card {
    border: 1px solid #eef2f5;
    border-radius: 16px !important;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    background: #fff;
}

.accordion-button {
    font-weight: 600;
    color: #2c3e50;
    padding: 22px 30px;
    font-size: 1.05rem;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #fcfcfc;
}

.accordion-body {
    font-size: 0.98rem;
    line-height: 1.7;
    padding: 10px 30px 30px 30px;
    color: #555;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 80px 0 30px;
}

.footer-brand {
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    max-width: 400px;
}

.footer-heading {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
    display: inline-block;
}

.footer-contact li {
    display: flex;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact .icon-wrap {
    min-width: 30px;
    color: #84ffff;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin: 0 6px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #ffffff;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
}

/* =============================================
   4. RESPONSIVE MEDIA QUERIES (UPDATED)
   ============================================= */
@media (max-width: 991px) {
    .pricing-card.popular {
        transform: scale(1);
        margin: 20px auto;
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    /* Mobile Stack Fix for AI Section */
    .card-stack-wrapper {
        height: 400px;
        margin-top: 40px;
    }

    /* Mobile Nav Adjustments */
    .btn-post {
        margin-left: 0;
        margin-top: 0;
        /* Remove margin top for side-by-side buttons */
    }
}

@media (max-width: 768px) {

    /* Padding Reduce */
    section {
        padding: 40px 0;
    }

    /* Typography Scale Down */
    .hero-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .common-section-title h2 {
        font-size: 1.8rem;
    }

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

    /* Center Alignment for Mobile */
    .text-md-start {
        text-align: center !important;
    }

    .footer-desc {
        margin: 0 auto;
    }

    .social-icons {
        justify-content: center !important;
    }

    .footer-contact li {
        justify-content: center;
    }

    /* Hide Slider Arrows on Mobile (Touch Scroll active) */
    .scroll-btn {
        display: none;
    }

    /* Testimonial Image Height */
    .testimonial-img-box {
        height: 300px;
    }
}

@media (max-width: 576px) {

    /* Small Mobile Adjustments */
    .city-card {
        min-width: 220px;
    }

    .premium-category-card {
        min-height: 180px;
    }
}