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 {
    position: absolute;
    width: 100%;
    z-index: 111;
    padding-top: 35px;
    transition: all 0.3s ease;
    background: transparent;
}

.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 {
    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);
    }

    .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;
}


/* start hero section  */
.hero{
    min-height: 100vh;
    background: linear-gradient(180deg, #2E3C5C 0%, #131721 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
}
.hero-logo{
    max-width: 200px;
    overflow: hidden;
    margin-bottom: 30px;
}
.hero-title{
    color: white;
    margin-bottom: 30px;
}
.hero-description{
    color: var(--primary-color);
}
.hero-btn{
    background: linear-gradient(90deg, #CA9754 0%, #9E6F32 100%);
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    transition: all 300ms ease-in-out;
}
.hero-btn:hover{
    background: white;
    color: var(--primary-color);
    transform: scale(1.05);
}

@media(max-width:767px){
    .hero{
        padding-top: 120px;
    }
    .hero-title{
        font-size: 20px;
    }
    .hero-description{
        font-size: 14px;
    }
    .hero-logo{
        width: 140px;
    }
    #salam{
        padding-left: 62px;
    }
}
 

#salam {
    width: 100%;
    height: 100%;
    fill: #374462;
}

.salaam-group {
    transform-origin: center;
    transform-box: fill-box;
}

.meem-letter {
    transform-origin: center;
    transform-box: fill-box;
    transform: translateX(-20px);
}

.echo {
    opacity: 0.1;
    transform-origin: center center;
    transform-box: fill-box;      
    will-change: transform, opacity; 
}

.main-letter {
    transform-origin: center center;
    transform-box: fill-box;     
    will-change: transform;       
}
.echo, .main-letter {
  transform-origin: left center;
}
.full-size-group {
  width: 100%;
  height: 100%;
  transform-origin: center;
  transform-box: fill-box;
}
.full-size-group > path:first-child {
  width: 100%;
  height: 100%;
  vector-effect: non-scaling-stroke;
}

/* start why kalim  */
.why-kalim{
    padding-block: 50px;
    background-color: rgba(236, 241, 244, 1);
}
.why-kalim .section-title span{
    font-size: 14px;
    color: var(--secondary-color);
}
.why-kalim .section-title .title{
    font-weight: bold;
    color: var(--secondary-color);
    margin-block: 15px;
}
.why-kalim .section-title ul li {
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.why-kalim .section-title ul li img{
    width: 20px;
}
.why-kalim .mwada-box{
    padding: 35px;
    border-radius: 30px;
    background-color: #fff;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
}
.why-kalim .mwada-box::before{
    position: absolute;
    content: "";
    width: 300px;
    height: 200px;
    background-color: transparent;
    border-bottom-right-radius: 35px;
    border-right: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    bottom: -20px;
    right: -20px;
    z-index: -1;
}
.why-kalim .video-box video{
    border-radius: 25px;
    overflow: hidden;
    border: 5px solid var(--secondary-color);
}
.why-kalim .mwada-box img{
    width: 100%;
    border-radius: 30px;
}
.why-kalim .feature-box{
    position: relative;
    z-index: 111;
}
.why-kalim .feature-box .title{
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 15px;
}   
.why-kalim .feature-box .description{
    color: var(--secondary-color);
    max-width: 330px;
}
@media(max-width:767px){
    .why-kalim .section-title ul li{
        font-size: 14px;
    }
    .why-kalim .feature-box .title{
        font-size: 20px;
    }
    .why-kalim .feature-box .description{
        font-size: 14px;
    }
}
.cta .text h3{
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 15px;
}
.cta .text ul li a{
    color: var(--secondary-color);

}
.cta .text ul li::marker{
    color: var(--primary-color);
}
.start-btn{
    color: white;
    background-color: var(--secondary-color);
    padding: 10px 15px;
    border-radius: 8px;
}
@media(max-width:767px){
    .cta .text ul li a{
        font-size: 14px;
    }
    .cta .start-btn{
        font-size: 16px;
    }
}


/* start testimonials section  */
.testimonials{
    padding-block: 50px;
}
.testimonials .title{
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 50px;
    text-align: center;
}
.testimonials .box{
    background-color: rgba(236, 241, 244, 1);
    padding: 20px;
    border-radius: 25px;
    max-width: 800px;
    margin: auto;
}
.testimonials .box .info .profile{
    max-width: 80px;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
}
.testimonials .box .info .profile img{
    width: 100%;
}
.testimonials .box .info .name{
    color: var(--secondary-color);
    font-weight: bold;
}
.testimonials .box .info .user-name{
    color: var(--primary-color);
    font-weight: bold;
}
.testimonials .box .text{
    color: var(--secondary-color);
    line-height: 1.7;
}

@media(max-width:767px){
    .testimonials .box .info .profile{
        max-width: 70px;
    }
    .testimonials .box .text{
        font-size: 14px;
    }
}



/* start pricing section  */
.pricing{
    padding-block: 80px;
    background-color: #ecf1f4;
}
.pricing .title {
    text-align: center;
    font-weight: bold;
    color: #2e3c5c;
    margin-bottom: 30px;
}

.featured-plan {
    border: 2px solid #2e3c5c;
    border-radius: 25px;
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    display: grid;
    grid-template-columns: auto 2px auto auto;
    align-items: center;
    gap: 25px;
    background: white;
}
.featured-right{
    text-align: center;
}
.featured-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
}
.featured-left::before{
    position: absolute;
    content: "";
    width: 2px;
    height: 171px;
    background: repeating-linear-gradient(
        to bottom,
        #ccc 0px,
        #ccc 5px,
        transparent 5px,
        transparent 10px
    );
    
}
:dir(ltr).featured-left::before{
    left: 0;
}
:dir(rtl).featured-left::before{
    right: 0;
}

.back-arrow {
    color: #ce9c5b;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
}

.divider {
    width: 2px;
    height: 137%;
    background: repeating-linear-gradient(
        to bottom,
        #ccc 0px,
        #ccc 5px,
        transparent 5px,
        transparent 10px
    );
}

.featured-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
    color: #666;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.featured-title {
    font-size: 18px;
    color: #ce9c5b;
    margin-bottom: 10px;
    font-weight: bold;
}

.featured-price {
    font-size: 36px;
    font-weight: bold;
    color: #2e3c5c;
    margin-bottom: 8px;
}

.featured-duration {
    color: #999;
    font-size: 16px;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    gap: 0;
}

.tab {
    padding: 12px 24px;
    border: 2px solid #ddd;
    background: white;
    cursor: pointer;
    font-size: 16px;
    color: #999;
    font-weight: 500;
    border-right: 1px solid #ddd;
}

:dir(rtl).tab:first-child {
    border-radius: 0px 8px 8px 0px;
    border-left: 2px solid #ce9c5b;
}
:dir(ltr).tab:first-child {
    border-radius: 8px 0px 0px 8px;
    border-right: none
}

:dir(rtl).tab:last-child {
    border-radius: 8px 0px 0px 8px;
    border-right: none;
}
:dir(ltr).tab:last-child{
    border-radius: 0px 8px 8px 0px;
    border-left: 2px solid #ce9c5b;
} 
.tab.active {
    background: white;
    color: #ce9c5b;
    border-color: #ce9c5b;
    border-width: 2px;
}

.pricing-grid {
    background-color: #fff;
    border: 2px solid #2e3c5c;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    border-collapse:separate;
    position: relative;
    z-index: 1;
}

.pricing-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: #f8f9fa;
}
.description-name{
    color: #2e3c5c;
    font-size: 26px;
    font-weight: 700;
}
.pricing-header > div {
    padding: 20px;
    text-align: center;
    border-left: 2px dotted #e0e0e0;
}

.pricing-header > div:last-child {
    border-left: none;
}

.plan-name {
    font-weight: bold;
    font-size: 22px;
    color: rgba(199, 131, 41, 1);
    margin-bottom: 10px;
}

.plan-price {
    font-size: 24px;
    font-weight: bold;
    color: #2e3c5c;
    margin-bottom: 5px;
}

.plan-period {
    color: #999;
    font-size: 14px;
}

.feature-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-top: 2px dotted #e0e0e0;
}

.feature-row > div {
    padding: 15px;
    text-align: center;
    border-left: 2px dotted #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-row > div:last-child {
    border-left: none;
}

.feature-name {
    font-size: 16px;
    color: #2e3c5c;
    display: flex;
    justify-content: flex-start !important;
}

.feature-value {
    font-size: 18px;
    color: #2e3c5c;
    font-weight: 600;
}
.feature-value span{
    color: rgba(148, 161, 192, 1);
    font-size: 10px;    
    font-weight: lighter;
}
:dir(rtl).feature-value span{
    margin-right: 5px;
}
:dir(ltr).feature-value span{
    margin-left: 5px;
}
.check {
    color: #4CAF50;
    font-size: 18px;
}

.cross {
    color: #ff4444;
    font-size: 18px;
}

.subscribe-buttons {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-top: 2px dotted #e0e0e0;
}

.subscribe-buttons > div {
    text-align: center;
    border-top: 2px solid #ce9c5b;
    padding: 20px 10px;
    position: relative;
    z-index: 2;
}
:dir(rtl).subscribe-buttons > div{
    border-left: 2px solid #ce9c5b;
}
:dir(ltr).subscribe-buttons > div{
    border-right: 2px solid #ce9c5b;
}
.subscribe-buttons > div:last-child {
    border-bottom-left-radius: 6px;
}
.subscribe-buttons > div:first-child {
    border-bottom-left-radius: 6px;
    border-top :none;
}

.subscribe-btn {
    border: none;
    color: #ce9c5b;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 44px;
    white-space: nowrap;
    font-family: 'Loew', Courier, monospace;

}
.subscribe-btn:hover,
.featured-left a,
.featured-left a:hover{
    color: var(--primary-color);
    text-decoration: none;
}
.trial-btn {
    color: #ce9c5b;
    font-size: 20px;
    font-weight: bold;
}

.corporate-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.corporate-title {
    font-size: 32px;
    font-weight: bold;
    color: #2e3c5c;
    margin-bottom: 10px;
}

.corporate-subtitle {
    color: #2e3c5c;
    font-size: 20px;
}

.corporate-email {
    text-decoration: none;
    color: #2e3c5c;
    font-weight: bold;
}
.corporate-email:hover{
    color: #9E6F32;
}
.info-icon {
    color: #2e3c5c;
    margin-right: 5px;
    font-size: 15px;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #2e3c5c;
}
:dir(ltr).info-icon{
    margin-left: 5px;
}
/* Mobile Responsive Styles */
@media (max-width: 768px) {

    .pricing-grid .title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    /* Featured plan mobile layout */
    .featured-plan {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .featured-left {
        justify-content: center;
        order: 3;
        padding-block: 25px;
    }

    .divider {
        display: none;
    }
    .featured-left::before{
        display: none;
    }
    .featured-features {
        order: 2;
        align-items: center;
        padding-block: 20px;
        border-bottom: 1px dashed #e0e0e0;
    }

    .featured-right {
        order: 1;
        padding-block: 20px;
        border-bottom: 1px dashed #e0e0e0;
    }

    .featured-price {
        font-size: 28px;
    }

    .featured-title {
        font-size: 16px;
    }

    /* Tabs mobile */
    .tabs {
        margin-bottom: 30px;
    }

    .tab {
        padding: 10px 20px;
        font-size: 14px;
    }

    .pricing-grid {
        border-radius: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-header {
        min-width: 600px;
    }
    .description-name{
        font-size: 18px;
    }
    .pricing-header > div {
        padding: 15px 10px;
        min-width: 120px; 
    }

    .pricing-header > div:first-child {
        min-width: 180px; 
    }

    .plan-name {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .plan-price {
        font-size: 18px;
    }

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

    /* Feature rows mobile */
    .feature-row {
        min-width: 600px; 
    }

    .feature-row > div {
        padding: 12px 10px;
        min-width: 120px;
    }

    .feature-row > div:first-child {
        min-width: 180px;
    }

    .feature-name {
        font-size: 12px;
        padding: 12px 15px;
    }

    .feature-value {
        font-size: 12px;
    }

    /* Subscribe buttons mobile */
    .subscribe-buttons {
        min-width: 600px; 
    }

    .subscribe-buttons > div {
        padding: 15px 5px;
        min-width: 120px;
    }

    .subscribe-buttons > div:first-child {
        min-width: 180px;
    }

    .subscribe-btn {
        padding: 10px 16px;
        font-size: 11px;
        min-height: 40px; 
        white-space: nowrap;
        border-radius: 20px;
    }

    /* Corporate section mobile */
    .corporate-title {
        font-size: 16px;
    }

    .corporate-subtitle {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Scroll hint for mobile users */
    .pricing-grid::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).pricing-grid::after{
        content: "← مرر للمزيد";
        left: 10px;
    }
    :dir(ltr).pricing-grid::after{
        content: "Scroll for more ➡️";
        right: 10px;
    }
    @keyframes fadeInOut {
        0%, 100% { opacity: 0; }
        50% { opacity: 1; }
    }

    .pricing-grid.scrolled::after {
        display: none;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .pricing-grid .title {
        font-size: 18px;
    }

    .featured-plan {
        padding: 15px;
    }

    .featured-price {
        font-size: 24px;
    }

    .featured-features {
        font-size: 14px;
    }

    .feature-item {
        gap: 8px;
    }

    .tab {
        padding: 8px 16px;
        font-size: 13px;
    }

    .pricing-header > div,
    .feature-row > div {
        padding: 10px;
    }

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

    .plan-price {
        font-size: 18px;
    }

    .feature-name {
        font-size: 12px;
    }

    .feature-value {
        font-size: 12px;
    }

    .subscribe-btn {
        font-size: 12px;
        padding: 10px 8px;
        border-radius: 18px;
    }

    .corporate-title {
        font-size: 14px;
    }

    .corporate-subtitle {
        font-size: 12px;
    }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
    }

    .featured-plan {
        gap: 20px;
    }

    .pricing-header > div,
    .feature-row > div
    {
        padding: 18px 10px;
    }

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

    .plan-price {
        font-size: 22px;
    }

    .feature-name,
    .feature-value {
        font-size: 13px;
    }

    .subscribe-btn {
        font-size: 13px;
        padding: 10px 20px;
    }
}






svg      {
display: block; 
  margin: auto;
  text-align: center;
  width: 100%;
  fill: #374462;
}

#hidden{
  visibility:hidden;
}



/* start contatc us section  */
.contact-us{
    padding-block: 50px;
    position: relative;
    z-index: 1;
}
.contact-us::before{
    content: "";
    position: absolute;
    background-color: #ecf1f4;
    width: 100%;
    height: 40%;
    bottom: 0;
    left: 0;
    z-index: -1;
}
.contact-us::after{
    content: "";
    position: absolute;
    background-image: url('../assets/kalim.png');
    background-size: cover;
    width: 944px;
    height: 747px;
    opacity: 0.51;
    bottom: 0;
    right: 0;
    z-index: -1;
}
.contact-us .contact-box{
    padding: 20px;
    margin-bottom: 25px;
    max-width: 500px;
}
.contact-us .contact-box .title{
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 15px;
}
.contact-us .contact-box .sub-title{
    color: var(--primary-color);
    margin-bottom: 15px;
}
.contact-us .contact-box .description{
    color: var(--secondary-color);
    line-height: 2;
}
.contact-us .contact-form{
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    background-color: #fff;
}
.contact-us form .form-control{
    background-color: #ecf1f4;
}
.contact-us form .form-label{
    color: var(--secondary-color);
}
.contact-us form button{
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 10px;
    border-radius: 12px;
    transition: all 300ms ease-in-out;
}
.contact-us form button:hover{
    color: white;
    background-color: var(--secondary-color);
}
.contact-us form button:hover img{
    filter: brightness(0) invert();
    transition: all 300ms ease-in-out;

}
:dir(ltr).contact-us form button img{
    transform: scaleX(-1);
}
@media(max-width:767px){
    .contact-us .contact-box .description,
    .contact-us .contact-box .sub-title,
    .contact-us form .form-label{
        font-size: 14px;
    }
    .contact-us .contact-form{
        padding: 20px;
    }
    .contact-us form button{
        font-size: 16px;
    }
}


/* 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);
  }


/* 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: var(--teal);
    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);
}
.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;
}
.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;
    }
    
    footer .kalim-logo {
        height: 6rem;
    }

}

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



