:root {
    --primary-red: #E30613;
    --white: #FFFFFF;
    --dark-text: #1A1A1A;
    --light-bg: #F6F6F6;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

.text-red {
    color: var(--primary-red);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--white);
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
    width: 100%;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.top-bar {
    background-color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #eee;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact a:hover {
    color: var(--primary-red);
}

.top-contact i {
    margin-right: 5px;
    color: var(--primary-red);
}

.top-social a {
    margin-left: 15px;
    font-size: 14px;
}

.top-social a:hover {
    color: var(--primary-red);
}

.navbar {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: var(--shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--primary-red);
}

.hero {
    height: calc(100vh - 80px);
    background: url('images/hero-bg.jpeg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1,
.hero h2,
.hero p,
.hero .btn {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.1;
    color: var(--white);
    animation-delay: 0.2s;
}

.hero h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    margin-bottom: 25px;
    opacity: 0.9;
    animation-delay: 0.4s;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
    animation-delay: 0.6s;
}

.hero .btn {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 4px;
    font-weight: 600;
    border: 2px solid var(--primary-red);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-red);
}

.btn-secondary {
    background-color: var(--dark-text);
    border-color: var(--dark-text);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--dark-text);
}

.section-padding {
    padding: 100px 0;
}

.services {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-red);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
}

.service-card {
    cursor: pointer;
    border: 1px solid transparent;
    touch-action: manipulation;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.about {
    padding: 100px 0;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}



.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-text {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.about-text.reveal {
    opacity: 1;
    transform: translateX(0);
}

.about-text .section-title {
    text-align: left;
}

.about-text .section-title::after {
    display: none !important;
}

.no-after::after {
    display: none !important;
}

.location-box {
    margin: 20px 0 30px;
    padding: 20px;
    background: var(--light-bg);
    border-left: 4px solid var(--primary-red);
}

.contact {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.contact-info.reveal {
    opacity: 1;
    transform: translateY(0);
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 5px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
    transition-delay: 0.2s;
}

.contact-form.reveal {
    opacity: 1;
    transform: translateY(0);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.btn-submit {
    width: 100%;
    cursor: pointer;
}

#formStatus {
    margin-top: 15px;
    text-align: center;
}

.contact-map-card {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    height: 250px;
}

.contact-map-card iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(15%) contrast(105%);
}

.careers-highlight {
    padding: 100px 0;
    background-color: var(--white);
    overflow: hidden;
}

.careers-flex {
    display: flex;
    align-items: center;
    position: relative;
}

.careers-image {
    width: 65%;
    z-index: 1;
    opacity: 0;
    transform: translateX(-150px);
    transition: all 1s ease-out;
}

.careers-image.reveal {
    opacity: 1;
    transform: translateX(0);
}

.careers-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.careers-red-card {
    width: 45%;
    background: linear-gradient(135deg, var(--primary-red) 0%, #b3050f 100%);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 8px;
    position: absolute;
    right: 0;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(150px);
    transition: all 1s ease-out;
    transition-delay: 0.2s;
}

.careers-red-card.reveal {
    opacity: 1;
    transform: translateX(0);
}

.card-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.card-intro {
    font-size: 0.95rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.card-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.card-accordion-header {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.card-accordion-header:hover {
    padding-left: 10px;
}

.card-accordion-header i {
    font-size: 14px;
    transition: transform 0.3s;
}

.card-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0, 1, 0, 1);
}

.card-accordion-item.active .card-accordion-content {
    max-height: 500px;
    transition: all 0.4s cubic-bezier(1, 0, 1, 0);
}

.card-accordion-item.active .card-accordion-header i {
    transform: rotate(90deg);
}

.expanded-inner {
    padding-bottom: 30px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.expanded-inner p {
    margin-bottom: 10px;
}

.expanded-inner ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.expanded-inner ul li {
    margin-bottom: 5px;
}

@media (max-width: 992px) {
    .careers-flex {
        flex-direction: column;
        align-items: stretch;
    }

    .careers-image {
        width: 100%;
        margin-bottom: 0;
    }

    .careers-image img {
        height: 350px;
        border-radius: 8px 8px 0 0;
    }

    .careers-red-card {
        width: 100%;
        position: relative;
        right: auto;
        margin: 0;
        padding: 40px 20px;
        border-radius: 0 0 8px 8px;
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .careers-red-card {
        width: 100%;
        border-radius: 0;
    }
}

.overview {
    padding: 100px 0;
    background: var(--white);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: -30px auto 50px;
    color: #666;
}

.overview-accordion {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid #eee;
}

.overview-item {
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.overview-item.active {
    border-bottom-color: transparent;
}

.overview-item.active .overview-header {
    background-color: var(--white);
    color: var(--primary-red);
}

.overview-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.overview-header:hover {
    background-color: var(--light-bg);
}

.overview-item.active .overview-header:hover {
    background-color: var(--light-bg);
}

.overview-header i {
    font-size: 14px;
    transition: transform 0.3s;
}

.overview-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 20px;
    background-color: var(--primary-red);
    color: var(--white);
}

.overview-item.active .overview-content {
    max-height: 500px;
    padding: 10px 20px 30px;
    background-color: var(--primary-red);
    color: var(--white);
    transition: max-height 0.3s ease-in, padding 0.3s ease-in;
}

.overview-item.active .overview-header i {
    transform: rotate(45deg);
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--white);
    transition: color 0.3s;
}

.overview-item.active .faq-item strong {
    color: var(--white);
}

.overview-content ul {
    list-style: disc;
    margin-left: 20px;
}

.overview-content ul li {
    margin-bottom: 8px;
}

.footer {
    background: var(--white);
    padding: 60px 0 30px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-left h3 {
    margin-bottom: 5px;
}

.footer-right a {
    margin-left: 20px;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
    color: #888;
}

.powered-by {
    margin-top: 15px;
    font-size: 13px;
    color: #888;
}

.metallic-link {
    font-weight: 600;
    text-decoration: none;
    position: relative;
    background: linear-gradient(to right,
            #bf953f,
            #fcf6ba,
            #b38728,
            #fbf5b7,
            #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: all 0.3s ease;
}

.metallic-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #aa771c);
    transition: width 0.3s ease;
}

.metallic-link:hover {
    filter: brightness(1.2);
    text-shadow: 0 0 10px rgba(191, 149, 63, 0.3);
}

.metallic-link:hover::after {
    width: 100%;
}

.whatsapp-float {
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366 !important;
    color: white !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 999999 !important;
    cursor: grab;
    transition: transform 0.2s;
    text-decoration: none !important;
}

.whatsapp-float i {
    color: white !important;
    font-size: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    margin: 5px 0;
    transition: var(--transition);
    position: relative;
    z-index: 10001;
}

@media (max-width: 992px) {

    img {
        max-width: 100%;
        height: auto;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }



    .modal-content {
        margin: 10% auto;
        padding: 60px 20px 20px;
        width: 95%;
    }

    .close-modal {
        top: -15px;
        right: -10px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-top: 0;
        transition: left 0.5s ease;
        z-index: 9999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.3rem;
        color: var(--dark-text);
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 10002;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}



.modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 2% auto;
    padding: 35px 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 950px;
    position: relative;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    overflow: visible;
    border-left: 5px solid var(--primary-red);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
    align-items: center;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-24px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
}

@keyframes overlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes overlayOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.modal.closing {
    animation: overlayOut 0.3s ease forwards;
}

.modal.closing .modal-content {
    animation: modalFadeOut 0.28s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.modal {
    animation: overlayIn 0.25s ease forwards;
}

.modal-content {
    animation: modalFadeIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.close-modal {
    color: #ffffff;
    background-color: var(--primary-red);
    position: absolute;
    top: -18px;
    right: -18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    z-index: 200000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.close-modal:hover {
    background-color: #b3050f;
    transform: scale(1.1);
}

#modalBody h2 {
    color: var(--primary-red);
    margin-bottom: 12px;
    font-size: 1.8rem;
    line-height: 1.1;
}

#modalBody p {
    margin-bottom: 12px;
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
}

.modal-footer-text {
    font-weight: 600;
    color: var(--primary-red) !important;
    margin-top: 15px;
    font-size: 0.95rem;
}

.modal-services-box {
    background: #fcfcfc;
    padding: 22px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.modal-services-box h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark-text);
    border-bottom: 2px solid var(--primary-red);
    display: inline-block;
}

#modalBody ul {
    margin-bottom: 0;
}

#modalBody li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

#modalBody li::before {
    content: "✓";
    color: var(--primary-red);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.modal-cta {
    margin-top: 20px;
    text-align: center;
}

.modal-cta.left-align {
    text-align: left;
}

@media (max-width: 850px) {
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-content {
        padding: 50px 25px 30px;
    }

    .modal-services-box {
        padding: 20px;
    }
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25d366;
    color: white !important;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    transition: var(--transition);
}

.cta-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.cta-link i {
    font-size: 1.4rem;
}

#skillModalBody h3 {
    color: var(--primary-red);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

#skillModalBody p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
}

.stats-section {
    background-color: var(--white);
    text-align: center;
}

.stats-section .section-title::after {
    display: block;
    background: #ffffff;
}

.stats-section .container {
    background: var(--primary-red);
    padding: 80px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(227, 6, 19, 0.15);
    max-width: 1100px;
    margin: 40px auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
    color: var(--white);
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 1;
    font-weight: 600;
    color: var(--white);
}

.team-section {
    background-color: var(--light-bg);
    margin-top: 60px;
}

.team-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    padding: 20px 0 40px;
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(25% - 22.5px);
}

@media (max-width: 992px) {
    .team-card {
        flex: 0 0 calc(50% - 15px);
    }
}

.carousel-btn {
    display: none;
}

@media (max-width: 600px) {
    .team-carousel-container {
        padding: 0 30px;
    }

    .team-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: flex-start;
        scroll-behavior: smooth;
    }

    .team-grid::-webkit-scrollbar {
        display: none;
    }

    .team-card {
        flex: 0 0 100%;
        scroll-snap-align: center;
    }

    .carousel-btn {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
        background: var(--primary-red);
        color: var(--white);
        border: none;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .prev-btn {
        left: 0;
    }

    .next-btn {
        right: 0;
    }
}





.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
    background-color: var(--light-bg);
}

.team-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-info {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.designation {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: auto;
}

.team-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.text-center {
    text-align: center !important;
}

.text-red {
    color: var(--primary-red) !important;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-red {
    background-color: var(--primary-red);
}

.text-white {
    color: var(--white);
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--dark-text);
    line-height: 1.2;
}

.careers-hero {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    padding: 120px 0 80px;
}

.careers-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.careers-hero .intro-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
}

.careers-hero .intro-text p {
    margin-bottom: 20px;
}

.careers-hero .intro-image img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.work-environment {
    background: #fdfdfd;
}

.work-environment .environment-content {
    max-width: 1100px;
    margin: 0 auto;
}

.environment-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.05rem;
    color: #555;
}

.environment-points {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.env-card {
    background: var(--white);
    padding: 35px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.env-card i {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-red);
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.env-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    transition: color 0.3s ease;
}

.env-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(227, 6, 19, 0.12);
    border-color: rgba(227, 6, 19, 0.2);
    background: linear-gradient(145deg, #ffffff 0%, #fffafa 100%);
}

.env-card:hover i {
    transform: scale(1.2) rotate(8deg);
    color: #b3050f;
}

.env-card:hover h4 {
    color: var(--primary-red);
}

.env-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-red);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: center;
}

.env-card:hover::after {
    transform: scaleX(1);
}

.job-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border-left: 6px solid var(--primary-red);
    margin-top: 20px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.job-header h3 {
    font-size: 1.6rem;
    color: var(--dark-text);
    margin: 0;
}

.location-tag {
    background: #f0f0f0;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.location-tag i {
    margin-right: 5px;
    color: #888;
}

.job-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.job-section h4 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.job-section ul {
    list-style: none;
    padding: 0;
}

.job-section ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #444;
    line-height: 1.5;
}

.job-section ul li::before {
    content: '•';
    color: var(--primary-red);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    line-height: 0.8;
}

.job-footer {
    margin-top: 30px;
}

.job-footer .btn {
    padding: 12px 35px;
}

.internship {
    background: #fafafa;
    overflow: hidden;
}

.intern-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.intern-info p {
    margin-bottom: 25px;
    color: #444;
    line-height: 1.7;
    font-size: 1.05rem;
}

.intern-details {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.intern-details p {
    margin-bottom: 12px;
    color: #555;
}

.intern-details p:last-child {
    margin-bottom: 0;
}

.intern-details strong {
    color: var(--dark-text);
    font-weight: 600;
    display: inline-block;
    width: 90px;
}

.intern-list h4 {
    font-size: 1.2rem;
    color: var(--dark-text);
    margin-bottom: 25px;
}

.intern-list ul {
    list-style: none;
    padding: 0;
}

.intern-list li {
    margin-bottom: 15px;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
}

.intern-list li i {
    color: var(--primary-red);
    margin-top: 4px;
}

.skills-section .section-intro {
    margin: -20px auto 50px;
    max-width: 700px;
    color: #666;
    font-size: 1.05rem;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 40px auto 0;
}

.skill-item {
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 12px;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.skill-header {
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 1.1rem;
    transition: var(--transition);
}

.skill-header:hover {
    background-color: #fafafa;
    color: var(--primary-red);
}

.skill-header i {
    font-size: 14px;
    transition: transform 0.4s ease;
    color: var(--primary-red);
}

.skill-content {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.3s ease;
    background-color: #fff;
    border-top: 1px solid transparent;
}

.skill-item.active .skill-content {
    max-height: 300px;
    border-top-color: #f0f0f0;
    transition:
        max-height 0.55s cubic-bezier(0.0, 0, 0.2, 1),
        border-color 0.3s ease;
}

.skill-inner {
    overflow: hidden;
}

.skill-content p {
    padding: 20px 25px 30px;
    color: #444;
    line-height: 1.7;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.35s ease 0.12s,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.skill-item.active .skill-content p {
    opacity: 1;
    transform: translateY(0);
}

.skill-item.active .skill-header i {
    transform: rotate(180deg);
}

.skill-item.active .skill-header {
    color: var(--primary-red);
    background-color: #fff;
}

.skill-item {
    border-left: 3px solid transparent;
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.skill-item.active {
    border-left-color: var(--primary-red);
    box-shadow: 0 8px 30px rgba(227, 6, 19, 0.08);
}

@media (max-width: 600px) {
    .skill-header {
        padding: 18px 20px;
        font-size: 1rem;
    }

    .skill-content p {
        padding: 15px 20px 25px;
    }
}

.benefits {
    background: var(--primary-red);
    color: var(--white);
}

.benefits .section-title {
    color: var(--white);
    margin-bottom: 60px;
}

.benefits .section-title::after {
    display: none;
}

.benefits-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 22px;
    margin-top: 50px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.benefits-grid::-webkit-scrollbar {
    display: none;
}

.benefit-item {
    background: var(--white);
    padding: 40px 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    flex: 1 1 0;
    min-width: 0;
    cursor: default;
    transition:
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s ease;
}

.benefit-item:hover {
    transform: scale(1.06);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.benefit-item i {
    font-size: 2.8rem;
    margin-bottom: 22px;
    color: var(--primary-red);
    display: block;
}

.benefit-item p {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--dark-text);
}

@media (max-width: 900px) {
    .benefits-grid {
        gap: 16px;
    }

    .benefit-item {
        min-width: 180px;
        padding: 32px 18px;
    }
}

@media (max-width: 600px) {
    .benefits-grid {
        flex-wrap: wrap;
    }

    .benefit-item {
        min-width: calc(50% - 8px);
        flex: 0 0 calc(50% - 8px);
    }
}

#apply {
    background: #fdfdfd;
}

.apply-container {
    max-width: 800px;
    margin: 0 auto;
}

.apply-box {
    background: var(--white);
    padding: 50px 60px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.apply-box>p {
    margin-bottom: 40px;
    color: #555;
    line-height: 1.6;
}

.apply-box a.text-red {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
}

.apply-box a.text-red:hover {
    text-decoration: underline;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.btn-submit {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 15px;
}

.btn-submit:hover {
    background: #c30410;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(227, 6, 19, 0.2);
}

.careers-hero .page-title,
.careers-hero .intro-text,
.careers-hero .intro-image {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.careers-hero .page-title {
    animation-delay: 0.1s;
}

.careers-hero .intro-text {
    animation-delay: 0.3s;
}

.careers-hero .intro-image {
    animation-delay: 0.5s;
}

.env-card,
.job-card,
.intern-info,
.intern-list,
.skill-item,
.benefit-item,
.apply-box {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.intern-info {
    transform: translateX(-40px);
}

.intern-list {
    transform: translateX(40px);
}

.env-card.reveal,
.job-card.reveal,
.intern-info.reveal,
.intern-list.reveal,
.skill-item.reveal,
.benefit-item.reveal,
.apply-box.reveal {
    opacity: 1;
    transform: translate(0, 0);
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .careers-intro-grid,
    .job-body,
    .intern-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .careers-intro-grid {
        text-align: center;
    }

    .environment-points {
        grid-template-columns: repeat(3, 1fr);
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .intern-info {
        transform: translateX(-20px);
    }

    .intern-list {
        transform: translateX(20px);
    }
}

@media (max-width: 768px) {
    .environment-points {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .apply-box {
        padding: 40px 30px;
    }
}

@media (max-width: 600px) {
    .environment-points {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .apply-box {
        padding: 30px 20px;
    }

    .modal {
        padding-top: 0;
    }

    .modal-content {
        margin: 10% auto;
        width: 90%;
        height: auto;
        max-height: 85vh;
        border-radius: 12px;
        overflow-y: auto;
        padding: 50px 20px 30px;
    }

    .close-modal {
        top: 10px;
        right: 10px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-section .container {
        padding: 60px 20px;
        margin: 20px 10px;
        border-radius: 16px;
        width: calc(100% - 20px);
    }

    .top-bar-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
    }

    .top-contact {
        text-align: left;
        font-size: 12px;
    }

    .top-social {
        margin: 0;
    }

    .top-social a {
        margin-left: 10px;
        font-size: 13px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}