/* ============================================================
   PRICING SECTION — Mobile-First Responsive CSS
   Restructured to match portfolio-top / portfolio-bottom pattern
   Breakpoints:
     Mobile      : 0 → 480px
     Small Tab   : 481px → 600px
     Medium Tab  : 601px → 768px
     Large Tab   : 769px → 1024px
     Small Desk  : 1025px → 1280px
     Medium Desk : 1281px → 1440px
     Large Desk  : 1441px → 1920px
     XL Screens  : 1921px+
============================================================ */
 
.pricing-section {
    position: relative;
    padding: 0.5rem 0.2rem;
}
 
.pricing-section svg {
    position: absolute;
    right: 0;
    left: 0;
    height: clamp(0.8rem, 2vw, 1.3rem);
    width: 100%;
}
 
.pricing-container {
    margin: 0 auto;
}
 
/* =============================== */
/* Pricing Top                     */
/* =============================== */
 
.pricing-top {
    position: sticky;
    top: var(--header-h, clamp(3rem, 14vw, 4.7rem));
    z-index: 998;
    background: inherit;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    max-width: 1000px !important;
    margin: auto 0.2rem;
    padding: 0.5rem 0.2rem;
    border-radius: 10px;
}
 
/* =============================== */
/* Section Title                   */
/* =============================== */
 
.pricing-section-title {
    display: block;
    font-size: clamp(1.1rem, 4.5vw, 1.6rem);
    font-weight: 700;
    color: var(--helperColor);
    position: relative;
    text-align: center;
    white-space: nowrap;
}
 
/* =============================== */
/* Tabs Row                        */
/* =============================== */
 
.pricing-tabs-row {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}
 
.currency-tabs-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 10px;
    z-index: 2;
    border-radius: 0 clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.5rem) 0;
}
 
.currency-tabs-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 10px;
    z-index: 2;
    border-radius: clamp(1rem, 3vw, 1.5rem) 0 0 clamp(1rem, 3vw, 1.5rem);
}
 
.currency-tabs-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
}
 
.currency-tabs-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border: 2px solid;
    border-radius: 10px;
    padding: 0.2rem 0;
}
 
.currency-tabs-viewport::-webkit-scrollbar { display: none; }
 
.currency-tabs-track {
    display: flex;
    gap: 0.5rem;
    cursor: grab;
    padding: 0.1rem 0.2rem;
}
 
.currency-tabs-track.grabbing { cursor: grabbing; }
 
/* =============================== */
/* Arrow Buttons                   */
/* =============================== */
 
.currency-tab-arrow {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    transition: all 0.3s;
    z-index: 2;
    box-shadow: 0 clamp(0.15em, 0.5vw, 0.25em)
                clamp(0.4em, 1.5vw, 0.8em)
                rgba(0, 0, 0, 0.15);
}
 
/* =============================== */
/* Currency Buttons                */
/* =============================== */
 
.currency-btn {
    flex-shrink: 0;
    padding: 0.1rem 0.3rem;
    border-radius: 1.5rem;
    border-width: 1px;
    border-style: solid;
    font-family: 'Cairo', sans-serif;
    font-size: clamp(0.78rem, 2.5vw, 0.95rem);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s;
    background: transparent;
}
 
/* =============================== */
/* Pricing Bottom                  */
/* =============================== */
 


 
.pricing-page-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
 
/* =============================== */
/* Pricing Card                    */
/* =============================== */
 
.pricing-card {
    border-radius: clamp(0.8rem, 3vw, 1.3rem);
    padding: 1rem;
    width: 90%;
    text-align: center;
    box-shadow: 0 clamp(0.4em, 1.5vw, 0.7em) clamp(1em, 3vw, 2rem) rgba(0, 0, 0, 0.08);
    border-width: clamp(0.05rem, 0.15vw, 0.08rem);
    border-style: solid;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}
 
.pricing-card:hover {
    box-shadow: 0 clamp(0.6em, 2vw, 1em) clamp(1.5em, 4vw, 2.5rem) rgba(0, 0, 0, 0.13);
}
 
.pricing-card h3 {
    display: inline-block;
    font-weight: 700;
    color: var(--helperColor);
    position: relative;
    font-size: clamp(1.1rem, 4vw, 1.4rem);
}
 
.pricing-card h3::after {
    content: "";
    position: absolute;
    width: 80%;
    height: 3px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.3em;
    border-radius: 25px;
    background-image: linear-gradient(
        90deg,
        var(--lightHelper) 0%,
        var(--lightHelper) 100%
    );
}
 
/* =============================== */
/* Price Display                   */
/* =============================== */
 
.pricing-price {
    font-size: 1rem;
    font-weight: bold;
    margin-top: clamp(0.5rem, 2vw, 1.3rem);
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: clamp(0.2em, 0.8vw, 0.4em);
}
 
.currency-symbol {
    font-size: 1rem;
    font-weight: bold;
}
 
.price-inline {
    display: inline-flex;
    align-items: baseline;
    gap: 0.2em;
    font-weight: bold;
    line-height: 1.6;
    vertical-align: baseline;
}
 
.price-inline .price-inline__currency {
    font-size: 0.95em;
    font-weight: normal;
}
 
/* =============================== */
/* Features List                   */
/* =============================== */
 
.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: clamp(1.2rem, 4vw, 2rem);
    flex-grow: 1;
}
 
.pricing-features li {
    padding: clamp(0.4em, 1.5vw, 0.7em) 0;
    border-bottom-width: 0.1rem;
    border-bottom-style: dashed;
    font-size: clamp(0.9rem, 3vw, 1rem);
}
 
/* =============================== */
/* CTA Buttons                     */
/* =============================== */
 
.pricing-btn {
    display: inline-block;
    padding: clamp(0.5em, 1.8vw, 0.75em) clamp(1em, 3.5vw, 1.8em);
    text-decoration: none;
    border-radius: clamp(1rem, 3vw, 1.5rem);
    font-weight: bold;
    font-size: clamp(0.85rem, 3vw, 1rem);
}
 
.pricing-btn-info {
    display: inline-block;
    padding: 0.2rem;
    text-decoration: none;
    border-radius: clamp(1rem, 3vw, 1.5rem);
    border: solid 2px;
    font-weight: bold;
    font-size: clamp(0.85rem, 3vw, 1rem);
    margin-top: clamp(0.7rem, 0.4vw, 0.3rem);
}
 
/* =============================== */
/* Package Holder                  */
/* =============================== */
 
.packageHolder {
    width: 100%;
    margin: 0 auto;
}
 
.package {
    border-radius: clamp(0.8rem, 2.5vw, 1rem);
    margin: 0 clamp(0.3rem, 1vw, 0.6rem);
    box-shadow: 0 clamp(0.15em, 0.5vw, 0.3em) clamp(0.3em, 1vw, 0.5em) rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}
 
.packageHeading {
    border-radius: clamp(0.8rem, 2.5vw, 1rem) clamp(0.8rem, 2.5vw, 1rem) 0 0;
    padding: clamp(0.8em, 2.5vw, 1.2em) 0 clamp(0.2em, 0.8vw, 0.4em);
    margin-bottom: clamp(0.6rem, 2vw, 1rem);
}
 
.packageHeading .title {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
    font-weight: 600;
    padding: 0 clamp(0.6em, 2vw, 1em);
    margin-bottom: clamp(0.4em, 1.2vw, 0.7em);
}
 
.packageHeading .desc {
    padding: 0 clamp(0.6em, 2vw, 1em);
    font-size: clamp(0.78rem, 2.5vw, 0.92rem);
}
 
.package .priceHolder {
    padding: clamp(0.7em, 2.5vw, 1.2em) clamp(0.8em, 2.5vw, 1em);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 clamp(-0.4rem, -1vw, -0.3rem) clamp(0.2rem, 0.5vw, 0.3rem);
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: clamp(0.3rem, 0.8vw, 0.4rem) clamp(0.3rem, 0.8vw, 0.4rem) 0 0;
}
 
.package .priceHolder::before,
.package .priceHolder::after {
    content: '';
    bottom: clamp(-0.25rem, -0.5vw, -0.2rem);
    width: clamp(0.4rem, 1vw, 0.6rem);
    height: clamp(0.2rem, 0.5vw, 0.3rem);
    position: absolute;
    z-index: 0;
}
 
.package .priceHolder::before {
    left: 0;
    clip-path: polygon(0 0, 100% 100%, 100% 0);
}
 
.package .priceHolder::after {
    right: 0;
    clip-path: polygon(0 0, 0 100%, 100% 0);
}
 
.package .salePrice {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
}
 
.package .period {
    font-size: clamp(0.7rem, 2vw, 0.82rem);
}
 
.packageFeatures {
    padding: 0 clamp(0.8em, 2.5vw, 1.2em);
    margin-bottom: clamp(0.6rem, 2vw, 1rem);
    list-style: none;
    text-align: start;
    flex-grow: 1;
}
 
.packageFeatures .feature {
    padding: clamp(0.4em, 1.5vw, 0.65em) 0;
    border-bottom-width: clamp(0.05rem, 0.15vw, 0.08rem);
    border-bottom-style: dashed;
    list-style: none;
    font-weight: 500;
}
 
.packageFeatures .feature:last-of-type {
    border-bottom: 0;
}
 
.package .subscribe {
    display: block;
    text-align: center;
    padding: clamp(0.5em, 1.8vw, 0.7em) clamp(0.8em, 2.5vw, 1em);
    border-radius: 0 0 clamp(0.8rem, 2.5vw, 1rem) clamp(0.8rem, 2.5vw, 1rem);
    font-weight: 500;
    font-size: clamp(0.85rem, 2.5vw, 0.98rem);
    text-decoration: none;
}
 
/* =============================== */

 
@media (min-width: 601px) {
    .pricing-page-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
 
    .pricing-card {
      width: 85%;
    }
 
  
 
    .currency-btn {
        font-size: clamp(0.8rem, 2vw, 0.95rem);
    }
 
    .packageHolder {
        width: calc(50% - clamp(0.3rem, 1vw, 0.5rem));
    }
}
 
/* =============================== */
/* Large Tablet  769px → 1024px    */
/* =============================== */
 
@media (min-width: 769px) {
    
 
    .pricing-bottom .pricing-container {
        padding: 0 clamp(1em, 3vw, 2em);
    }
 
   .pricing-card {
        width: calc(50% - 0.6rem);
        max-width: calc(50% - 0.6rem);
        width: 85%;
    }

    .packageHolder {
        width: clamp(14rem, 30vw, 20rem);
    }
}
 

 
@media (min-width: 1025px) {
    .pricing-bottom .pricing-container {
        padding: 1rem 1.5em;
    }
 
    .pricing-section-title {
      
        text-align: center;
    }
 
    .pricing-page-grid {
        justify-content: center;
    }
 
   
    .pricing-card {
        width: calc(50% - clamp(0.5rem, 2vw, 0.9rem));
        max-width: calc(50% - clamp(0.5rem, 2vw, 0.9rem));
    }
 
    .pricing-grid {
        flex-wrap: nowrap;
    }
 
    .packageHolder {
        width: 33.33%;
    }
 
    .currency-btn {
        font-size: clamp(0.85rem, 1vw, 1rem);
    }
 
    .pricing-top {
        margin: auto;
    }
}
 
/* =============================== */
/* Medium Desktop  1281px → 1440px */
/* =============================== */
 

 
/* =============================== */
/* Large Desktop  1441px → 1920px  */
/* =============================== */
 
@media (min-width: 1441px) {
    .pricing-bottom .pricing-container {
        max-width: clamp(70rem, 88vw, 90rem);
        padding: 3rem 2em;
    }
 
    
}
 
/* =============================== */
/* Extra Large  1921px+            */
/* =============================== */
 
@media (min-width: 1921px) {
 
 
    .pricing-card h3 {
        font-size: clamp(1.4rem, 1.2vw, 1.7rem);
    }
}
 
/* =============================== */
/* .white-pricing                  */
/* =============================== */
 
.white-pricing .pricing-section-title {
    color: var(--lightHelper);
}
 
.white-pricing .pricing-section-title::after {
    background-image: linear-gradient(90deg, var(--lightHelper) 0%, var(--lightHelper) 100%);
}
 
.white-pricing .pricing-top {
    background-color: var(--white);
}
 
.white-pricing .currency-tabs-viewport {
    border-color: var(--lightHelper);
}
 
.white-pricing .currency-tab-arrow {
    background: var(--lightHelper);
    color: var(--white);
    border: none;
}
 
.white-pricing .currency-btn {
    color: var(--lightHelper);
    border-color: var(--lightHelper);
    background: var(--white);
}
 
.white-pricing .currency-btn:hover {
    background-color: var(--white);
    color: var(--lightHelper);
}
 
.white-pricing .currency-btn.active {
    background-color: var(--lightHelper);
    color: var(--white);
    border-color: var(--lightHelper);
    box-shadow: 0 clamp(0.2em, 0.8vw, 0.4em) clamp(0.5em, 1.5vw, 0.8em) rgba(2, 117, 216, 0.3);
}
 
.white-pricing .pricing-card {
    background: var(--lightHelper);
    border-color: var(--lightHelper);
}
 
.white-pricing .pricing-card h3 {
    color: var(--white);
}
 
.white-pricing .pricing-card h3::after {
    background: var(--white);
}
 
.white-pricing .pricing-price {
    color: var(--white);
}
 
.white-pricing .currency-symbol {
    color: var(--white);
}
 
.white-pricing .pricing-features li {
    border-bottom-color: var(--white);
    color: var(--white);
}
 
.white-pricing .pricing-btn {
    background-color: var(--white);
    color: var(--lightHelper);
}
 
.white-pricing .pricing-btn:hover {
    background-color: var(--lightHelper);
}
 
.white-pricing .pricing-btn-info {
    background-color: var(--lightHelper);
    color: var(--white);
}
 
.white-pricing .package {
    background-color: #F8F5FF;
}
 
.white-pricing .packageHeading {
    background-color: var(--primaryColor);
    color: var(--helperColor);
}
 
.white-pricing .package .priceHolder {
    background-color: var(--helperColor);
    color: var(--white);
}
 
.white-pricing .package .priceHolder::before,
.white-pricing .package .priceHolder::after {
    background-color: var(--helperColor);
}
 
.white-pricing .package .mainPrice {
    color: var(--white);
}
 
.white-pricing .package .period {
    color: var(--primaryColor);
}
 
.white-pricing .packageFeatures .feature {
    border-bottom-color: var(--lightHelper);
    color: var(--helperColor);
}
 
.white-pricing .package .subscribe {
    background-color: var(--lightHelper);
    color: var(--white);
}
 
.white-pricing .currency-tabs-wrapper::before {
    background: linear-gradient(to left, rgba(82, 80, 80, 0.3) 0%, transparent 100%);
}
 
.white-pricing .currency-tabs-wrapper::after {
    background: linear-gradient(to right, rgba(82, 80, 80, 0.3) 0%, transparent 100%);
}
 
/* =============================== */
/* .blue-pricing                   */
/* =============================== */
 
.blue-pricing {
    background-color: var(--lightHelper);
    color: var(--lightHelper);
}
 
.blue-pricing .pricing-section-title {
    color: var(--lightHelper);
}
 
.blue-pricing .pricing-section-title::after {
    background-image: linear-gradient(90deg, var(--white) 0%, var(--white) 100%);
}
 
.blue-pricing .pricing-top {
    background-color: var(--white);
    box-shadow: 0 clamp(0.15em, 0.5vw, 0.3em) clamp(0.5em, 1.5vw, 0.8em) rgba(0, 0, 0, 0.15);
}
 
.blue-pricing .currency-tabs-viewport {
    border-color: var(--lightHelper);
}
 
.blue-pricing .currency-tab-arrow {
    background: var(--lightHelper);
    color: var(--white);
    border: 2px solid var(--white);
}
 
.blue-pricing .currency-btn {
    color: var(--lightHelper);
    border: 2px solid var(--lightHelper);
}
 
.blue-pricing .currency-btn:hover:not(.active) {
    background-color: rgba(0, 0, 0, 0.05);
}
 
.blue-pricing .currency-btn.active {
    background-color: var(--lightHelper);
    color: var(--white);
    border-color: var(--lightHelper);
    box-shadow: 0 clamp(0.2em, 0.8vw, 0.4em) clamp(0.5em, 1.5vw, 0.8em) rgba(0, 0, 0, 0.2);
}
 
.blue-pricing .pricing-card {
    border-color: var(--white);
    background-color: var(--white);
}
 
.blue-pricing .pricing-card h3 {
    color: var(--lightHelper);
}
 
.blue-pricing .pricing-price {
    color: var(--lightHelper);
}
 
.blue-pricing .currency-symbol {
    color: var(--lightHelper);
}
 
.blue-pricing .pricing-features li {
    border-bottom-color: var(--helperColor);
    color: var(--lightHelper);
}
 
.blue-pricing .pricing-btn {
    background-color: var(--lightHelper);
    color: var(--white);
}
 
.blue-pricing .pricing-btn-info {
    background-color: var(--white);
    color: var(--lightHelper);
}
 
.blue-pricing .package {
    background-color: rgba(255, 255, 255, 0.1);
}
 
.blue-pricing .packageHeading {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}
 
.blue-pricing .package .priceHolder {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}
 
.blue-pricing .package .priceHolder::before,
.blue-pricing .package .priceHolder::after {
    background-color: rgba(255, 255, 255, 0.15);
}
 
.blue-pricing .package .mainPrice {
    color: var(--white);
}
 
.blue-pricing .package .period {
    color: rgba(255, 255, 255, 0.75);
}
 
.blue-pricing .packageFeatures .feature {
    border-bottom-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}
 
.blue-pricing .package .subscribe {
    background-color: var(--white);
    color: var(--lightHelper);
}
 
.blue-pricing .currency-tabs-wrapper::before {
    background: linear-gradient(to left, rgba(82, 80, 80, 0.3) 0%, transparent 100%);
}
 
.blue-pricing .currency-tabs-wrapper::after {
    background: linear-gradient(to right, rgba(82, 80, 80, 0.3) 0%, transparent 100%);
}