
html, body{
    overflow-x: hidden;
    scroll-behavior: smooth;
}
:root {
    --primary-color: #ce9c5b;
    --secondary-color: #2e3c5c;
}
::selection {
    color: white;
    background: black;
}
::-webkit-scrollbar {
    width: 5px; 
    height: 5px;
}
::-webkit-scrollbar-track {
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 12px;
}
@font-face{
    font-family: "Loew";
    src: url('../fonts/Loew-Next-Arabic.ttf') format('opentype');
}
    
body {
    font-family: 'Loew', sans-serif;
    overflow-x: hidden;
}

.navbar {
    background: linear-gradient(180deg, #2E3C5C 0%, #131721 100%);
    z-index: 111;
    padding-block: 35px;
    transition: all 0.3s ease;
}

.navbar .nav-item {
    padding-inline: 10px;
}

.navbar .nav-link {
    color: white;
    transition: all 300ms ease-in-out;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: var(--primary-color);
}

.nav-btns {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-btns .register-btn {
    color: white;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid white;
    transition: all 300ms ease-in-out;
    text-decoration: none;
}

.nav-btns .register-btn:hover {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: white;
}

.nav-btns .language-btn {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 14px;
}

.custom-toggler {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    outline: none;
}

.custom-toggler:focus {
    box-shadow: none;
    outline: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
}

/* Sidebar overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(46, 60, 92, 0.8);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(5px);
}

.sidebar-overlay.show {
    display: block;
    opacity: 1;
}

/* Responsive styles for sidebar */
@media (max-width: 991.98px) {
    .navbar {
        top: 0;
        left: 0;
        right: 0;
        padding: 20px 0;
        backdrop-filter: blur(10px);
        z-index: 1000;
    }

    .custom-toggler {
        position: relative;
        z-index: 1001;
        padding: 5px;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        height: 100vh;
        z-index: 999;
        background: var(--secondary-color);
        transition: right 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
        padding: 100px 0 30px;
        overflow-y: auto;
        scrollbar-width: none; 
        -ms-overflow-style: none; 
    }

    /* Hide scrollbar for WebKit browsers */
    .navbar-collapse::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 40px !important;
        padding: 0 30px;
    }

    .navbar .nav-item {
        padding: 0;
        margin-bottom: 8px;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
    }

    .navbar .nav-item::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 100%;
        background: linear-gradient(90deg, #CA9754 0%, #9E6F32 100%);
        transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: -1;
    }

    .navbar .nav-item:hover::before {
        width: 100%;
        color: white;
    }

    .navbar .nav-link {
        padding: 18px 25px;
        font-size: 16px;
        font-weight: 600;
        display: block;
        border-radius: 10px;
        transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
        position: relative;
        z-index: 1;
    }

    .navbar .nav-link:hover {
        color: #fff;
        transform: translateX(-8px);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .navbar .nav-link.active {
        background: var(--primary-color);
        color: var(--secondary-color);
        font-weight: 700;
        box-shadow: 0 4px 15px rgba(206, 156, 91, 0.3);
    }

    .nav-btns {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
        padding: 30px;
        border-top: 2px solid rgba(206, 156, 91, 0.3);
        position: relative;
    }

    .nav-btns::before {
        content: '';
        position: absolute;
        top: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: var(--primary-color);
        border-radius: 2px;
    }

    .nav-btns .register-btn {
        width: 100%;
        text-align: center;
        padding: 15px 25px;
        font-size: 16px;
        font-weight: 600;
        background: linear-gradient(135deg, var(--primary-color), #f4d03f);
        border: 2px solid var(--primary-color);
        color: var(--secondary-color);
        border-radius: 12px;
        transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: 0 4px 15px rgba(206, 156, 91, 0.2);
    }

    .nav-btns .register-btn:hover {
        background: transparent;
        color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(206, 156, 91, 0.4);
    }

    .nav-btns .language-btn {
        font-size: 16px;
        font-weight: 600;
        justify-content: center;
        padding: 15px;
        border-radius: 12px;
        transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
        border: 2px solid rgba(255, 255, 255, 0.2);
    }

    .nav-btns .language-btn:hover {
        background: rgba(206, 156, 91, 0.15);
        border-color: var(--primary-color);
        transform: translateY(-2px);
    }

    /* Enhanced close button */
    .sidebar-close{
        position: absolute;
        top: 30px;
        right: 30px;
        background: rgba(206, 156, 91, 0.2);
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        font-size: 20px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 1002;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    .sidebar-close:hover {
        background: var(--primary-color);
        color: var(--secondary-color);
        transform: rotate(90deg);
    }
}

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

    .navbar-collapse {
        width: 280px;
        right: -300px;
        padding: 80px 0 20px;
    }

    .navbar-nav {
        padding: 0 20px;
    }

    .navbar .nav-link {
        font-size: 15px;
        padding: 15px 20px;
    }

    .nav-btns {
        padding: 20px;
        gap: 15px;
    }

    .nav-btns .register-btn {
        font-size: 15px;
        padding: 12px 20px;
    }

    .nav-btns .language-btn {
        font-size: 15px;
        padding: 12px;
    }

    .sidebar-close {
        top: 30px;
        right: 20px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

.custom-toggler[aria-expanded="true"] .hamburger {
    display: none;
}

.hamburger:hover span {
    background-color: var(--primary-color);
}

.navbar-collapse * {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.sidebar-open {
    overflow: hidden;
}


.tabs-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}

.tabs-header {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    border-bottom: 1px solid #eee;
    width: fit-content;
}

.tab {
    padding: 15px 25px;
    cursor: pointer;
    font-weight: bold;
    color: #666;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
    position: relative;
    width: 250px;
}

.tab.active {
    color: var(--primary-color);
}

.indicator {
    position: absolute;
    bottom: -3px;
    left: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.tabs-content {
    position: relative;
    transition: height 0.5s ease;
}

.tab-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
    pointer-events: none;
    box-sizing: border-box;
}

.tab-content.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: all;
    transition-delay: 0.2s;
}

.tab-content.leaving {
    opacity: 0;
    transform: translateY(-30px);
    transition-delay: 0s;
}

.tab-content h2 {
    margin-bottom: 15px;
    color: #333;
}

.tab-content p {
    color: #666;
    line-height: 1.6;
}
.section-title{
    font-size: 30px;
    color: var(--secondary-color);
    font-weight: bold;
}
.section-top{
    border-bottom: 1px solid rgba(215, 215, 215, 1);
    margin-bottom: 30px;
}



/* start templates page  */
.templates{
    padding-block: 80px;
    overflow: hidden;
}
.templates-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.template-box {
    padding: 20px;
    border: 1px solid rgba(195, 191, 191, 1);
    max-width: 320px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0px 2px 8.78px 1px rgba(0, 0, 0, 0.25);
}

.template-box .font-img {
    max-width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin: auto;
    margin-bottom: 20px;
    border: 0.97px solid rgba(217, 217, 217, 1);
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-box .font-img img {
    height: 100%;
    width: 100%;
    object-fit: contain;

}

.template-box .title {
    font-size: 20px;
    color: var(--secondary-color);
    text-align: start;
    margin-bottom: 40px;
}

.template-box a {
    text-decoration: none;
    text-transform: uppercase;
}

.template-box .visit-kaleam {
    text-align: start;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #555;
}

.template-box .visit-kaleam img {
    width: 20px;
    height: 20px;
}

.template-box .downloads {
    border-top: 1px solid rgba(217, 217, 217, 1);
    padding-top: 10px;
    display: flex;
    gap: 10px;
    align-items: baseline;
    justify-content: start;
}

.template-box .downloads p {
    margin: 0;
}

.template-box .downloads a {
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    padding: 0px 15px 0px 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: all 300ms ease-in-out;
    font-size: 14px;
}

.template-box .downloads a:hover {
    background-color: var(--secondary-color);
    color: white;
}

@media (max-width: 767px) {
    .template-box {
    margin: auto;
    }
}

.templates .note{
    position: relative;
    z-index: 1;
}
.templates .note::after,
.templates .note::before{
    content: "";
    position: absolute;
    height: 1px ;
    background: rgba(169, 169, 169, 1);
    top: 50%;
    transform: translateY(-50%);
}
:dir(rtl).templates .note::after,
:dir(rtl).templates .note::before{
    width: 80%;
}
:dir(ltr).templates .note::after,
:dir(ltr).templates .note::before{
    width: 77%;
}
.templates .note::after{
    right: -50%;
}
.templates .note::before{
    left: -50%;
}

.templates h5,
.design-to-production h5{
    color: var(--secondary-color);
    font-weight: bold;
    line-height: 1.5;
}
.start-btn{
    color: white;
    background-color: var(--secondary-color);
    padding: 10px 15px;
    border-radius: 8px;
}
.start-btn:hover{
    color: white;
}


@media(max-width:1400px){
    .templates .note::after{
    right: -60%;
}
.templates .note::before{
    left: -60%;
}
}
@media(max-width:992px){
    .templates .note::after{
    right: -70%;
}
.templates .note::before{
    left: -70%;
}
.templates h5,
.design-to-production h5{
    font-size: 16px;
}
}
@media(max-width:767px){
    .templates .note::after{
    right: -80%;
}
.templates .note::before{
    left: -80%;
}
}
.download-title{
    font-size: 14px;
}
.payed-downloads{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.payed-downloads a{
    display: flex;
    flex-direction: column;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    width: fit-content;
    padding: 5px 10px;
    font-size: 14px;
    transition: all 300ms ease-in-out;

}
.payed-downloads a:hover
{
    color: white;
    background-color: var(--secondary-color);

}
.payed-downloads a:hover p{
    color: white;
}
.payed-downloads p{
    color: var(--secondary-color);
    margin-bottom: 0;
    transition: all 300ms ease-in-out;

}
.payed-downloads .price{
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 32px;
}
/* start news and footer sections  */


.news-section {
    padding: 40px 20px;
}

.logo-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
}
.kalim-logo {
    height: 7.25rem;
}

.tagline {
    color: #666;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: right;
    margin-top: 0.625rem;
}

.email-signup {
    max-width: 500px;
    text-align: right;
    margin-bottom: 1.25rem;
}

.email-signup h3 {
    color: var(--primary-color);
    margin-bottom: 0.625rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.email-signup p {
    margin-bottom: 0.9375rem;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

.email-input-container {
    position: relative;
    margin-top: 0.625rem;
}

.email-input {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 30px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.submit-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}
:dir(rtl).submit-arrow{
    left: 0.625rem;
}
:dir(ltr).submit-arrow{
    right: 0.625rem;
}
.footer-section {
    background: linear-gradient(180deg, #2E3C5C 0%, #131721 100%);
    padding: 1.875rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}
.footer-section .lines{
    position: relative;
    z-index: 1;
}
.footer-section .lines::before,
.footer-section .lines::after
{
    position: absolute;
    content: "";
    width: 200%;
    height: 2px;
    background-color: rgba(255, 255, 255, 1);
    left: -50%;

}
.footer-section .lines::before{
    top: -30px;
}
.footer-section .lines::after{
    bottom: -30px;
}
.footer-section .section-title {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: bold;
}
.footer-links {
    list-style: none;
}
.footer-links i{
    font-size: 8px;
}
.footer-links li {
    color: white;
    text-decoration: none;
    margin-bottom: 0.625rem;
    transition: color 0.3s;
    font-size: 16px;
    font-weight: normal;
}
.footer-links li a{
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.footer-links a:hover {
    color: var(--primary-color);
}
.social-icons {
    display: flex;
    gap: 0.625rem;
    margin-top: 0.9375rem;
}

.social-icon {
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 0.625rem;
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: background-color 0.3s;
    text-decoration: none;
}
.social-icon i{
    font-size: 30px;
}
.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

.copyright-section {
    padding: 0.9375rem 0;
    margin-top: 1.25rem;
}


footer .lined{
    position: relative;
    z-index: 1;
}
footer .lined::before,
footer .lined::after{
    content: "";
    position: absolute;
    width: 1px;
    height: calc(100% + 60px);
    background-color: white;
    top: -30px;
}   
footer .lined::before{
    left: 0;
}
footer .lined::after{
    right: 0;
}

@media(max-width:992px){
    footer .lined::before,
    footer .lined::after{
       display: none;
    }
}
@media (max-width: 767px) {
    .email-signup h3 {
        font-size: 1.3rem;
    }
    
    .social-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .kalim-logo {
        height: 6rem;
    }

}

@media (max-width: 576px) {
    .logo-container {
        align-items: flex-start;
    }
     
    .copyright {
        flex-direction: column;
        gap: 0.5rem;
    }
}



/* start Comparison page  */
.comparison-table {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #2e3c5c;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    border-bottom: 2px dashed #6c7b8a;
}

.header-cell {
    padding: 25px 15px;
    text-align: center;
    position: relative;
}
:dir(rtl).header-cell{
    border-left: 2px dashed #6c7b8a;
}
:dir(ltr).header-cell{
    border-right: 2px dashed #6c7b8a;
}
:dir(rtl).header-cell:last-child {
    border-left: none;
}
:dir(ltr).header-cell:last-child {
    border-right: none;
}

.header-cell:first-child {
    background: white;
    color: #2e3c5c;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.header-cell:first-child::before {
    content: '';
    position: absolute;
    background: rgba(213, 213, 213, 1);
    width: 2px;
    height: 120%;
    bottom: -11px;
    left: 122px;
    rotate: 62deg;
    z-index: 1;
}

.header-cell:first-child .corner-text-top {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 14px;
    color: #2e3c5c;
    z-index: 2;
}

.header-cell:first-child .corner-text-bottom {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 14px;
    color: #2e3c5c;
    z-index: 2;
}

.plan-name {
    font-size: 26px;
    font-weight: bold;
    color: #2e3c5c;
    margin-bottom: 8px;
}

.plan-subtitle {
    font-size: 26px;
    color: #2e3c5c;
    font-weight: bold;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    border-bottom: 1px dashed #6c7b8a;
    transition: background-color 0.3s ease;
}

.table-row:hover {
    background-color: #f8f9fa;
}

.table-row:last-child {
    border-bottom: none;
}

.row-cell {
    padding: 20px 15px;
    text-align: center;    
    display: flex;
    align-items: center;
    justify-content: center;
    height: 65px;
}
:dir(rtl).row-cell{
    border-left: 2px dashed #6c7b8a;
}
:dir(ltr).row-cell{
    border-right: 2px dashed #6c7b8a;
}
.table-row:nth-child(even),
.feature-name.odd{
    background-color: #eff6fa;
}

:dir(rtl).row-cell:last-child {
    border-left: none;
}
:dir(ltr).row-cell:last-child {
    border-right: none;
}

.feature-name {
    background: #f8f9fa;
    color: #2e3c5c;
    font-weight: 600;
    font-size: 14px;
    text-align: right !important;
    justify-content: flex-start !important;
}

.feature-text {
    color: #2e3c5c;
    font-size: 14px;
    font-weight: 600;
}

.feature-text.safe {
    color: #28a745;
}

.feature-text.red {
    color: #de8282;
}

.feature-text.advanced {
    color: #6f42c1;
}

/* Responsive Design */
@media(max-width:992px){
.plan-name,
.plan-subtitle{
    font-size: 20px;
}
}
@media (max-width: 768px) {
.comparison-table {
    margin: 10px;
    border-radius: 15px;
    overflow-x: auto;
}

.table-header,
.table-row {
    min-width: 700px;
    grid-template-columns: 170px 125px 125px 125px 125px;
}
.header-cell:first-child::before {
    left: 80px;
}

.header-cell,
.row-cell {
    padding: 15px 8px;
    font-size: 12px;
}

.plan-name {
    font-size: 16px;
}

.plan-subtitle {
    font-size: 11px;
}

.feature-name {
    font-size: 12px;
    text-align: center;
}
.feature-text{
    font-size: 11px;
}
.comparison-table::after {
    
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #9E6F32;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 11px;
    pointer-events: none;
    animation: fadeInOut 2s ease-in-out infinite;
    z-index: 10;
}
:dir(rtl).comparison-table::after{
    content: "← مرر للمزيد";
    left: 10px;
}
:dir(ltr).comparison-table::after{
    content: "Scroll for more ➡️";
    right: 15px;
}
@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.comparison-table.scrolled::after {
    display: none;
}
}



@media (max-width: 480px) {
    .header-cell,
    .row-cell {
        padding: 12px 5px;
        font-size: 11px;
    }
    
    .plan-name {
        font-size: 16px;
    }
    
}



.logos-box{
    display: flex;
    gap: 80px;
    position: relative;
    z-index: 1;
    align-items: center;
}
.logos-box::before{
    position: absolute;
    content: "";
    width: 2px;
    height: 100%;
    background-color: black;
    bottom: 0;
    left: 50%;
    z-index: -1;
}
.logos-box .kaleam-logo img{
    width: 200px;
}
.logos-box .kelk-logo img{
    width: 240px;
}
.logos-box .emshq-logo img{
    width: 180px;
}
@media(max-width:767px){
    .section-title{
        font-size: 24px;
    }
    :dir(ltr).section-title{
    font-size: 20px;
    }
    :dir(ltr).tab{
    font-size: 12px;
    }   
    .logos-box .kaleam-logo img{
        width: 120px;
    }
    .logos-box .kelk-logo img{
        width: 160px;
    }
    .logos-box .emshq-logo img{
        width: 120px;
    }
}
.reason-box{
    max-width: 900px;
    margin-bottom: 30px;
}
h2.title{
    color: var(--secondary-color);
    font-weight: bold;
}
.reason-box .reason-title{
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 30px;
}
.reason-box .reason-description{
    color: var(--secondary-color);
}
.reason-box ul li{
    margin-bottom: 15px;
}
.reason-box .number{
     color: transparent;
    font-size: 105px; 
    -webkit-text-stroke: 1.2px var(--primary-color);
    display: inline-block; 
}

/* start Embroidery_and_engraving page  */
.design-to-production{
    padding-block: 60px;
}
.path{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    margin-bottom: 40px;
}
.path span{
    color: var(--secondary-color);
}
@media(max-width:767px){
    .path span{
        font-size: 14px;
    }
    
}
.title i{
    font-size: 10px;
}
.design-to-production .description{
    color: var(--secondary-color);
    line-height: 1.5;
    margin-bottom: 50px;
}
.video {
    position: relative;
    z-index: 1;
    width: fit-content;
    border-radius: 72px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}
.video::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(33, 43, 64, 1);
    mix-blend-mode: multiply;
    opacity: 66%;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}
.video:hover {
    transform: scale(1.02);
    border-radius: 72px;
}

.video::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(33, 43, 64, 1);
    mix-blend-mode: multiply;
    opacity: 66%;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.video:hover::before {
    opacity: 50%;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video .play-btn {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%);
    background-color: var(--secondary-color);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    border: 4px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.video:hover .play-btn {
    transform: translate(-50%) scale(1.1);
    box-shadow: 0 8px 25px #2E3C5C;
}

.video .play-btn i {
    color: white;
    font-size: 30px;
    margin-left: 5px;
}

/* Modal Styles */

/* Video Card Styles */
.video-card {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px;
    border-radius: 72px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-player-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.thumbnail-box {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.thumbnail-box::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(33, 43, 64, 1);
    mix-blend-mode: multiply;
    opacity: 66%;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.video-card:hover .thumbnail-box::before {
    opacity: 50%;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.03);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--secondary-color);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    border: 4px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(46, 60, 92, 0.5);
}

.play-btn i {
    color: white;
    font-size: 28px;
    margin-left: 5px;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 10px 15px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.video-player-container:hover .video-controls {
    opacity: 1;
}

.control-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    margin: 0 5px;
    transition: all 0.2s ease;
}

.control-btn:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.progress-bar {
    flex-grow: 1;
    height: 6px;
    margin: 0 10px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
}

.progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--secondary-color);
}

.time-display {
    color: white;
    font-size: 14px;
    min-width: 100px;
    text-align: center;
}

.description {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-card {
        border-radius: 40px;
    }
    
    .play-btn {
        width: 60px;
        height: 60px;
    }
    
    .play-btn i {
        font-size: 20px;
    }
    
    .description {
        font-size: 1rem;
    }
}
.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: object-fit 0.3s ease;
}

video:-webkit-full-screen {
    object-fit: contain !important;
    background-color: #000;
}

video:fullscreen {
    object-fit: contain !important;
    background-color: #000;
}
/* start invest-in-kaleam page  */
.invest-in-kaleam{
    padding-block: 50px;
}
.stats-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid rgba(197, 197, 197, 1);
    border-radius: 25px;
    padding: 30px 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.stats-box .right{
    display: flex;
    gap: 10px;
    width: 100%;
    color: var(--secondary-color);
}
.stats-box .right h1{
    color: var(--secondary-color);
}
.invest-in-kaleam .description{
    color: var(--secondary-color);
    line-height: 1.5;
}


svg {
  display: block;
  margin: 0 auto;
}

.ka {
  color: black;
  fill: black;
}

#hidden{
  visibility:hidden;
}

/* Styles for the popup */
.popup {
    display: none;
    position: fixed; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 9999; 
  }
  
  /* Popup content */
  .popup-content {
    background-color: var(--secondary-color);
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%; 
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: fit-content;
  }
  
  /* Close button */
  .close-btn {
    font-size: 24px;
    color: var(--primary-color);
    background-color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  
  .close-btn:hover,
  .close-btn:focus {
    color: black;
    text-decoration: none;
  }
  
  .popup-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
  }
  
  .popup-content p {
    font-size: 18px;
    color: white;
  }
  /* OK button */
.ok-btn {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
  }
  
  .ok-btn:hover,
  .ok-btn:focus {
    background-color: white;
    color: var(--secondary-color);
  }

.contact-form{
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    background-color: #fff;
}
.contact-form form .form-control{
    background-color: #ecf1f4;
}
.contact-form form .form-label{
    color: var(--secondary-color);
}
.contact-form form button{
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 10px;
    border-radius: 12px;
    transition: all 300ms ease-in-out;
}
.contact-form form button:hover{
    color: white !important;
    background-color: var(--secondary-color);
}
.contact-form form button:hover img{
    filter: brightness(0) invert();
    transition: all 300ms ease-in-out;

}
:dir(ltr) form button img{
    transform: scaleX(-1);
}
@media(max-width:767px){
    .contact-form{
        padding: 20px;
    }
    .contact-form form button{
        font-size: 16px;
    }
}
