:root {
    --brand-red: #e63946;
}

/* ================= HERO START ================= */
.hero {
    width: 100%;
    background: white;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
}


/* WRAPPER */

.hero-wrapper {
    display: flex;
    align-items: stretch;
    /* important */
}

/* LEFT SIDE */

.hero-left {
    width: 50%;
    padding: 60px 6% 40px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-left h1 {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 28px;
}

.red {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 28px;
    color: #DA1B2E;
}

.hero-left p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 35px;
    color: #444;
}

.red-text {
    color: #fff;
    font-weight: 800;
}

/* BUTTONS */

.btn-primary {
    background-color: #e10600 !important;
    border-color: #e10600 !important;
    color: white;
    padding: 14px 28px;
    border: none;
    font-weight: 600;
    margin-right: 15px;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    border: 2px solid #e10600;
    color: #e10600;
    padding: 12px 26px;
    font-weight: 600;
    cursor: pointer;
}

/* RIGHT SIDE */

.hero-right {
    width: 50%;
    position: relative;
    background: url("https://quarkwiz.com/assets/img/bg/cover.png") no-repeat center center;
    background-size: cover;
    background-position: left;
    min-height: 520px;
    clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
}


/* Logo box with white background */
.hero-logo {
    position: absolute;
    inset: 0;
    z-index: 3;
}

/* LOGO BOX */

.hero-logo-box {
    position: absolute;
    top: 10.25%;
    /* control vertical */
    left: 57.5%;
    /* control horizontal */
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    padding: 11px 52px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.hero-logo-box img {
    width: 260px;
    /* adjust size freely */
}

/* TAGLINE */

.hero-tagline {
    position: absolute;
    top: 29%;
    /* independent vertical control */
    left: 57%;
    /* independent horizontal control */
    transform: translateX(-50%);
    color: #e10600;
    font-size: 16px;
}



/* Verse logo */

.verse-logo {
    position: absolute;
    bottom: 16px;
    right: 30px;
    width: 90px;
    z-index: 3;
}

/* Bottom Curve & Logos */


.curve-strip {
    position: absolute;
    left: -120px;
    bottom: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 28px solid #e10600;
    border-right-color: black;
    border-bottom-color: #d9d9d9;
}

.bottom-logos {
    position: absolute;
    left: 60px;
    bottom: 15px;
    display: flex;
    gap: 20px;
}

.bottom-logos img {
    height: 40px;
}

/* Red bottom line */

.hero-red-line {
    width: 100%;
    height: 5px;
    background: #e10600;
}

.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}


/* RESPONSIVE */

@media (max-width: 992px) {

    .hero-wrapper {
        flex-direction: column;
    }

    .hero-left,
    .hero-right {
        width: 100%;
    }

    .hero-right {
        clip-path: none;
        height: 50vh;
    }

    .hero-left {
        padding: 70px 8%;
    }

    .hero-left h1 {
        font-size: 42px;
    }

    .hero-bottom {
        position: relative;
        height: 120px;
    }
}

/* ================= HERO END ================= */

/* Tabs */

.tabs {
    display: flex;
    gap: 20px;
}

.tab {
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    background: #ddd;
}

.tab.active {
    background: #e10600;
    color: white;
}

.tab-content {
    display: none;
    margin-top: 40px;
}

.tab-content.active {
    display: block;
}

.highlight {
    background: #e10600;
    color: white;
    padding: 4px 8px;
}

/* Cards */

.values-grid,
.work-grid,
.culture-grid,
.job-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.value-card,
.work-grid div,
.culture-grid div,
.job-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s ease;
    cursor: pointer;
}

.value-card:hover,
.work-grid div:hover,
.culture-grid div:hover,
.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Modal */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 40px;
    width: 60%;
    border-radius: 12px;
    animation: fadeIn 0.4s ease;
}

.modal-content input {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
}

.modal-content button {
    background: #e10600;
    border: none;
    padding: 12px;
    color: white;
    cursor: pointer;
}

.close {
    float: right;
    cursor: pointer;
    font-size: 26px;
}

/* Reveal Animation */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



/* Base dropdown & submenu styling */
.cd-dropdown,
.cd-submenu {
    display: none;
    /* hidden by default - JS will control */
    position: absolute;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    padding: 0;
    min-width: 280px;
    z-index: 9999;
}

/* First level dropdown */
.cd-dropdown {
    top: calc(100% + 35px);
    left: 0;
}

/* Nested submenu (2nd, 3rd level, etc.) */
.cd-submenu {
    top: 0;
    left: 100%;
    margin-left: 10px;
    /* ensures no hover gap */
    border-radius: 10px;
}

/* Remove this – JS handles display */
/*
.custom-dropdown:hover > .cd-dropdown,
.cd-dropdown li.has-sub:hover > .cd-submenu,
.cd-submenu li.has-sub:hover > .cd-submenu {
  display: block;
}
*/

/* UL / LI reset */
.cd-dropdown ul,
.cd-submenu ul {
    list-style: none;
    margin: 0;
    padding: 10px 12px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cd-dropdown li,
.cd-submenu li {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 10px 0;
    width: 100%;
}

/* Links */
.cd-dropdown a,
.cd-submenu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: white;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

/* Remove bottom border for last item */
.cd-dropdown>ul>li:last-of-type>a,
.cd-submenu>ul>li:last-of-type>a {
    border-bottom: none !important;
}

/* Icons */
.cd-dropdown a i,
.cd-submenu a i {
    margin-right: 10px;
    min-width: 18px;
}

/* Arrow for nested items */
.cd-dropdown li.has-sub>a::after {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #fe0605;
    margin-left: auto;
    padding-left: 10px;
}

/* Hover effect */
.cd-dropdown a:hover,
.cd-submenu a:hover {
    font-weight: 600;
    background: rgba(255, 0, 0, 0.65);
    color: white !important;
    border-radius: 5px;
}

.cd-dropdown a:hover *,
.cd-submenu a:hover * {
    color: white !important;
}



.main-menu {
    position: relative;
}

.nav-underline {
    position: absolute;
    top: 100%;
    /* Start just below the nav item */
    height: 3px;
    background-color: #fe0605;
    transition: all 0.3s ease;
    z-index: 10;
    width: 0;
    opacity: 0;
    border-radius: 2px;
    transform: translateY(30px);
    /* Adjust this value for spacing */
}

.menu-icon {
    height: 30px;
    /* Consistent icon size */
    width: auto;
    /* Maintains aspect ratio */
    vertical-align: middle;
    /* Aligns icon with text baseline */
    margin-right: 8px;
    /* Space between icon and text */
}





/* Base Reset */
ul.navbar,
ul.sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.navbar li {
    position: relative;
    color: #fff;
}

ul.navbar li a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    padding: 10px 14px;
    font-size: 14px;
}

/* Toggle Button */
.dropdown-toggle {
    cursor: pointer;
    margin-left: 6px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

/* Hide all default arrows */
.has-submenu>a::after,
.dropdown-toggle::before,
.dropdown-toggle::after {
    content: none !important;
    display: none !important;
}

/* Hide all submenus by default */
.sub-menu {
    display: none;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 0, 0, 0.65);
    background: transparent;
}

.has-submenu.open>.sub-menu {
    display: block;
}

/* Nested submenus: increase indentation progressively */
.sub-menu .sub-menu {
    margin-left: 15px;
    padding-left: 20px;
    /* Additional indent */
    border-left: 1px solid rgba(255, 0, 0, 0.65);
}

/* Show submenus when parent li has .open */
.has-submenu.open>.sub-menu {
    display: block;
}

/* Smaller font for deeper links */
.sub-menu li a {
    padding: 6px 10px;
    font-size: 13px;
    color: #eee;
}

/* Fix spacing of toggles in nested levels */
.sub-menu .dropdown-toggle {
    margin-left: 6px;
}

.hero1-section-area.white_back::after {
    background: transparent !important;
    opacity: 0 !important;
}

.header-img1 {
    opacity: 0.8;
}




.section-title-custom {
    margin-top: 70px;
    /* more breathing room from search */
    margin-bottom: 40px;
}

.section-title-custom h4 {
    font-size: 32px;
    font-weight: 700;
}

.section-title-custom .divider {
    width: 60px;
    height: 3px;
    background: #e63946;
    margin: 14px auto 20px auto;
    border-radius: 2px;
}


.job-search-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.section-white-custom h4,
.section-white-custom p {
    color: #ffffff !important;
}

.section-white-custom .divider {
    background-color: #ffffff !important;
}

.divider {
    width: 60px;
    height: 3px;
    background: #e63946;
    border-radius: 10px;
}






.job-card .badge {
    margin-bottom: 10px;
}

.job-search-section .card {
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.job-search-section .form-control,
.job-search-section .form-select {
    height: 48px;
    font-size: 14px;
}

.job-search-section .input-group-text {
    background: #fff;
    border-right: 0;
    font-size: 14px;
}

.job-search-section .btn {
    height: 48px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.title-line {
    font-weight: 600;
}

.section .para-desc {
    font-size: 14px;
}

.left-sidebar .card {
    margin-bottom: 28px;
    /* more vertical spacing */
    border-radius: 16px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    /* prevents corner cutting */
    background: #fff;
}

.left-sidebar .card-body {
    padding: 22px 24px;
}

.left-sidebar .card-header {
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
    padding: 16px 20px;
}

.left-sidebar .form-check {
    margin-bottom: 12px;
}

.left-sidebar .form-check-label {
    color: #6c757d;
    /* same as text-muted */
    font-size: 14px;
}

.job-card {
    border-radius: 14px;
    transition: 0.3s ease;
    border: 1px solid #f1f1f1;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.job-card img {
    max-width: 55px;
}

.job-card .badge {
    font-size: 12px;
    padding: 6px 10px;
}

.job-card .btn {
    font-size: 13px;
    padding: 6px 16px;
}

.job-card i {
    font-size: 13px;
    color: #6c757d;
}

.job-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.job-title {
    font-size: 20px;
    font-weight: 600;
    transition: 0.3s ease;
}

.job-card:hover .job-title {
    color: #e10600;
}

.job-card {
    user-select: none;
}


.job-logo {
    max-width: 95px;
}

select.form-select.w-auto {
    min-width: 120px;
    font-size: 14px;
}

.job-list-box h6 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px !important;
}

.job-list-box p.small {
    margin-bottom: 6px !important;
}

.job-list-box {
    border-radius: 16px;
    transition: 0.3s ease;
    padding: 10px 0;
}

.job-list-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.job-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 160px;
}



.job-badge {
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #66aa55;
    padding: 6px 20px 6px 12px;
}





@media (max-width: 991px) {
    .job-action {
        align-items: center;
        width: 100%;
    }

    .job-badge,
    .job-action .btn {
        width: 100%;
        max-width: 260px;
    }
}

.custom-pagination {
    gap: 6px;
}

.custom-pagination .page-link {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    border: 1px solid #e5e5e5;
    color: #333;
}

.custom-pagination .page-item.active .page-link {
    background: #e63946 !important;
    border-color: #e63946 !important;
    color: #fff;
}

.custom-pagination .page-link:hover {
    background: #f8f9fa;
}

/* ================================
   Custom Category Tile Styling
=================================*/

.section .popu-category-box {
    background-color: #e63946 !important;
    border: none !important;
}

.section .popu-category-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(225, 6, 0, 0.35);
}

.section .popu-category-box .title {
    color: #ffffff !important;
}

.section .popu-category-box p {
    color: #ffffff !important;
}

.section .popu-category-box .popu-category-icon i {
    background-color: #ffffff !important;
    color: #e63946 !important;
}

/* ======================================
   Minimal Reflection Hover Effect
====================================== */

.popu-category-box {
    position: relative;
    overflow: hidden;
    background-color: #e10600 !important;
    border: none !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Reflection Layer */
.popu-category-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0.05) 100%);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

/* Hover animation */
.popu-category-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

/* Slide the reflection */
.popu-category-box:hover::before {
    left: 120%;
}

/* Remove template icon styling */
.popu-category-box i {
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* Proper white circle */
.popu-category-box .category-icon {
    width: 60px;
    height: 60px;
    background: #ffffff !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Icon style */
.popu-category-box .category-icon i {
    color: #e10600 !important;
    font-size: 22px;
}

/* Kill template icon box completely */
.popu-category-box .popu-category-icon i {
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
    line-height: normal !important;
    display: inline !important;
    padding: 0 !important;
}

/* Force 8 cards per row on large screens */
.category-row>.category-item {
    flex: 0 0 12.5% !important;
    max-width: 12.5% !important;
}

/* Tablet */
@media (max-width: 992px) {
    .category-row>.category-item {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .category-row>.category-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.category-row {
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
}

#owl-testi {
    margin-top: 40px;
}

#owl-testi .owl-nav {
    display: none !important;
    margin-top: 20px;
    text-align: center;
}

#owl-testi .owl-nav button {
    background: #2f55d4 !important;
    color: #fff !important;
    padding: 8px 14px !important;
    margin: 0 5px;
    border-radius: 5px;
}

#owl-testi .item {
    padding: 10px;
}

/* TESTIMONIAL CARD */
#owl-testi .testi-box {
    background: #fff1f2 !important;
    /* subtle red */
    border-radius: 18px !important;
    padding: 40px !important;
    transition: all 0.4s ease;
}

#owl-testi .testi-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    /* control height */
    padding: 28px 32px !important;
}

#owl-testi .testi-box p {
    margin-bottom: 20px !important;
    font-size: 14px;
}

#owl-testi .testi-box:hover {
    transform: translateY(-8px);
}

/* Quote Icon */
#owl-testi .testi-icon i {
    color: #e63946 !important;
    opacity: 0.18 !important;
    font-size: 70px !important;
}

/* Name */
#owl-testi h5 {
    font-weight: 700;
}

/* Description */
#owl-testi p {
    font-size: 15px;
    line-height: 1.7;
}

/* OWL DOTS */
/* Red Dots */

#owl-testi .owl-dots {
    margin-top: 45px !important;
    text-align: center;
}

#owl-testi .owl-dots .owl-dot span {
    width: 10px !important;
    height: 10px !important;
    background: #f8c5c9 !important;
    border-radius: 50% !important;
    margin: 0 6px !important;
    transition: all 0.3s ease !important;
}

#owl-testi .owl-dots .owl-dot.active span {
    background: #e63946 !important;
    width: 28px !important;
    border-radius: 20px !important;
}

#owl-testi .owl-stage-outer {
    overflow: visible !important;
}

#owl-testi .owl-item {
    overflow: visible !important;
}

.career-grey-bg {
    background-color: #fff !important;
}

.category-white-bg {
    background-color: #F3F5F7 !important;
}


.career-grey-bg .cs-card-row {
    flex-wrap: wrap;
    overflow-x: visible;
}

.career-grey-bg .cs-adv-card {
    flex: 0 0 calc(25% - 16px);
    /* 4 per row */
}

@media (max-width: 991px) {
    .career-grey-bg .cs-adv-card {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (max-width: 576px) {
    .career-grey-bg .cs-adv-card {
        flex: 0 0 100%;
    }
}

.section .btn.btn-primary-outline {
    border: 1px solid #e63946;
    color: #e63946;
}

.section .btn.btn-primary-outline:hover {
    background-color: #d21e32;
    border-color: #d21e32;
    color: #ffffff !important;
}

.job-single-img img {
    max-width: 100px !important;
    width: 100%;
    height: auto;
}

.company-brand-logo img {
    max-width: 100px !important;
    width: 100%;
    height: auto;
}

.job-details-desc-item i {
    min-width: 16px;
}




.social-icon li a::before,
.social-icon li a::after {
    display: none !important;
    content: none !important;
}

.social-icon li a i {
    font-size: 22px;
}

.linkedin-icon {
    font-size: 28px;
    /* Bigger size */
    transition: all 0.3s ease;
    /* Smooth animation */
    cursor: pointer;
}

.linkedin-icon:hover {
    color: #0077b5;
    /* LinkedIn brand blue */
    transform: translateY(-4px) scale(1.1);
}




.cio-section {
    padding: 80px 0;
    background: #e30613;
}

.cio-section .container {
    background: #ffffff;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

/* LEFT SIDE */

.cio-img {
    width: 200px;
    border-radius: 12px;
    margin-top: 5px;
}

.cio-left h3 {
    font-weight: 700;
    font-size: 24px;
}

.cio-left h4 {
    font-weight: 600;
    color: #e30613;
    margin-bottom: 5px;
}

.divider {
    width: 50px;
    height: 3px;
    background: #e30613;
    margin-top: 10px;
}

.cio-left {
    padding-right: 30px;
}

.cio-left p {
    font-size: 15px;
    line-height: 1.9;
    color: #6c757d;
    margin-bottom: 18px;
}

.cio-left p:last-child {
    margin-top: 10px;
}

.cio-profile {
    margin-bottom: 25px;
}




/* RIGHT SIDE GRID */
.leader-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.leader-card {
    background: #f9fafc;
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


.leader-card img {
    width: 70px;
    height: auto;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.leader-card h5 {
    font-weight: 600;
    margin-bottom: 4px;
}

.leader-card p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
}


.leader-role {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #e30613;
    margin-bottom: 10px;
}


/* MOBILE */
@media (max-width: 991px) {
    .leader-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .cio-section .col-lg-6:first-child {
        padding-right: 40px;
    }

    .cio-section .col-lg-6:last-child {
        padding-left: 40px;
    }
}

@media (min-width: 992px) {
    .cio-left {
        border-right: 1px solid #eee;
        padding-right: 50px;
    }
}

.career-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.career-modal.active {
    opacity: 1;
    visibility: visible;
}



.career-popup-wrapper {
    width: 92%;
    max-width: 1100px;
    /* Wider */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.career-popup-wrapper {
    transform: scale(0.95);
    transition: 0.3s ease;
}

.career-modal.active .career-popup-wrapper {
    transform: scale(1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.career-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: #ff3c3c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.career-close-btn:hover {
    background: #e02b2b;
}

/* Career popup only */
.career-popup-wrapper .contact-auhtor-side .icons {
    width: 42px;
    height: 42px;
    background: #ff3c3c;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
}

.career-popup-wrapper .contact-auhtor-side .icons i {
    font-size: 14px;
    color: #fff;
}

.career-popup-wrapper .contact-auhtor-side .text p {
    margin-bottom: 4px;
}

.career-popup-wrapper .icons-text {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.career-required {
    color: #ff3c3c;
    font-weight: 600;
}


/* .custom-file-wrapper input[type="file"] {
  display: none;
} */
input::file-selector-button {
    background: #ff2c2c;
    color: #fff;
    padding: 5px 15px;
    margin-top: -3px;
    border-color: #ff2c2c;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}


.input-area input {
    height: 46px;
    padding: 0 12px;
    border-radius: 10px;
    width: 100%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    box-sizing: border-box;
}

/* Wrapper */
/* .custom-file-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    padding: 0 8px;
    box-sizing: border-box;
    border-radius: 6px;
    height: 46px;
    width: 100%;
} */

.custom-file-wrapper span {
    margin-left: 10px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* Custom button */
.custom-file-btn {
    background: #ff2c2c;
    color: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

.custom-file-btn:hover {
    background: #e02b2b;
}

/* File text */
#fileName {
    font-size: 14px;
    color: #555;
    margin-left: 15px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.career-inner {
    padding: 35px 40px !important;
}

.career-popup-wrapper .contact-submit-boxarea {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px 24px;
    border-radius: 16px;
}



.career-popup-wrapper .contact-submit-boxarea h4 {
    font-size: 22px;
    margin-bottom: 20px;
}


.career-popup-wrapper textarea {
    height: 70px;
}



.career-popup-wrapper {
    background: rgba(255, 255, 255, 0.06);
}

.career-popup-wrapper .contact1-section-area {
    background-size: cover;
    background-position: center;
}

.career-popup-wrapper {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.career-contact-mini {
    color: #fff;
    margin-top: 20px;
    font-size: 13px;
    display: flex;
    gap: 25px;
    align-items: center;
}

.career-contact-mini i {
    color: #ff3c3c;
    margin-right: 6px;
}

.career-popup-wrapper .row.align-items-center {
    align-items: center !important;
}

.career-popup-wrapper .contact-header-area {
    padding-right: 20px;
}

.career-popup-wrapper h2 {
    font-size: 34px;
}

/* ================= REAL MOMENTS SECTION ================= */

.real-moments-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.real-moments-section h2 {
    font-weight: 700;
    margin-bottom: 10px;
}

.real-moments-section p {
    color: #777;
    margin-bottom: 50px;
}

.moments-wrapper {
    overflow: hidden;
    position: relative;
}

.moments-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: scrollMoments 20s linear infinite;
}

.moments-track {
    will-change: transform;
}

@keyframes scrollMoments {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.moments-group {
    display: flex;
    gap: 25px;
}

.moment-card {
    min-width: 300px;
    max-height: 250px;
    overflow: hidden;
    border-radius: 14px;
    flex-shrink: 0;
    position: relative;
}

.moment-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

/* Hover Effect */
.moment-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Pause animation on hover */
.moments-wrapper:hover .moments-track {
    animation-play-state: paused;
}

/* Infinite scroll animation */
@keyframes scrollMoments {
    0% {
        transform: translateX(0);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .moment-card {
        min-width: 220px;
    }

    .moment-card img {
        height: 180px;
    }
}

.moments-wrapper::before,
.moments-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}

.moments-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f9f9f9, transparent);
}

.moments-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f9f9f9, transparent);
}

/* ===== FINAL CTA STRIP ===== */

/* ===== BASE CTA STRIP ===== */

.career-cta-strip {
    padding: 35px 0;
    transition: background 0.3s ease;
}

.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cta-text h4 {
    margin: 0;
    font-weight: 600;
    font-size: 22px;
}

.cta-btn {
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


/* Career Page - CTA Light */
.cta-light {
    background: #fff;
    border-top: 1px solid #e5e5e5;
}

.cta-light .cta-text h4 {
    color: #111;
}


/* Career Page - CTA Dark */
.cta-dark {
    background: #111;
}

.cta-dark .cta-text h4 {
    color: #fff;
}

/* Career Page - CTA Brand */
.cta-brand {
    background: #e30613;
}

.cta-brand .cta-text h4 {
    color: #fff;
}

/* Career Page - CTA Brand Button Color */
.header-btn-outline {
    background: #ffffff;
    color: #e30613;
    border: 2px solid #ffffff;
}

.header-btn-outline {
    transition: all 0.3s ease;
}

.header-btn-outline:hover {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.header-btn-outline:hover {
    transform: translateY(-2px);
}

/* Keep icon aligned properly */
.header-btn-outline i {
    transition: 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}


.hero-no-overlay .header-img1 {
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}



.hero-no-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(227, 6, 19, 0.08);
    pointer-events: none;
    z-index: 1;
}




.founder-section {
  position: relative;
  background: #f3f3f3;
  padding: 160px 0 140px;
}

.founder-section .founder-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

/* LEFT IMAGE COLUMN */
.founder-section .founder-left {
  flex: 0 0 460px;
}



.founder-section .founder-image-box img {
  width: 100%;
  display: block;
}

/* RIGHT COLUMN */
.founder-section .founder-right {
  flex: 1;
  padding-top: 20px;
}

/* TITLE */
.founder-section .founder-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  color: #1c1c1c;
  margin-bottom: 40px;
}

.founder-section .founder-title span {
  font-weight: 800;
}

/* TEXT */
.founder-section .founder-text p {
  font-size: 16px;
  line-height: 1.9;
  color: #4a4a4a;
  margin-bottom: 18px;
  font-weight: 500;
}

/* INLINE HIGHLIGHT */
.founder-section .inline-highlight {
  display: inline;
  background: #e30613;
  color: #fff !important;
  padding: 6px 10px;
  font-weight: 600;
  line-height: 1.6;
}

/* SPACING */
.founder-section .bottom-spacing {
  margin-top: 25px;
}

/* SIGNATURE */
.founder-section .signature-block {
  display: flex;
  align-items: flex-start;
  margin-top: 30px;
}

.founder-section .signature-line {
  width: 4px;
  height: 48px;
  background: #e30613;
  margin-right: 15px;
}

/* RESPONSIVE FIX */
@media (max-width: 1024px) {

  .founder-section .founder-container {
    flex-direction: column;
    gap: 50px;
  }

  .founder-section .founder-left {
    width: 100%;
  }

  .founder-section .founder-title {
    font-size: 34px;
  }
}

/* ========================= */
/* MOBILE RESPONSIVE FIX */
/* ========================= */

@media (max-width: 991px) {

  .founder-section {
    padding: 80px 20px;
  }

  .founder-section .founder-container {
    flex-direction: column;
    gap: 40px;
  }

  .founder-section .founder-left {
    flex: unset;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .founder-section .founder-image-box {
    padding: 10px;
  }

  .founder-section .founder-image-box img {
    border-width: 12px; /* thinner red border for mobile */
  }

  .founder-section .founder-right {
    padding-top: 0;
  }

  .founder-section .founder-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .founder-section .founder-text p {
    font-size: 15px;
    line-height: 1.7;
  }

  .founder-section .inline-highlight {
    display: inline;
    padding: 4px 6px;
  }

  .founder-section .signature-block {
    margin-top: 20px;
  }

  .founder-section .signature-line {
    height: 40px;
  }

}

/* GENERAL */

/* HERO SECTION */

.purpose-hero{
position:relative;
background:#fff;
text-align:center;
overflow:hidden;
padding-bottom:32vw;
min-height:700px;
}

/* HEADER */

.purpose-header{
position:absolute;
top:160px;
left:12%;
z-index:5;
text-align:left;
}

.purpose-title{
font-size:48px;
font-weight:700;
margin:0;
}

.purpose-subtitle{
font-size:20px;
margin-top:10px;
color:#555;
}


/* DIAGRAM */

.purpose-diagram{
width:100%;
position:relative;
}

.purpose-diagram img{
width:100vw;
max-width:100%;
margin-left:50%;
transform:translateX(-50%);
height:auto;
display:block;
}


/* RED BACKGROUND */

.red-bg{
position:absolute;
top:340px;
left:0;
width:100%;
z-index:2;
}

.red-bg img{
width:100%;
height:auto;
display:block;
}


/* TEAM IMAGE */

.team-image{
position:absolute;
top:340px;
left:0;
width:100%;
z-index:3;
}

.team-image img{
width:100%;
height:auto;
display:block;
filter: drop-shadow(0px 30px 40px rgba(0,0,0,0.25));
}


/* PURPOSE CONTENT */

.purpose-content{
background:#fff;
position:relative;
margin-top:-460px;
margin-left:30px;
margin-right:30px;
padding:30px 0px 100px 0px;
z-index:5;
}


/* BACKGROUND STRIP */

.purpose-content::before{
content:"";
position:absolute;
left:0;
top:120px;
width:100%;
height:360px;
background:url("https://quarkwiz.com/assets/img/all-images/stripp.png") center / 100% auto no-repeat;
opacity:0.06;
pointer-events:none;
}


/* CONTENT BOX */

.content-box{
background:#fff;
padding:70px;
border-radius:12px;
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
box-shadow:0 30px 60px rgba(0,0,0,0.08);
}


/* TEXT */

.content-box p{
font-size:18px;
line-height:1.7;
color:#555;
}

.content-box li{
margin-top:10px;
line-height:1.6;
}

.content-box ol{
counter-reset:item;
padding-left:0;
margin-top:20px;
}

.content-box ol li{
list-style:none;
counter-increment:item;
margin-bottom:12px;
position:relative;
padding-left:28px;
}

.content-box ol li::before{
content: counter(item) ".";
position:absolute;
left:0;
top:0;
color:#e30613;
font-weight:700;
}


/* ============================= */
/* MOBILE RESPONSIVE */
/* ============================= */

@media (max-width:768px){

.purpose-hero{
margin-top: 15vw;
padding-bottom:20vw;
min-height:auto;
}

.purpose-header{
top:60px;
left:25px;
right:25px;
}

.purpose-title{
font-size:20px;
margin-bottom:2px;
}

.purpose-subtitle{
font-size:9px;
margin-top:0;
}

.purpose-diagram img{
max-width:100%;
}

.red-bg{
top:90px;
}

.team-image{
top:90px;
}

.purpose-content{
margin-top:-60px !important;
margin-left:15px;
margin-right:15px;
padding-bottom:60px;
}

.content-box{
grid-template-columns:1fr;
padding:15px 25px;
gap:30px;
}

.content-box p{
font-size:16px;
}

.purpose-content::before{
top:80px;
height:200px;
}

}

/* GLOBAL */

.values-container{
max-width:1400px;
margin:auto;
padding:0 80px;
}
/* HERO */

.values-hero{
position:relative;
height:525px;
background:url(https://quarkwiz.com/assets/img/all-images/red_back1.png);
background-size:cover;
overflow:hidden;
color:white;
}


/* TITLE */

.values-title{
position:absolute;
top:140px;
left:220px;
z-index:5;
}

.kinetic-text{
font-size:52px;
font-weight:700;
line-height:1.1;
}

.kinetic-text span{
display:block;
font-size:22px;
font-weight:400;
margin-top:5px;
}


/* TEAM IMAGE */

.team1-image{
position:absolute;
right:0;
top:100px;
width:900px;
z-index:4;
filter: drop-shadow(0px 30px 40px rgba(0,0,0,0.25));
}


/* VOICE IMAGE */

.voice-bg{
position:absolute;
bottom:-7px;
left:0;
width:100%;
z-index:2;
}



/* SECOND SECTION */

.values-section{
background:#fff;
padding:60px 0 0 0;
}

.container-values{
max-width:1300px;
margin:auto;
display:grid;
grid-template-columns:1fr 1fr;
gap:120px;
padding:0 80px;
}



/* LEFT */

.values-intro{
font-size:18px;
color:#555;
margin-bottom:30px;
}


/* VALUE ROW */

.value-row{
display:flex;
align-items:center;
margin-bottom:6px;
opacity:0;
animation:voiceFadeUp 0.7s cubic-bezier(.22,.61,.36,1) forwards;
}

.value-row{
transition:transform 0.3s ease;
}

.value-row:hover{
transform:translateX(6px);
}

.value-letter{
width:40px;
height:40px;
background:#c62c3a;
color:white;
display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
margin-right:14px;
transition:transform 0.25s ease;
}

.value-row:hover .value-letter{
transform:scale(1.08);
}

.value-row:hover .value-letter{
transform:scale(1.08);
box-shadow:0 6px 18px rgba(198,44,58,0.35);
}

.value-row p{
font-size:18px;
color:#555;
margin: -8px;
}

.values-note{
margin-top:30px;
color:#777;
line-height:1.6;
font-size:15px;
}



/* RIGHT TEXT */

.values-right{
font-size:18px;
line-height:1.8;
color:#666;
}



/* RIBBON SECTION */

.values-ribbon{
background:white;
width:100%;
}

.ribbon-container{
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
}

.ribbon-left{
flex:1;
display:flex;
justify-content:flex-start;
align-items:flex-start;
}

.ribbon-left img{
width:50%;   
display:block;
}

.ribbon-right{
flex:1;
display:flex;
justify-content:flex-end;
}

.ribbon-right img{
width:850px;
max-width:none;
display:block;
margin-top:-200px;
}

/* ============================= */
/* MOBILE RESPONSIVE */
/* ============================= */

@media (max-width:768px){

.values-container{
padding:0 25px;
}

/* HERO */

.values-hero{
height:335px;
background:url(https://quarkwiz.com/assets/img/all-images/red_back1.png);
background-size:cover;
background-position:center;
background-repeat:no-repeat;
left:-1px;
width:calc(100% + 2px);
}

/* TITLE */

.values-title{
top:90px;
left:25px;
}

.kinetic-text{
font-size:34px;
margin-top: 20px;
}

.kinetic-text span{
font-size:16px;
}

/* TEAM IMAGE */

.team1-image{
width:140%;
top:165px;
}

/* VOICE BG */

.voice-bg{
bottom:-1px;
}


/* SECOND SECTION */

.container-values{
grid-template-columns:1fr;
gap:40px;
padding:0 25px;
}

.values-intro{
font-size:16px;
}

.value-row p{
font-size:16px;
}

.values-right{
font-size:16px;
line-height:1.7;
}


/* RIBBON SECTION */

.ribbon-container{
flex-direction:column;
}

.ribbon-left{
width:100%;
}

.ribbon-right{
width:100%;
margin-top:30px;
text-align:right;
}

.ribbon-right img{
width:100%;
max-width:none;
}

}

@keyframes voiceFadeUp{
0%{
opacity:0;
transform:translateY(30px);
}
70%{
transform:translateY(-3px);
}
100%{
opacity:1;
transform:translateY(0);
}
}

.value-row:nth-child(1){
animation-delay:0.1s;
}

.value-row:nth-child(2){
animation-delay:0.3s;
}

.value-row:nth-child(3){
animation-delay:0.5s;
}

.value-row:nth-child(4){
animation-delay:0.7s;
}

.value-row:nth-child(5){
animation-delay:0.9s;
}




.vision-container{
max-width:1400px;
margin:auto;
display:flex;
align-items:center;
gap:60px;
padding-left:5%;
}
/* HERO */

.vision-hero{
position:relative;
min-height:525px;
background:url("https://quarkwiz.com/assets/img/all-images/grid-bg.png");
background-size:cover;
background-position:center;
background-repeat:no-repeat;
overflow:hidden;
padding:200px 0 80px;
}

.vision-left p{
    color: #fff;
}
.vision-left h2{
    color: #fff;
}

.impact-right h1 {
    color: #000;
}

.customers-container h2{
color: #e31e24;
}



.vision-left{
display:flex;
gap:20px;
max-width:550px;
}

.vision-line{
width:4px;
background:#e31e24;
}

.vision-right{
position:absolute;
right:0;
bottom:0;
}

.vision-right img{
height:600px;
width:auto;
transform: translatey(120px);
}


/* IMPACT */

.impact-section{
position:relative;
padding-top:200px;
}

.impact-ribbon{
position:absolute;
left:0;
right:0;
width:100%;
top:-143px;
}

.impact-container{
display:flex;
justify-content:space-between;
align-items:center;
gap:60px;
margin-top: -90px;
}

.impact-left{
max-width:450px;
margin-top: -150px;
margin-left:250px;
}

.impact-right{
margin-bottom:120px;
margin-right: 350px;
}
.impact-right h1{
transform: translateY(-80px);
}


/* METRICS */

.vision-metrics{
padding:0px 0px 80px 0px;
}

.metrics-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
text-align:center;
}

.metric-card h3{
font-size:48px;
font-weight:700;
}

.metric-card h4{
margin-top:10px;
font-size:18px;
font-weight:600;
}

.metric-card p{
font-size:14px;
margin-top:6px;
}


/* CUSTOMERS */
.customers-container{
max-width:1300px;
margin:auto;
}

.customers-section{
background: #fff;
background-size:cover;
color:white;
text-align:center;
}

.customers-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
gap:40px;
margin-top:40px;
align-items:center;
}

.customers-grid img{
max-width:120px;
opacity:.8;
margin:auto;
transition:all .3s ease;
filter:grayscale(100%);
}

.customers-grid img:hover{
opacity:1;
filter:grayscale(0);
transform:scale(1.05);
}

.partners-box{
margin:80px;
background:#ececec;
color:black;
display:inline-block;
padding:40px 40px;
border-radius:10px;
}

.partners-grid{
display:flex;
gap:40px;
margin-top:20px;
justify-content:center;
}

.partners-grid img{
height:40px;
}

@media (max-width:992px){

.vision-container{
flex-direction:column;
text-align:center;
padding:0 20px;
}

.vision-left{
max-width:100%;
justify-content:center;
}

.vision-line{
display:none;
}

.vision-right{
position:relative;
right:auto;
bottom:auto;
margin-top:40px;
}

.vision-right img{
height:auto;
max-width:90%;
transform:translateY(20px) scale(2);
}

.impact-section{
    margin-top: -100px;
}

.impact-ribbon{
    margin-top: 110px;
}
.impact-container{
flex-direction:column;
text-align:center;
margin-top:0;
padding:0 20px;
}

.impact-left{
margin:0;
max-width:100%;
}

.impact-right{
margin:0;
}

.impact-right h1{
transform:none;
}



}

@media (max-width:992px){

.metrics-container{
grid-template-columns:repeat(2,1fr);
gap:30px;
}

}

@media (max-width:600px){

.metrics-container{
grid-template-columns:repeat(2,1fr);
gap:25px;
}

}
@media (max-width:768px){

.customers-grid{
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.customers-grid img{
max-width:90px;
}

.partners-box{
margin:40px 20px;
padding:30px 20px;
}

.partners-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
justify-items:center;
}

.partners-grid img{
height:28px;
}
.vision-hero{
padding:120px 0 60px;
}

}







