:root {
    --main-color: #e99105;
}

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

a {
    text-decoration: none;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
    -webkit-appearance: none;
}

::-webkit-scrollbar-track {
    background: transparent;
    -webkit-overflow-scrolling: touch;
}

::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 0;
    border: 6px solid transparent;
    background-clip: padding-box;
    min-height: 50px;
    -webkit-overflow-scrolling: touch;
}

::-webkit-scrollbar-thumb:hover {
    background: transparent;
    border: 6px solid transparent;
    background-clip: padding-box;
}

/* For Firefox and mobile */
* {
    scrollbar-width: inherit;
    scrollbar-color: var(--main-color) transparent;
    -webkit-overflow-scrolling: touch;
}

html {
    /*overflow: scroll;*/
    -webkit-overflow-scrolling: touch;
}

html, body {
    height: 100%;
    /*overflow: auto;*/
    background: #000;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2000;
    padding: 20px 50px;
    background: transparent;
    transition: background 0.3s ease;
}

/* Add this new style for dark sections */
header.dark-bg {
    background: rgba(0, 0, 0, 0.4);
}

.categories-btn {
    border: none;
    outline: none;
    background: none;
    color: white;
    padding: 12px 20px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2000;
}

.categories-btn.dark-color {
    color: black;
}

.categories-btn.green-color {
    color: var(--main-color);
}

.menu-toggle {
    background: transparent;
    border: none;
    color: white;
    font-size: 25px;
    cursor: pointer;
    margin-left: 20px;
    position: relative;
    transition: all 0.3s ease;
    z-index: 2000;
}

.menu-toggle.dark-color {
    color: black;
}

.menu-toggle.green-color {
    color: var(--main-color);
}

.header-divider.dark-color {
    color: black;
    background: black;
}

.header-divider.green-color {
    color: var(--main-color);
    background: var(--main-color);
}

.layout-root {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2000;
}

.logo-link-header {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

.logo-icon {
    width: 110px;
    height: auto;
    background: rgb(255 255 255 / 39%);
    border-radius: 6px;
    /*display: flex;
    align-items: center;
    justify-content: center;*/
    padding: 0 15px;
}

.categories-btn:hover {
    color: var(--main-color);
}

.categories-btn.dark-color:hover {
    color: var(--main-color);
}

.menu-toggle:hover {
    color: var(--main-color);
}

.menu-toggle.dark-color:hover {
    /*color: #25D366;*/
    color: var(--main-color);
}

.header-divider {
    width: 1px;
    height: 30px;
    background: white;
    margin: 0 15px;
}

/* Navigation Styles */
.navigation-root {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    z-index: 9999;
    transition: right 0.3s ease;
}

.navigation-root.active {
    right: 0;
}

.navigation-root.active ~ body {
    overflow: hidden;
}

.navigation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.navigation-nav {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #333;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.main-content {
    padding: 30px;
}

.menu-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-block li {
    margin-bottom: 15px;
}

.menu-block a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.menu-block a:hover {
    color: #667eea;
}

@media (max-width: 768px) {
    .main-content {
        padding: 0 30px;
    }

    .menu-block a {
        color: #333;
        text-decoration: none;
        font-size: 16px;
        display: block;
        padding: 2px 0;
        transition: color 0.3s ease;
    }
}

.menu-secondary {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.offices {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.city {
    color: #667eea;
    text-decoration: none;
    font-style: normal;
}

/* Main Content */
.main-section {
    height: 100vh !important;
    min-height: 100vh;
    color: white;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.fullscreen-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 60px 100px 60px;
}

.fullscreen-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.fullscreen-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 57%);
    z-index: 1;
}

/* Split Section Styles (Second Section) */
/* Default styles (desktop and above) */
.split-section {
    display: flex;
    padding: 0;
    height: 100vh;
}

.split-section .text-content {
    width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background: #f5ededf2;
    color: #000;
}

.split-section .media-content {
    width: 50%;
    position: relative;
    overflow: hidden;
    height: 100%;
    background-color: var(--main-color);
}

.full-media-content {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Red Section Styles (Third Section) */
.red-split-section {
    display: flex;
    padding: 0;
    height: 100vh;
}

.red-split-section .text-content {
    width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background: white;
    color: #000;
}

.red-split-section .media-content-red {
    width: 50%;
    position: relative;
    overflow: hidden;
    height: 100%;
    background-color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.red-split-section .media-content-red img {
    width: 180px;
    height: auto;
}

.split-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-title {
    font-size: 26px;
    font-weight: 300;
    line-height: 40px;
    margin-bottom: 20px;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.welcome-main-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 40px;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    /*margin-bottom: 30px;*/
}

.section-description {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    /*margin-bottom: 30px;*/
    max-width: 500px;
}

.cta-button {
    background: transparent;
    border: 2px solid var(--main-color);
    color: white;
    width: fit-content;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    background: var(--main-color);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .class-d-none {
        display: none;
    }

    header {
        padding: 15px 20px;
    }

    .navigation-root {
        width: 100%;
        right: -100%;
    }

    .fullscreen-section {
        padding: 20px;
        padding-bottom: 100px;
    }

    .split-section {
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }

    .split-section .text-content {
        width: 100%;
        height: 50%;
        padding: 65px 20px 0 20px;
        justify-content: center;
        font-size: clamp(0.8rem, 1.5vw, 1rem);
    }

    .split-section .text-content .section-title {
        font-size: 17px;
        /*margin-top: 20px;*/
        /*font-size: clamp(1.2rem, 3vw, 1.8rem);*/
    }

    .split-section .text-content p {
        padding: 0 !important;
        line-height: 16px !important;
    }

    .split-section .text-content ul {
        margin: 0;
        line-height: 16px;
        letter-spacing: -0.5px;
    }

    .split-section .media-content {
        width: 100%;
        height: 50%;
    }

    /* Mobile styles for red section */
    .red-split-section {
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }

    .red-split-section .text-content {
        display: none;
    }

    .red-split-section .media-content-red {
        width: 100%;
        height: 100%;
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        justify-content: end;
        align-items: center;
    }

    .red-split-section .mobile-text {
        color: white;
        text-align: left;
    }

    .red-split-section .mobile-text .section-title {
        color: white;
        font-size: 32px;
        line-height: 1.2;
        /*margin-bottom: 20px;*/
    }

    .red-split-section .mobile-text .section-description {
        color: white;
        font-size: 16px;
        line-height: 1.5;
        /*margin-bottom: 20px;*/
    }

    .section-title {
        font-size: 25px;
        margin-bottom: 0px;
        line-height: 1.2;
    }

    .dribbble-section .section-title {
        font-size: 35px !important;
        margin-bottom: 0px;
        line-height: 1.2;
    }

    .section-description {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 0;
        color: #666;
    }

    .categories-btn {
        display: none;
    }

    .footer-wrapper {
        min-height: 100vh;
        height: auto;
        padding: 0;
    }

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

    .footer-logo-wrapper {
        margin-top: 20px;
    }

    /* Adjust the header background when footer is active */
    .footer-wrapper.active ~ header {
        background: transparent;
    }

    .footer-wrapper.active {
        padding-top: 60px;
    }

    .dribbble-section {
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }

    .dribbble-section .media-content {
        width: 100%;
        padding: 0 20px 20px 20px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        height: auto;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .red-split-section .media-content-red {
        padding: 30px 20px;
    }

    .red-split-section .mobile-text .section-title {
        font-size: 28px;
    }

    .red-split-section .mobile-text .section-description {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .red-split-section .media-content-red img {
        width: 200px;
        margin-top: 50px;
        margin-bottom: 30px;
    }
}

/* Dribbble Section Styles */
.dribbble-section {
    display: flex;
    padding: 0;
    height: 100vh;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.dribbble-section .text-content {
    width: 30%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: #000;
}

.dribbble-section .media-content {
    width: 70%;
    position: relative;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-content: center;
    height: 100%;
    overflow: hidden;
}

.icon_box img {
    width: 260px;
    height: 180px;
}

@media (max-width: 768px) {
    .class-d-none {
        display: none;
    }

    .dribbble-section {
        display: flex;
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }

    .dribbble-section .media-content {
        flex: 1 1 auto;
        width: 100%;
        padding: 20px 20px 0 20px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        align-content: center;
        align-items: center;
        height: auto;
        overflow: hidden;
        order: 1; /* Images appear first */
    }

    .dribbble-section .text-content {
        width: 100%;
        padding: 0 10px 80px 25px;
        background: transparent;
        order: 2; /* Text appears second */
    }

    .icon_box img {
        width: 100%;
        height: 100%;
    }
}

/* Change menu color to black when the last section is in view */
.dribbble-section.active ~ header .categories-btn,
.dribbble-section.active ~ header .menu-toggle {
    color: black;
}

/* Footer Styles */
.footer-wrapper {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    background-image: url("../images/footerbg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.footer-section {
    width: 100%;
    padding: 0;
    color: white;
}

.container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-content {
    max-height: calc(100vh - 40px);
    padding: 20px 0;
}

.footer-logo-wrapper {
    margin-bottom: 20px;
}

.footer-logo {
    max-width: 150px;
    height: auto;
}

.footer-column {
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.about-text {
    margin-bottom: 20px;
}

.about-text p {
    font-size: 14px;
    line-height: 1.6;
    color: white;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #00a0e1;
    color: #fff;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: black;
}

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

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

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00a0e1;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: #fff;
    font-size: 14px;
}

.contact-info i {
    color: #00a0e1;
    margin-top: 4px;
}

.contact-info a {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #00a0e1;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: #fff;
}

.copyright i {
    color: #00a0e1;
    margin: 0 3px;
}

.messenger-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.messenger-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
}

.messenger-link.whatsapp {
    background: #25D366;
}

.messenger-link.figma {
    background: #1E1E1E;
}

.messenger-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .footer-wrapper {
        height: 100vh;
        overflow: hidden;
    }

    .footer-section {
        padding: 0 0 20px;
    }

    .footer-content {
        max-height: calc(100vh - 80px);
        padding: 0;
    }

    .footer-column {
        margin-bottom: 20px;
    }

    .footer-logo-wrapper {
        margin-top: -80px;
    }
}

@media (max-width: 576px) {
    .footer-section {
        padding: 0 15px 15px;
    }
}

/* Mission & Vision Page Styles */
.mission-vision-page {
    background: white;
}

.mission-vision-container {
    display: flex;
    min-height: 100vh;
    padding-top: 80px; /* Space for header */
}

.mission-vision-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
    overflow: hidden;
}

.video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    font-size: 80px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.mission-vision-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-vision-video .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.mission-vision-content {
    width: 50%;
    margin-left: 50%;
    background: #fff;
    min-height: 100vh;
    overflow-y: auto;
}

.content-section {
    width: 100%;
    margin-bottom: 80px;
    padding: 60px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-size: 55px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

.content-section p {
    font-size: 18px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.content-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.content-section ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.7;
    color: #666;
}

.content-section ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: green;
    border-radius: 50%;
}

/* Values Grid Styles */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.value-item {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 60px;
    margin-bottom: 20px;
    color: green;
}

.value-item h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.value-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .mission-vision-container {
        flex-direction: column;
        padding-top: 60px;
    }

    .mission-vision-video {
        position: relative;
        width: 100%;
        height: 70vh;
    }

    .mission-vision-content {
        width: 100%;
        margin-left: 0;
    }

    .content-section {
        padding: 40px;
    }

    .content-section h2 {
        font-size: 42px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .value-item {
        padding: 30px;
    }

    .video-content {
        font-size: 42px;
    }
}

@media (max-width: 576px) {
    .mission-vision-video {
        height: 60vh;
    }

    .mission-vision-content {
        padding: 0;
    }

    .content-section {
        padding: 30px 20px;
        margin-bottom: 40px;
    }

    .content-section h2 {
        font-size: 36px;
        margin-bottom: 20px;
    }

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

    .content-section ul li {
        font-size: 16px;
    }

    .value-item {
        padding: 25px;
    }

    .value-item i {
        font-size: 48px;
    }

    .value-item h3 {
        font-size: 24px;
    }

    .video-content {
        font-size: 36px;
    }
}

/* Mission & Vision Page Specific Styles */
.mission-vision-page header {
    background: transparent !important;
}

.mission-vision-page .menu-toggle {
    position: fixed;
    top: 20px;
    right: 50px;
    margin: 0;
    color: black;
    background: transparent !important;
}

.mission-vision-page .layout-root {
    background: transparent !important;
}

.mission-vision-page .navigation-root {
    background: transparent;
}

@media (max-width: 768px) {
    .mission-vision-page .menu-toggle {
        right: 20px;
        top: 15px;
    }
}

.icon-i {
    font-size: 60px;
    margin-bottom: 20px;
    color: green;
}

@media (max-width: 768px) {
    .icon_box .icon {
        display: none;
    }
}
/* 3D Card Carousel Demo Styles */
.card-carousel-demo-section {
    background: #181c20;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}
.card-carousel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}
.card-carousel {
    position: relative;
    width: 400px;
    height: 300px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card {
    position: absolute;
    width: 220px;
    height: 300px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: #181c20;
    transition: transform 0.5s cubic-bezier(.4,2.08,.55,.44), opacity 0.5s;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}
.card.active {
    opacity: 1;
    transform: translateX(0) scale(1) rotateY(0deg);
    z-index: 5;
    pointer-events: auto;
}
.card.left {
    opacity: 0.7;
    transform: translateX(-120px) scale(0.85) rotateY(30deg);
    z-index: 4;
}
.card.right {
    opacity: 0.7;
    transform: translateX(120px) scale(0.85) rotateY(-30deg);
    z-index: 4;
}
.card.far-left {
    opacity: 0.3;
    transform: translateX(-240px) scale(0.7) rotateY(45deg);
    z-index: 3;
}
.card.far-right {
    opacity: 0.3;
    transform: translateX(240px) scale(0.7) rotateY(-45deg);
    z-index: 3;
}
.carousel-controls {
    margin-top: 40px;
    display: flex;
    gap: 30px;
    justify-content: center;
}
.carousel-arrow {
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    color: #181c20;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-arrow:hover {
    background: var(--main-color);
    color: #fff;
}
@media (max-width: 600px) {
    .card-carousel {
        width: 90vw;
        height: 220px;
    }
    .card {
        width: 140px;
        height: 180px;
        font-size: 2rem;
    }
    .card.left, .card.right {
        transform: translateX(-70px) scale(0.85) rotateY(30deg);
    }
    .card.right {
        transform: translateX(70px) scale(0.85) rotateY(-30deg);
    }
    .card.far-left {
        transform: translateX(-140px) scale(0.7) rotateY(45deg);
    }
    .card.far-right {
        transform: translateX(140px) scale(0.7) rotateY(-45deg);
    }
}
/* 3D Card Carousel Demo Styles (Vertical Wheel) */
.card-carousel-demo-section {
    background: #181c20;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}
.card-carousel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}
.card-carousel-vertical {
    position: relative;
    width: 220px;
    height: 400px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective-origin: 50% 50%;
}
.card {
    position: absolute;
    width: 220px;
    height: 140px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: #181c20;
    transition: transform 0.7s cubic-bezier(.4,2.08,.55,.44), opacity 0.5s;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
    backface-visibility: hidden;
}
.card.active {
    opacity: 1;
    z-index: 5;
    pointer-events: auto;
}
.carousel-controls-vertical {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
}
.carousel-arrow {
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    color: #181c20;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-arrow:hover {
    background: var(--main-color);
    color: #fff;
}
@media (max-width: 600px) {
    .card-carousel-vertical {
        width: 90vw;
        height: 220px;
    }
    .card {
        width: 90vw;
        height: 90px;
        font-size: 2rem;
    }
}
/* Centered Google Map Section */
.iframe-map {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: #0f0f0f;
}
.iframe-map-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 100%;
}
.iframe-map-container iframe {
    width: 100%;
    max-width: 600px;
    height: 30vh;
    max-height: 400px;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border: 0;
    background: #fff;
}
@media (max-width: 991px) {
    .iframe-map-container iframe {
        max-width: 90vw;
        height: 35vh;
        max-height: 300px;
    }
}
@media (max-width: 600px) {
    .iframe-map-container iframe {
        max-width: 90vw;
        width: 90vw;
        height: 20vh;
        max-height: 120px;
        margin-top: 20px;
    }
}

.showcase-section .banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    perspective: 1500px;
}

.banner {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
}

.banner .slider {
    position: absolute;
    width: 180px;
    height: 140px;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 20s linear infinite;
}

/* Auto Rotation Animation */
@keyframes autoRun {
    from {
        transform: perspective(1000px) rotateX(360deg);
    }
    to {
        transform: perspective(1000px) rotateX(0deg);
    }
}

/* Each Item Positioned in 3D Circle */
.banner .slider .item {
    position: absolute;
    width: 160px;
    height: 100px;
    transform: rotateX(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg))
    translateZ(210px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner .slider .item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    background-color: white;
    opacity: 0.9;
    padding: 5px;
}

/* ---------- Responsive Styles ---------- */
@media (min-width: 992px) {
    .showcase-section .banner {
        margin: -250px;
    }

    .showcase-content .row {
        display: flex;
        flex-wrap: nowrap;
    }

    .showcase-text, .banner {
        height: 100%;
        min-height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .footer-logo-wrapper .footer-logo {
        margin-bottom: 10px;
    }
}
@media (max-width: 991px) {
    .banner {
        min-height: 300px;
        perspective: 1000px;
    }

    .banner .slider {
        width: 110px;
        height: 110px;
    }

    .banner .slider .item {
        width: 110px;
        height: 90px;
        transform: rotateX(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(170px);
    }
}
@media (max-width: 767px) {
    .showcase-text {
        text-align: center;
        margin-bottom: 30px;
    }

    .banner {
        min-height: 250px;
        perspective: 800px;
    }

    .banner .slider {
        width: 100px;
        height: 70px;
    }

    .banner .slider .item {
        width: 100px;
        height: 85px;
        transform: rotateX(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(180px);
    }
}
@media (max-width: 480px) {
    .banner {
        min-height: 220px;
        perspective: 600px;
    }

    .banner .slider {
        width: 100px;
        height: 70px;
    }

    .banner .slider .item {
        width: 100px;
        height: 85px;
        transform: rotateX(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(180px);
    }
}

/*-------------------------------------------------Mission&Vision-------------------------------------------------*/
.welcome-title {
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 20px;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .why-kafou-page .fullscreen-section {
        padding: 20px 10px 60px 10px;
    }
    .why-kafou-page .fullscreen-section .section-title {
        font-size: 22px !important;
        /*margin-bottom: 14px;*/
    }
    .why-kafou-page .fullscreen-section .welcome-title {
        font-size: 15px;
        margin-bottom: 18px;
        max-width: 100%;
    }
}
@media (max-width: 600px) {
    .why-kafou-page .fullscreen-section {
        padding: 10px 4vw 40px 4vw;
    }
    .why-kafou-page .fullscreen-section .section-title {
        font-size: 16px !important;
        /*margin-bottom: 10px;*/
    }
    .why-kafou-page .fullscreen-section .welcome-title {
        font-size: 13px;
        margin-bottom: 12px;
        max-width: 100%;
    }
}
@media (min-width: 992px) {
    .why-kafou-page .fullscreen-section > .row {
        display: flex;
        flex-direction: row;
        gap: 40px;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .why-kafou-page .fullscreen-section > .row > .section-title,
    .why-kafou-page .fullscreen-section > .row > .welcome-title {
        flex: 1 1 0;
        min-width: 0;
        margin-bottom: 0;
    }
    .why-kafou-page .fullscreen-section > .row > .section-title {
        margin-right: 16px;
        margin-bottom: 0;
        align-self: flex-start;
    }
    .why-kafou-page .fullscreen-section > .row > .welcome-title {
        margin-left: 0;
        align-self: flex-start;
    }
}
/*-----------------------------------Section Show Images-----------------------------------------------*/
.single-carousel {
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 20px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-carousel img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.5s ease-in-out;
}
/*-----------------------------------banner horizontally-----------------------------------------------*/
.show-images-section {
    height: 100vh;
    overflow: hidden;
}

.show-images-section .container {
    height: 100%;
    max-width: 100%;
    padding: 0;
}

.show-images-section .row {
    height: 100%;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
}

.carousel-text {
    width: 40%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: 100vh;
}

.carousel-text .carousel-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.carousel-container {
    width: 60%;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.single-carousel {
    width: 450px;
    height: 335px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-carousel img {
    transform: scale(0.90);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .show-images-section .row {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .carousel-container {
        width: 100%;
        flex: 1 1 auto;
        padding: 20px;
        order: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carousel-text {
        width: 100%;
        padding: 20px 20px 90px 20px;
        justify-content: flex-start;
        /*align-items: center;
        text-align: center;*/
        order: 2;
        flex: 0 0 auto;
        height: auto;
    }

    .carousel-text .carousel-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .single-carousel {
        height: 55%;
    }
}

/* Centered division image for split-section */
.img-division {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 380px;
    max-width: 100%;
    height: auto;
    margin-bottom: 50px;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .img-division {
        width: 90% !important;
    }
}

.division-section {
    display: flex;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.division-section .text-content {
    width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background: #f5f5f5;
    color: #000;
}

.division-section .media-content {
    width: 50%;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.division-section .text-content .section-title {
    font-size: 30px;
    margin-top: 20px;
}

.division-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .division-section {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    .division-section .text-content {
        width: 100%;
        padding: 24px 10px 16px 20px;
        background: #f5f5f5;
        z-index: 2;
        position: relative;
        box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    }

    .division-section .careers-text-content {
        padding: 70px 10px 16px 20px;
    }

    .img-division {
        width: 60vw !important;
        max-width: 220px;
        margin-bottom: 0;
        margin: 50px auto 0 auto;
        display: block;
    }
    .division-section .media-content {
        width: 100%;
        position: relative;
        z-index: 1;
    }
    .division-section .section-title {
        font-size: 1.3rem;
        /*margin-bottom: 10px;*/
        margin-top: 0;
    }
    .division-section .cta-button {
        margin-bottom: 0;
    }
}
/**************************************************** Start Stats ****************************************/
.stats-section {
    position: relative;
    min-height: 340px;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: black;
    z-index: 1;
}

.stats-bg-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}

.stats-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #ffffffe8;
    z-index: 2;
}

.stats-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: grid;
    align-items: center;
    /*justify-content: center;*/
}

.stats-content, .stats-section {
    height: 100%;
    min-height: 340px;
}

.stats-col {
    min-height: 220px;
    height: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.stats-number {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: black;
    margin-bottom: 0.7rem;
    line-height: 1.1;
    letter-spacing: 1px;
}

.stats-label {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: bold;
    color: black;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.stats-content img {
    margin-bottom: 25px;
}

.delivery-span {
    font-size: 30px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .stats-section {
        height: auto;
        min-height: 260px;
        padding: 40px 0;
    }
    .stats-number {
        font-size: 2rem;
    }
    .stats-label {
        font-size: 0.95rem;
    }
    .mb-4 {
        margin-bottom: 0.5rem !important;
    }
}

@media (max-width: 600px) {
    .stats-col {
        margin-bottom: 2rem;
        min-height: 100px;
    }

    .stats-content .row {
        gap: 0.5rem;
    }
}

@media (max-width: 991px) {
    .stats-content .row {
        gap: 1.2rem;
    }
    .stats-number {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
    }
    .stats-label {
        font-size: clamp(0.9rem, 2vw, 1rem);
    }
    .stats-col {
        min-height: 140px;
    }
}

.energy-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px 100px 60px;
    background: #ffffffe8;
}

.energy-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.energy-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--main-color);
    display: inline-block;
    position: relative;
}

.energy-title::after {
    position: absolute;
    content: "";
    left: 50%;
    bottom: -10px;
    width: 20px;
    height: 20px;
    background: url(../images/kafou-logo-icon.svg) #fff;
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateX(-50%) translateY(10%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.stat-unit {
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.stat-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .energy-section {
        padding: 40px 15px;
        min-height: auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-card {
        padding: 8px;
    }

    .stat-icon {
        width: 25px;
        height: 35px;
    }

    .stat-number {
        font-size: 12px;
        margin-bottom: 0 !important;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-unit {
        font-size: 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .energy-section {
        padding: 40px 15px;
        min-height: auto;
    }

    .stat-card {
        padding: 8px;
    }

    .stat-icon {
        width: 40px;
        height: 35px;
    }

    .stat-number {
        font-size: clamp(0.8rem, 3vw, 2rem);
        margin-bottom: 0 !important;
    }

    .stat-label {
        font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    }
}

@media (min-width: 1025px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/**************************************************** End Stats ****************************************/

.careers-title {
    font-size: 48px;
    font-weight: 700;
}

.careers-links {
    font-size: 30px;
    color: #757272;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.logo-wrapper img {
    width: 180px;
}

.careers-header {
    font-size: 60px;
    font-weight: 700;
    transform: scale3d(1.5, 1.5, 1.5);
}

.careers-buttons {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .main-section-green {
        background-color: var(--main-color) !important;
    }

    .main-section .headline-content {
        margin-top: 2rem;
    }

    .logo-mobile-center {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .logo-mobile-center img {
        max-width: 160px !important;
    }

    .mobile-bottom-content {
        padding: 10px 15px 80px 20px;
    }

    .mobile-bottom-content .cta-button {
        border: 2px solid #d6f0f1 !important;
        color: white !important;
    }

    .careers-header {
        font-size: 45px;
    }

    .careers-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        padding: 10px 10px 90px 10px !important;
    }

    .logo-wrapper img {
        width: 120px;
    }
}

/* ======= Mobile Scrollbar Visibility Fix (Safe for Scrollify) ======= */
@media (max-width: 768px) {
    body {
        /*overflow-y: scroll;*/
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin; /* For Firefox */
    }

    /* WebKit browsers (Chrome, Safari) */
    ::-webkit-scrollbar {
        width: 6px;
    }

    ::-webkit-scrollbar-track {
        background-color: rgba(255, 255, 255, 0.05); /* Slightly visible track */
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(23, 137, 140, 0.5); /* Teal thumb */
        border-radius: 4px;
    }
}

/* Language Switcher Styles */
/*.language-switcher {
    margin-right: 15px;
}

.btn-language {
    background: transparent;
    border: 1px solid #1b8b8b;
    color: #f8f9fa;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-language:hover {
    background: #1b8b8b;
    border-color: #1b8b8b;
}*/

.language-flag {
    margin-right: 5px;
}

.dropdown-item.active {
    background-color: #1b8b8b;
    color: white;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .language-flag {
    margin-right: 0;
    margin-left: 5px;
}

[dir="rtl"] .dropdown-item {
    text-align: right;
}

/* RTL Layout for Arabic */
html[dir="rtl"] body {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .header-divider {
    margin-left: 15px;
    margin-right: 0;
}

html[dir="rtl"] .language-switcher {
    margin-right: 0;
    /*margin-left: 15px;*/
}

.btn-language {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    outline: none;
}

.btn-language:focus {
    outline: none !important;
    border: none !important;
}

/*.btn-language:hover {
    border-color: #1b8b8b;
}*/

.language-icon {
    filter: grayscale(100%) brightness(1);
    font-size: 1.3em;
}

.language-text {
    font-weight: 500;
}
