/* Custom CSS for TechMyCar Career Page */

:root {
    --primary-blue: #015bf8;
    --gradient-start: #01d0fc;
    --gradient-end: #015bf8;
    --dark-bg: #181f1f;
    --light-bg: #f1f1f1;
    --text-muted: #6c7175;
    --text-gray: #878787;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #000;
    overflow-x: hidden;
    background-color: #f1f1f2;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

.logo-text {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: #000 !important;
    font-size: 1rem;
    padding: 0.5rem 1rem !important;
}

.btn-gradient {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 91, 248, 0.3);
    color: white;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 60px;
    background: var(--light-bg);
    border-radius: 70px 70px 0 0;
    margin-top: 63px;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    background: #fff;
    border: 0.5px solid var(--primary-blue);
    border-radius: 18px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 0 4px rgba(1, 91, 248, 0.3);
}

.hero-title {
    font-size: 3.125rem;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Gallery Items */
.gallery-item {
    /* background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%); */
    border-radius: 40px;
    height: 314px;
    position: relative;
    overflow: hidden;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

.mt-minus220 {
    margin-top: -225px !important;
}

.gallery-item.tall {
    height: 314px;
}

.gallery-item.extra-tall {
    height: 530px;
}

.gallery-item.short {
    height: 208px;
}

.social-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
}

.social-badge span {
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.play-btntop {
    position: absolute;
    top: 87%;
    left: 85%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-btn {
    position: absolute;
    top: 90%;
    left: 85%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-btn-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

/* Leadership Section */
.leadership-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-weight: 600;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

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

.team-image {
    width: 100%;
    height: 222px;
    background: linear-gradient(135deg, #d0d0d0 0%, #e8e8e8 100%);
}

.team-info {
    padding: 1.25rem;
    background: white;
    padding-top: 30px;
    /* text-align: center; */
}

.margin-top {
    margin-right: 0rem !important;
    margin-bottom: 0rem !important;
    margin-left: 0rem !important;
}

.margin-12 {
    margin: 1.2rem;
}

.careers-team_logo {
    object-fit: contain;
    object-position: 0% 100%;
    width: auto;
    height: 2rem;
}

.team-name {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-bottom: 0;
}

.team-note {
    font-size: 0.625rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

/* Life at TechMyCar Section */
.life-section {
    background: var(--dark-bg);
    padding: 80px 0;
}

.story-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 481px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); */
}

.story-image {
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, #555 0%, #777 100%); */
}

.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent); */
}

.story-name {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.story-role {
    color: #bdbdbd;
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-icon:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.btn-dark-gray {
    background: #3d4343;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
}

.btn-dark-gray:hover {
    background: #2d3333;
    color: white;
}

/* Testimonial */
.testimonial-section {
    padding: 60px 0;
}

.button_arrow {
    aspect-ratio: 1;
    opacity: .5;
    color: var(--content-inverted--primary);
    justify-content: center;
    align-items: center;
    width: 1.6rem;
    transition: opacity .35s;
    display: flex;
    position: relative;
}

a .button_arrow-tail {
    width: 0;
}

.button_arrow-tail {
    justify-content: center;
    align-items: center;
    width: 10px;
    margin-right: -5px;
    transition: width .3s;
    display: flex;
    position: relative;
}

.button_arrow-head {
    justify-content: center;
    align-items: center;
    width: 8px;
    display: flex;
}

.w-embed:before,
.w-embed:after {
    content: " ";
    grid-area: 1 / 1 / 2 / 2;
    display: table;
}

.w-embed:after {
    clear: both;
}

/* .w-embed:before,
.w-embed:after {
    content: " ";
    grid-area: 1 / 1 / 2 / 2;
    display: table;
} */

.button_arrow {
    aspect-ratio: 1;
    opacity: .5;
    color: var(--content-inverted--primary);
    justify-content: center;
    align-items: center;
    width: 1.6rem;
    transition: opacity .35s;
    display: flex;
    position: relative;
}

.button.is-alternate {
    background-color: var(--color--ov-light-500);
    color: var(--content-inverted--primary);
    background-image: none;
}

.button {
    grid-column-gap: .8rem;
    grid-row-gap: .8rem;
    color: #fff;
    text-align: center;
    background-color: #015bf8;
    border-radius: 1rem;
    justify-content: center;
    align-items: center;
    height: 4.8rem;
    padding: .8rem 1.6rem .8rem 2rem;
    font-size: 1.5rem;
    font-weight: 500;
    transition: border-color .45s cubic-bezier(.215, .61, .355, 1), color .45s cubic-bezier(.215, .61, .355, 1), opacity .45s cubic-bezier(.215, .61, .355, 1), background-color .45s cubic-bezier(.215, .61, .355, 1);
    display: flex;
}

.testimonial-quote {
    font-size: 2rem;
    font-weight: 600;
    color: #e0e0e1;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    text-align: center;
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 600;
}

/* Values Section */
.values-section {
    padding: 80px 0;
}

.bg-light-grayshade {
    background-color: #f1f1f2;
}

.values-list {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--text-gray);
    font-size: 1.125rem;
    /* line-height: 1.8; */
}

.values-list li {
    margin-bottom: 1rem;
}

.values-list strong {
    color: #000;
}

/* Benefits Section */
.benefits-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.benefit-card {
    /* background: white; */
    padding: 1.5rem;
    border-radius: 15px;
    height: 100%;
}

.sticky-title-wrapper {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.benefit-icon {
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

/* Culture Section */
.culture-section {
    background: var(--dark-bg);
    padding: 65px 0;
    border-radius: 60px;
    max-width: 1140px;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
}


.grid-row {
    grid-row-gap: 7.7rem;
}

.cu-section-title {
    margin-top: -90px !important;
}

.culture-section-subtitle {
    color: #787a7d;
}

.culture-image {
    width: 100%;
    height: 279px;
    /* background: linear-gradient(135deg, #555 0%, #777 100%); */
    border-radius: 24px;
}

.culture-image img {
    width: 368px;
    height: 236px;
}

/* Investors Section */
.investors-section {
    padding: 80px 0;
}

/* Company Logos Auto-Slider */
.company-logos-slider-wrapper {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.company-logos-slider {
    display: flex;
    width: fit-content;
}

.logo-slide {
    display: flex;
    gap: 2rem;
    animation: slide 30s linear infinite;
    -webkit-animation: slide 30s linear infinite;
}

.company-logo-item {
    flex-shrink: 0;
    /* width: 152px; */
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #f5f5f5; */
    border-radius: 10px;
    padding: 0.75rem;
    transition: transform 0.3s ease;
}

.company-section-title {
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

/* Pause animation on hover */
.company-logos-slider-wrapper:hover .logo-slide {
    animation-play-state: paused;
}

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

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

/* Investor Cards - 8 Column Layout */
.row.g-4>.col-xl {
    flex: 0 0 12.5%;
    /* 100% / 8 = 12.5% */
    max-width: 12.5%;
}

.investor-card {
    text-align: center;
    transition: transform 0.3s ease;
}

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

.investor-image {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #d0d0d0 0%, #e8e8e8 100%);
    border-radius: 20px;
    margin: 0 auto 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

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

.investor-card h6 {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #000;
}

.company-title {
    width: 45%;
}

.company-section {
    align-items: center;
}

.alert {
    background-color: #ebebec;
    color: #787a7d;
    border: none !important;
}

.alert-banner svg {
    /* background-color: #6c6f75; */
}

.investor-card .small {
    font-size: 0.625rem;
    color: var(--text-gray);
}

/* Responsive Design for Investors */
@media (max-width: 1399px) {
    .row.g-4>.col-xl {
        flex: 0 0 16.666%;
        /* 6 columns on large screens */
        max-width: 16.666%;
    }
}

@media (max-width: 1199px) {
    .row.g-4>.col-xl {
        flex: 0 0 25%;
        /* 4 columns on medium screens */
        max-width: 25%;
    }

    .company-logo-item {
        width: 120px;
        height: 45px;
    }
}

@media (max-width: 767px) {
    .row.g-4>.col-xl {
        flex: 0 0 50%;
        /* 2 columns on mobile */
        max-width: 50%;
    }

    .investor-image {
        height: 120px;
    }

    .company-logo-item {
        width: 100px;
        height: 40px;
    }

    .logo-slide {
        gap: 1rem;
    }
}

/* Careers Section */
.careers-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.openings-count {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #ddd;
    border-radius: 8px;
    font-size: 1.125rem;
    color: var(--text-gray);
    font-weight: 600;
}

.category-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.job-listing {
    background: white;
    padding: 1.5rem;
    margin-bottom: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.job-listing:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.job-department {
    font-size: 1rem;
    color: var(--text-gray);
}

.job-location {
    font-size: 1.25rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 100px 0;
    border-radius: 60px 60px 0 0;
}

/* Footer */
.footer {
    background: white;
    border-radius: 60px 60px 0 0;
    margin-top: -40px;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.footer-legal li a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.625rem;
    font-weight: 600;
}

.footer-legal li a:hover {
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .testimonial-quote {
        font-size: 2rem;
    }

    .gallery-item {
        height: 280px;
    }

    .gallery-item.tall,
    .gallery-item.extra-tall {
        height: 400px;
    }

    .story-card {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .testimonial-quote {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 100px 0 40px;
    }

    .gallery-item {
        height: 250px;
    }

    .gallery-item.tall,
    .gallery-item.extra-tall {
        height: 350px;
    }

    .team-image {
        height: 280px;
    }

    .story-card {
        height: 350px;
    }

    .footer-legal {
        justify-content: center;
        margin-top: 1rem;
    }

    .btn-gradient {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .testimonial-quote {
        font-size: 1.25rem;
    }

    .announcement-badge {
        font-size: 0.625rem;
        padding: 0.4rem 1rem;
    }

    .team-card {
        margin-bottom: 1rem;
    }

    .investor-image {
        width: 100px;
        height: 120px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.team-card,
.story-card,
.benefit-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

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

.img-fit {
    width: -webkit-fill-available;
}