/* 
    Aksh Staffing - Professional Redesign Styles
    Theme: Indigo & Slate (Modern Premium)
*/

:root {
    --primary: #0038e0; /* Saturated Blue from image */
    --primary-hover: #002db3;
    --primary-light: #f0f4ff;
    --secondary: #1a3c8e;
    --accent: #f36a10; /* Orange from image */
    --accent-hover: #d15a0d;
    --accent-light: #fff5ed;
    --dark: #0f172a; /* Slate 900 */
    --dark-lighter: #1e293b; /* Slate 800 */
    --text-main: #334155; /* Slate 700 */
    --text-muted: #64748b; /* Slate 500 */
    --bg-light: #f8fafc; /* Slate 50 */
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-dark: rgba(15, 23, 42, 0.82);
    --border-glass: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 1.25rem;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}


html {
    scroll-behavior: smooth !important;
}

body {
    font-family: 'Outfit', 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.025em;
}

/* Glassmorphism Utilities */
.glass-effect {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
}

/* Homepage Our Expertise — full card image (not icon thumbnail) */
.expertise-home-card__media {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 140px;
    max-height: 220px;
    background: rgba(99, 102, 241, 0.08);
    flex-shrink: 0;
}

.expertise-home-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Service detail page — same CMS image, slightly taller band */
.service-detail-card__media {
    max-height: 300px;
    aspect-ratio: 21 / 9;
    min-height: 160px;
}

/* Buttons — clear hover / focus / active before click */
.btn-indigo,
.btn-outline-indigo {
    cursor: pointer;
    text-decoration: none !important;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.25s ease,
        transform 0.22s var(--ease-out),
        filter 0.2s ease;
}

.btn-indigo {
    background: var(--primary);
    color: #fff !important;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px 0 rgba(0, 56, 224, 0.35);
}

.btn-indigo:hover {
    background: var(--primary-hover);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 56, 224, 0.4);
    filter: brightness(1.04);
}

.btn-indigo:focus-visible {
    outline: 3px solid rgba(0, 56, 224, 0.45);
    outline-offset: 3px;
}

.btn-indigo:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(0, 56, 224, 0.32);
    filter: none;
    transition-duration: 0.08s;
}

.btn-outline-indigo {
    background: transparent;
    color: var(--primary) !important;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: none;
}

.btn-outline-indigo:hover {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 56, 224, 0.28);
}

.btn-outline-indigo:focus-visible {
    outline: 3px solid rgba(0, 56, 224, 0.45);
    outline-offset: 3px;
}

.btn-outline-indigo:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 56, 224, 0.2);
    transition-duration: 0.08s;
}

/* Section Headings */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    display: block;
}

.welcome-subtitle {
    font-size: 1.5rem !important;
    text-transform: none !important;
    margin-bottom: 0.5rem !important;
}

.about-main-title {
    font-size: 2rem !important;
}

/* Hero Section Refinements */
.hero-wrapper {
    position: relative;
    padding: 120px 0 100px;
    background: url('../images/hero-bg-industry.png') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

/* Above .hero-bg-decor (z-index:1); index uses class "z-1" which is not defined here */
.hero-wrapper > .container {
    position: relative;
    z-index: 2;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 40%, rgba(255,255,255,0.8) 100%);
    z-index: -1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
}
.hero-shape-1 {
    width: 400px; height: 400px;
    background: var(--primary-light);
    top: -100px; right: -50px;
}
.hero-shape-2 {
    width: 300px; height: 300px;
    background: rgba(249, 115, 22, 0.1); /* accent light */
    bottom: 50px; left: -100px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.25);
}

/* Floating Badges */
.hero-image-wrapper {
    position: relative;
    padding: 20px;
}

.floating-badge {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.badge-top-right {
    top: 20px;
    right: -20px;
}

.badge-bottom-right {
    bottom: 30px;
    right: -20px;
}

.float-anim-slow {
    animation: floatAnim 6s ease-in-out infinite;
}
.float-anim-delayed {
    animation: floatAnim 5s ease-in-out 2s infinite;
}

.hero-text h2.section-subtitle {
    font-size: 1.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--primary);
    text-transform: none !important;
}

.hero-text h1.hero-main-title {
    font-size: 3.25rem;
    line-height: 1.0;
    margin-bottom: 1.25rem;
    font-weight: 800;
    color: #1a3c8e;
    letter-spacing: -1.5px;
}

.hero-text .text-orange {
    color: var(--accent);
}

.hero-text p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 550px;
    line-height: 1.6;
}

/* Hero primary CTAs — single row; left-aligned with column text */
.hero-text .hero-cta-row {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
}
.hero-text .hero-cta-row > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: none;
}

.trust-item {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item i {
    color: var(--primary);
    font-size: 1rem;
}

@media (min-width: 768px) {
    .trust-item:not(:last-child)::after {
        content: "|";
        position: absolute;
        right: -15px;
        color: #ddd;
        font-weight: 300;
    }
}

@media (max-width: 576px) {
    .trust-badges {
        flex-wrap: nowrap !important;
        gap: 8px !important;
        justify-content: space-between;
        padding-top: 18px;
        margin-top: 25px;
    }
    .trust-item {
        font-size: 0.7rem !important;
        gap: 5px !important;
        white-space: nowrap;
    }
    .trust-item i {
        font-size: 0.9rem !important;
    }
}

/* Floating Stats Bar */
.hero-stats-bar {
    position: relative;
    margin-top: 40px;
    margin-bottom: 0;
    background: white;
    padding: 30px 40px;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 20;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-content h5 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a3c8e;
}

.stat-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #777;
    font-weight: 500;
}

/* Background Decorations */
.hero-bg-decor {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,56,224,0.05) 0%, rgba(0,56,224,0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hero-circle-accent {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    top: 15%;
    right: 35%;
    z-index: 4;
    box-shadow: 0 10px 20px rgba(0,56,224,0.2);
}



/* Verticals & Grid Layouts */
.vertical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.vertical-item {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.vertical-item .icon-wrapper {
    width: 46px;
    height: 46px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1.25rem;
    transition: all 0.4s var(--ease-out);
    flex-shrink: 0;
}

.vertical-item .vertical-text {
    flex: 1;
    font-size: 0.95rem;
}

.vertical-item .hover-arrow {
    opacity: 0;
    transform: translateX(-15px);
    color: var(--primary);
    font-size: 1.1rem;
    transition: all 0.4s var(--ease-out);
}

.vertical-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.1), 0 8px 10px -6px rgba(79, 70, 229, 0.1);
    border-color: var(--primary);
}

/* Premium Job Portal Card Layout */
.hero-job-card-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    position: relative;
    z-index: 999;
    pointer-events: auto;
}

.job-portal-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    transition: all 0.4s;
    border: 1px solid rgba(0,0,0,0.03);
    display: block !important;
    position: relative;
    z-index: 10;
}

.card-top-bar {
    background: #f8fafc;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-status {
    background: #ecfdf5;
    color: #10b981;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-status .dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.card-content {
    padding: 30px;
}

.process-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.process-box {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-box:hover {
    transform: translateY(-6px);
}

.box-icon {
    width: 60px;
    height: 60px;
    background: #f0f4ff;
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.process-box:hover .box-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

.process-box h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1e293b;
    transition: color 0.3s;
}

.process-box:hover h6 {
    color: var(--primary) !important;
}

.btn-job-wide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary);
    color: white !important;
    padding: 15px;
    border-radius: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(0, 56, 224, 0.15);
    margin-top: 25px;
    position: relative;
    z-index: 15;
    cursor: pointer !important;
}

.btn-job-wide:hover {
    background: #002db3;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 56, 224, 0.25);
}

.job-portal-card .card-footer {
    display: none;
}
    background: #f1f5f9;
    text-align: center;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

/* Floating Stats Bar Responsive */
@media (max-width: 991px) {
    .hero-job-card-wrapper {
        justify-content: center;
        margin-top: 30px;
    }
    .hero-stats-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        padding: 30px;
        bottom: 0;
    }
    .stat-item {
        width: calc(50% - 20px);
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-stats-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 15px;
        padding: 25px 15px;
        margin-top: 40px;
        border-radius: 20px;
    }
    .stat-item {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
    }
    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    .stat-content h5 {
        font-size: 1rem;
    }
    .stat-content p {
        font-size: 0.65rem;
    }
    .hero-text h4.hero-main-title {
        font-size: 2.25rem;
    }
}


.vertical-item:hover .icon-wrapper {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.vertical-item:hover .hover-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Functional Verticals unified indigo coloring */
.functional-grid .vertical-item:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.1), 0 8px 10px -6px rgba(79, 70, 229, 0.1);
}
.functional-grid .vertical-item .icon-wrapper {
    background: var(--primary-light);
    color: var(--primary);
}
.functional-grid .vertical-item:hover .icon-wrapper {
    background: var(--primary);
    color: var(--white);
}
.functional-grid .vertical-item .hover-arrow {
    color: var(--primary);
}

/* Team Cards */
.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s var(--ease-out);
    height: 100%;
    border: 1px solid #f1f5f9;
}

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

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    display: block;
}

.team-bio {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Values Grid */
.value-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: var(--radius);
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}

.value-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.value-card h4 {
    margin-bottom: 1rem;
}

/* Client Logo Wall */
.client-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
    max-height: 40px;
    object-fit: contain;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Location Card */
.location-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: #1e293b;
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.1);
}

.location-pill i {
    color: var(--primary);
}

/* Contact Specific Section Overlay */
.contact-indigo-overlay {
    background: linear-gradient(135deg, var(--dark) 0%, #1e1b4b 100%);
    color: white;
    border-radius: var(--radius);
    overflow: hidden;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

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

/* ══════════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE — Tablet (max-width: 991px)                                       */
/* ══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .hero-wrapper {
        padding: 110px 0 50px;
        text-align: center;
    }
    .hero-text h4.hero-main-title {
        font-size: 2.25rem;
        line-height: 1.15;
    }
    .hero-text p {
        font-size: 1.05rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.75rem;
    }
    .hero-text .d-flex:not(.hero-cta-row) {
        justify-content: center;
    }
    .hero-text .hero-cta-row {
        justify-content: flex-start;
    }
    .hero-text .hero-cta-row > a {
        flex: 1 1 0;
        min-width: 0;
    }
    .hero-image {
        margin-top: 2.5rem;
        text-align: center;
    }
    .hero-image img {
        max-width: 75%;
        margin: 0 auto;
    }

    /* About Section */
    .about-img {
        margin-bottom: 2rem;
        text-align: center;
    }
    .about-img img {
        max-width: 85%;
        margin: 0 auto;
    }
    .about-content {
        padding-left: 0 !important;
        text-align: center;
    }
    .about-content .lead {
        font-size: 1.05rem;
    }
    .about-content .glass-card {
        text-align: left;
    }

    /* Section Titles */
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 0.8rem;
    }

    /* Services */
    .glass-card {
        padding: 1.5rem !important;
    }

    /* Verticals */
    .vertical-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .vertical-item {
        padding: 1rem 1.25rem;
    }
    .vertical-item .icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 1rem;
    }
    .vertical-item .vertical-text {
        font-size: 0.875rem;
    }

    /* Team */
    .team-card {
        max-width: 400px;
        margin: 0 auto;
    }
    .team-info {
        padding: 1.5rem;
    }
    .team-name {
        font-size: 1.25rem;
    }
    .team-bio {
        font-size: 0.875rem;
    }

    /* Values */
    .value-card {
        padding: 2rem 1.5rem;
    }
    .value-card i {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    .value-card h4 {
        font-size: 1.15rem;
    }

    /* Contact */
    .contact-indigo-overlay {
        padding: 2rem !important;
        border-radius: 1rem;
    }
    .contact-indigo-overlay h2 {
        font-size: 1.6rem;
    }
    .location-pill {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE — Phone landscape / small tablet (max-width: 768px)               */
/* ══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Global Section Spacing */
    .section.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Hero */
    .hero-wrapper {
        padding: 100px 0 40px;
    }
    .hero-main-title {
        font-size: 1.85rem;
        margin-bottom: 1rem;
    }
    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    .hero-text .btn-indigo,
    .btn-indigo, .btn-outline-indigo {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    .glass-card {
        padding: 1.25rem !important;
    }
    .role-card {
        padding: 1.25rem !important;
        border-radius: 12px !important;
    }
    .role-card .icon-circle {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
    .role-card h4 {
        font-size: 1rem !important;
    }
    .role-card p {
        font-size: 0.8rem !important;
    }
    .hero-text .hero-cta-row .btn-indigo,
    .hero-text .hero-cta-row .btn-outline-indigo {
        padding: 0.65rem 0.5rem;
        font-size: 0.82rem;
        min-height: 48px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        box-sizing: border-box;
    }
    .hero-text .hero-cta-row .btn-lg {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }
    .hero-text .hero-cta-row .fa-arrow-right {
        margin-left: 0.25rem !important;
        font-size: 0.75em;
    }
    .hero-text .hero-main-title {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    .welcome-subtitle {
        font-size: 1rem !important;
    }
    .about-main-title {
        font-size: 1.5rem !important;
    }
    .hero-image img {
        max-width: 85%;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.65rem;
        margin-bottom: 1rem;
    }
    .section-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.08em;
        margin-bottom: 0.5rem;
    }

    /* About */
    .about-img img {
        max-width: 100%;
        border-radius: 1rem;
    }
    .about-content .lead {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .about-content p.text-muted {
        font-size: 0.875rem;
        line-height: 1.65;
    }
    .about-content .glass-card {
        padding: 1.25rem !important;
    }
    .about-content .glass-card h5 {
        font-size: 1rem;
    }
    .about-content .glass-card .small {
        font-size: 0.8rem;
    }

    /* Services Grid */
    .glass-card h4 {
        font-size: 1.1rem;
    }
    .glass-card .small {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    .glass-card .icon-box {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }

    /* Team Grid */
    .team-img-wrapper {
        aspect-ratio: 4/3;
    }
    .team-info {
        padding: 1.25rem;
    }
    .team-name {
        font-size: 1.15rem;
    }
    .team-role {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    .team-bio {
        font-size: 0.825rem;
        line-height: 1.55;
    }

    /* Brands Wall */
    .opacity-75 h5 {
        font-size: 0.85rem !important;
    }

    /* Contact */
    .contact-indigo-overlay h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    .contact-indigo-overlay p {
        font-size: 0.875rem;
    }
    .contact-indigo-overlay h5 {
        font-size: 1rem;
    }
    .contact-indigo-overlay h6 {
        font-size: 0.9rem;
    }
    .contact-indigo-overlay .form-label {
        font-size: 0.75rem;
    }
    .contact-indigo-overlay .form-control {
        padding: 0.65rem 0.85rem;
        font-size: 0.875rem;
    }
    .contact-indigo-overlay .btn-indigo {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    /* Role Modal */
    .role-modal-content {
        padding: 30px 20px;
        border-radius: 18px;
    }
    .role-modal-content h3 {
        font-size: 1.25rem;
    }
    .role-modal-content p.text-muted {
        font-size: 0.85rem;
    }
    .role-cards {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 24px;
    }
    .role-card {
        padding: 22px 18px;
        border-radius: 16px;
    }
    .role-card .icon-circle {
        width: 56px;
        height: 56px;
        font-size: 22px;
        margin-bottom: 14px;
    }
    .role-card h4 {
        font-size: 1.05rem;
    }
    .role-card p {
        font-size: 0.8rem;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE — Small phones (max-width: 576px)                                 */
/* ══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 576px) {
    /* Global */
    .section.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .row.mb-5 {
        margin-bottom: 1.5rem !important;
    }
    .row.g-4 {
        --bs-gutter-y: 1rem;
        --bs-gutter-x: 0.75rem;
    }
    .row.g-5 {
        --bs-gutter-y: 1.5rem;
        --bs-gutter-x: 0.75rem;
    }

    /* Hero */
    .hero-wrapper {
        padding: 95px 0 30px;
    }
    .hero-text h2.section-subtitle {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        color: var(--primary);
        text-transform: none !important;
    }
    .hero-text h4.hero-main-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    .hero-text p {
        font-size: 0.875rem;
        line-height: 1.55;
        margin-bottom: 1.25rem;
    }
    .hero-text .d-flex:not(.hero-cta-row) {
        flex-direction: column;
        gap: 10px !important;
        align-items: center;
    }
    .hero-text .hero-cta-row {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.4rem !important;
        align-items: stretch !important;
    }
    .hero-text .hero-cta-row .btn-indigo,
    .hero-text .hero-cta-row .btn-outline-indigo {
        width: auto !important;
        flex: 1 1 0;
        min-width: 0;
        padding: 0.6rem 0.35rem;
        font-size: 0.78rem;
        line-height: 1.25;
    }
    .hero-image img {
        max-width: 90%;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.4rem;
        line-height: 1.25;
        margin-bottom: 0.75rem;
    }

    /* About */
    .about-content .lead {
        font-size: 0.9rem;
        line-height: 1.55;
        margin-bottom: 1rem !important;
    }
    .about-content p.text-muted {
        font-size: 0.825rem;
    }
    .about-content .glass-card {
        padding: 1rem !important;
    }
    .about-content .glass-card h5 {
        font-size: 0.95rem;
    }

    /* Services */
    .glass-card {
        padding: 1.25rem !important;
    }
    .glass-card h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    .glass-card .icon-box {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
        margin-bottom: 1rem !important;
    }

    /* Values */
    .value-card {
        padding: 1.75rem 1.25rem;
    }
    .value-card i {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    .value-card h4 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }
    .value-card p {
        font-size: 0.825rem;
    }

    /* Verticals */
    .vertical-item {
        padding: 0.85rem 1rem;
    }
    .vertical-item .icon-wrapper {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        margin-right: 0.85rem;
        border-radius: 10px;
    }
    .vertical-item .vertical-text {
        font-size: 0.825rem;
    }
    h4.mb-4 {
        font-size: 1.1rem;
    }

    /* Team */
    .team-card {
        max-width: 100%;
    }
    .team-img-wrapper {
        aspect-ratio: 3/2;
    }
    .team-info {
        padding: 1rem 1.25rem 1.25rem;
    }
    .team-name {
        font-size: 1.05rem;
    }
    .team-role {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    .team-bio {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    /* Brands Wall */
    .opacity-75 h5 {
        font-size: 0.75rem !important;
        margin-bottom: 0 !important;
    }

    /* Contact */
    .contact-indigo-overlay {
        padding: 1.5rem !important;
        border-radius: 0.85rem;
    }
    .contact-indigo-overlay h2 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem !important;
    }
    .contact-indigo-overlay p.text-white-50 {
        font-size: 0.8rem;
        margin-bottom: 1.5rem !important;
    }
    .contact-indigo-overlay h5 {
        font-size: 0.95rem;
    }
    .location-pill {
        padding: 0.4rem 0.85rem;
        font-size: 0.72rem;
        gap: 0.5rem;
    }
    .contact-indigo-overlay .bg-white.p-4 {
        padding: 1.25rem !important;
    }
    .contact-indigo-overlay .form-control {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }
    .contact-indigo-overlay .btn-indigo {
        font-size: 0.85rem;
        padding: 0.7rem;
    }
    .contact-indigo-overlay code {
        font-size: 0.9rem !important;
    }

    /* Footer type fixes */
    .floating-notif-wrapper {
        bottom: 16px;
        right: 16px;
    }
    #notif-panel {
        width: 290px !important;
    }

    /* Role Modal */
    .role-modal-content {
        padding: 24px 16px;
        width: 96%;
        border-radius: 16px;
    }
    .close-modal {
        top: 12px !important;
        right: 16px !important;
        font-size: 26px !important;
    }
    .role-modal-content h3 {
        font-size: 1.15rem;
    }
    .role-cards {
        gap: 10px;
        margin-top: 20px;
    }
    .role-card {
        padding: 18px 14px;
        flex-direction: row;
        gap: 14px;
        text-align: left;
    }
    .role-card .icon-circle {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .role-card h4 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }
    .role-card p {
        font-size: 0.75rem;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════ */
/* UTILITY — Smooth float animation for hero image                              */
/* ══════════════════════════════════════════════════════════════════════════════ */
@keyframes floatAnim {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
.float-anim {
    animation: floatAnim 4s ease-in-out infinite;
}


/* Testimonials Section */
.testi-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid #f1f5f9;
    height: 100%;
    transition: all 0.4s var(--ease-out);
    position: relative;
    display: flex;
    flex-direction: column;
}

.testi-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.testi-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.testi-text {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testi-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary-light);
    flex-shrink: 0;
}

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

.testi-av-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.testi-info h5 {
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
}

.testi-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .testi-card {
        padding: 1.75rem;
    }
    .testi-text {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    .testi-icon {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}



/* ==========================================================================
   Job Portal Page (jobs.php)
   ========================================================================== */

.jobs-hero {
    background: linear-gradient(135deg, #1a3c8e 0%, #2563eb 100%);
    padding: 100px 0 140px;
    position: relative;
    overflow: hidden;
}

.jobs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg-industry.png') center/cover;
    opacity: 0.15;
}

.search-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.search-box-wrapper {
    background: white;
    padding: 25px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.input-group-custom {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group-custom i {
    position: absolute;
    left: 20px;
    color: var(--primary);
    font-size: 1.1rem;
}

.form-control-custom {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 1px solid #eef2ff;
    background: #f8fafc;
    border-radius: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.form-control-custom:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.05);
    outline: none;
}

.btn-search-main {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-search-main:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2);
}

/* Job Listing Cards */
.job-listing-card {
    background: white;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    height: 100%;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
}

.job-listing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(30, 58, 138, 0.08);
    border-color: rgba(30, 58, 138, 0.1);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.company-logo-circle {
    width: 50px;
    height: 50px;
    background: #f0f4ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    overflow: hidden;
}

.company-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.job-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.job-type {
    background: #ecfdf5;
    color: #10b981;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

.posted-time {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.job-title-link {
    font-weight: 800;
    color: #1e293b;
    cursor: pointer;
    transition: color 0.3s;
}

.job-listing-card:hover .job-title-link {
    color: var(--primary);
}

.job-tags {
    display: flex;
    gap: 15px;
}

.tag-item {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-item i {
    color: #cbd5e1;
}

.job-skills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-grow: 1;
}

.skill-pill {
    background: #f1f5f9;
    color: #475569;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-footer-action {
    display: flex;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
}

.btn-view-job {
    flex: 1;
    background: #f8fafc;
    color: #1e293b;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-view-job:hover {
    background: var(--primary);
    color: white;
}

.btn-view-job.applied {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-bookmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #f8fafc;
    border: none;
    border-radius: 12px;
    color: #94a3b8;
    text-decoration: none;
    line-height: 1;
    transition: all 0.3s;
}

.btn-bookmark i {
    display: block;
    line-height: 1;
}

.btn-bookmark:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Rich HTML (TinyMCE job/blog): restore lists — templatemo resets `ul,li`
   globally with list-style:none, which hides bullets on public pages.
   ═══════════════════════════════════════════════════════════════════════════ */
.job-description-text.rte-render ul,
.job-description-text.rte-render ol,
.jd-body.rte-render ul,
.jd-body.rte-render ol,
.rte-render ul,
.rte-render ol,
#cjd-body.cjd-body-rich ul,
#cjd-body.cjd-body-rich ol,
.job-desc-rich ul,
.job-desc-rich ol,
.blog-post-body ul,
.blog-post-body ol {
    padding-left: 1.5rem;
    margin: 0 0 1rem 0;
}

.job-description-text.rte-render ul,
.jd-body.rte-render ul,
.rte-render ul,
#cjd-body.cjd-body-rich ul,
.job-desc-rich ul,
.blog-post-body ul {
    list-style-type: disc;
    list-style-position: outside;
}

.job-description-text.rte-render ol,
.jd-body.rte-render ol,
.rte-render ol,
#cjd-body.cjd-body-rich ol,
.job-desc-rich ol,
.blog-post-body ol {
    list-style-type: decimal;
    list-style-position: outside;
}

.job-description-text.rte-render li,
.jd-body.rte-render li,
.rte-render li,
#cjd-body.cjd-body-rich li,
.job-desc-rich li,
.blog-post-body li {
    display: list-item;
    list-style: inherit;
    margin-bottom: 0.35em;
}

.job-description-text.rte-render ul ul,
.jd-body.rte-render ul ul,
.rte-render ul ul,
#cjd-body.cjd-body-rich ul ul,
.job-desc-rich ul ul {
    list-style-type: circle;
}

.job-description-text.rte-render ul ul ul,
.jd-body.rte-render ul ul ul,
.rte-render ul ul ul,
#cjd-body.cjd-body-rich ul ul ul {
    list-style-type: square;
}

/* Pipeline / other wrappers using .rte-render only */
.candidate_pipeline .rte-render ul,
.candidate_pipeline .rte-render ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.candidate_pipeline .rte-render ul {
    list-style-type: disc;
    list-style-position: outside;
}

.candidate_pipeline .rte-render ol {
    list-style-type: decimal;
}

.candidate_pipeline .rte-render li {
    display: list-item;
    margin-bottom: 0.35em;
}
