.glass {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;

    box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.15),
            inset 0 1px 1px rgba(255, 255, 255, 0.2);

    color: inherit;
}
:root {
    --cyan: #00D4D8;
    --cyan-dark: #00A8AB;
    --gold: #C9A84C;
    --silver: #A0A0B0;
    --bronze: #CD7F32;
    --bg-dark: #0E0F13;
    --bg-card: #16181F;
    --bg-card2: #1C1E28;
    --border: rgba(255,255,255,0.07);
    --text: #E8E9EF;
    --muted: #7A7D8F;
    --white: #fff;
}
.picfooter{
border-radius: 20px!important;

.width{
    width: 90% !important;

}

}
* { margin: 0; padding: 0; box-sizing: border-box;  }
html { scroll-behavior: smooth; }
body {
    font-family: 'Vazirmatn', sans-serif;
    background: #0a0b0f;
    color: var(--text);
    direction: rtl;
    overflow-x: hidden;
    ;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--cyan-dark); border-radius: 3px; }

/* ══════════════════════════════════
   NAVBAR
══════════════════════════════════ */
nav {
    position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    height: 70px;
    background: rgba(14,15,19,0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav-logo {
    font-size: 1.5rem; font-weight: 900;





        color: white;
        animation: colorChange 3s ease-in-out infinite;



    @keyframes colorChange {
        0% {
            color: white;
        }

        50% {
            color: #00d5d9; /* آبی */
        }

        100% {
            color: white;
        }
    }
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    font-size: .92rem; font-weight: 500; color: var(--muted);
    transition: color .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
.btn-nav {
    background: var(--cyan);
    color: var(--bg-dark);
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 700; font-size: .9rem;
    border: none; border-radius: 50px;
    padding: .55rem 1.5rem; cursor: pointer;
    transition: background .2s, transform .2s;
}
.btn-nav:hover { background: var(--cyan-dark); transform: scale(1.04); }
nav form { display: flex; align-items: center; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */

.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding-top: 70px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 216, .12) 0%, transparent 50%), linear-gradient(to left, rgba(14, 15, 19, .95) 35%, rgba(14, 15, 19, .6) 100%), url(../picturess/pic1.jpg) center / cover no-repeat;
}
.vivalogo{

    width: 53px;

    border-radius: 55px;
}
.hero-bg::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 160px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 600px; padding: 0 5%;
}
.hero-tag {
    display: inline-block;
    background: rgba(0,212,216,.15);
    border: 1px solid rgba(0,212,216,.3);
    color: var(--cyan); font-size: .8rem; font-weight: 600;
    border-radius: 50px; padding: .3rem 1rem; margin-bottom: 1.5rem;
    letter-spacing: .05em;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900; line-height: 1.2;
    margin-bottom: 1.2rem;
}
.hero-title span { color: var(--cyan); }
.hero-desc { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 2rem; max-width: 480px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
    background: var(--cyan); color: var(--bg-dark);
    font-family: 'Vazirmatn', sans-serif; font-weight: 700;
    border: none; border-radius: 50px; padding: .8rem 2rem;
    font-size: .95rem; cursor: pointer; transition: .25s;
}
.btn-primary:hover { background: var(--cyan-dark); transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.25);
    color: var(--text); font-family: 'Vazirmatn', sans-serif;
    font-weight: 600; border-radius: 50px;
    padding: .8rem 2rem; font-size: .95rem;
    cursor: pointer; transition: .25s;
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.hero-stats {
    position: relative; z-index: 2;
    display: flex; gap: 2.5rem; padding: 2rem 5%;
    background: linear-gradient(to top, var(--bg-dark) 70%, transparent);
}
.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--cyan); }
.stat-lbl { font-size: .78rem; color: var(--muted); margin-top: .2rem; }

/* ══════════════════════════════════
   SECTION SHARED
══════════════════════════════════ */
section { padding: 80px 5%; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-tag {
    display: inline-block;
    background: rgba(0,212,216,.12);
    border: 1px solid rgba(0,212,216,.25);
    color: var(--cyan); font-size: .75rem; font-weight: 700;
    border-radius: 50px; padding: .25rem .9rem; margin-bottom: .8rem;
    letter-spacing: .08em; text-transform: uppercase;
}
.section-title { font-size: 1.9rem; font-weight: 800; position: relative}
.section-title span { color: var(--cyan); }
.section-sub { color: var(--muted); font-size: .9rem; margin-top: .5rem; line-height: 1.7; }

/* ══════════════════════════════════
   FILTER TABS
══════════════════════════════════ */
.filter-tabs { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.tab {
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--muted); font-family: 'Vazirmatn', sans-serif;
    font-size: .82rem; font-weight: 600; border-radius: 50px;
    padding: .4rem 1.1rem; cursor: pointer; transition: .2s;
}
.tab.active, .tab:hover {
    background: var(--cyan); border-color: var(--cyan);
    color: var(--bg-dark);
}
.h1viva {
    color: white;
    animation: colorChange 3s ease-in-out infinite;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900; line-height: 1.2;
    margin-bottom: 1.2rem;
    margin-right: 15px;
}

@keyframes colorChange {
    0% {
        color: white;
    }

    50% {
        color: #00d5d9; /* آبی */
    }

    100% {
        color: white;
    }
}
.mainLogoviva{


    z-index: 10;
    border-radius: 390px 390px 390px 390px;
    width: 30%;
    margin-left: 272px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}
.classesColor{
    background-color: #0d0e13;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);

    justify-content: center;
    display: grid;
    align-items: center;
    width: 80%;
    margin: 20px auto 20px auto;
}
.classesColordore{
    background-color: #0d0e13;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);

    justify-content: center;
    display: grid;
    align-items: center;
    width: 66%;
padding-top: 0px;
    margin: 20px auto 20px auto;
}
/* ══════════════════════════════════
   3D CAROUSEL
══════════════════════════════════ */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 578px;
    perspective: 1200px;
    margin: 0 auto 0;

    overflow-x: hidden ;


}
.carousel-stage {
    position: relative;
    width: 260px;
    height: 424px;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;

}
.c3-card {
    position: absolute;
    width: 386px;
    height: 507px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    will-change: transform, opacity;
    left: 50%;
    top: 16%;
    margin-left: -201px;
    margin-top: -140px;
}

.c3-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
}
.c3-card.active {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan), 0 20px 60px rgba(0,212,216,.35);
}

/* arrows */
.carousel-arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--cyan);
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 20;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, border-color .2s;
    line-height: 1;
}
.carousel-arrow:hover { background: var(--cyan); color: var(--bg-dark); border-color: var(--cyan); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* info */
.carousel-info {
    text-align: center;
    margin-top: 12px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 520px;
    margin-left: auto; margin-right: auto;
    min-height: 130px;
    transition: all .3s;
}
.ci-badge {
    display: inline-block;
    background: var(--cyan); color: var(--bg-dark);
    font-size: .72rem; font-weight: 700;
    border-radius: 6px; padding: .2rem .7rem;
    margin-bottom: .6rem;
}
.ci-name {
    font-size: 1.2rem; font-weight: 800;
    color: var(--text); margin-bottom: .5rem;
}
.ci-desc {
    font-size: .82rem; color: var(--muted);
    line-height: 1.7; margin-bottom: .8rem;
}
.ci-price {
    font-size: 1rem; font-weight: 800; color: var(--cyan);
}

/* dots */
.carousel-dots {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 18px;
}
.c3-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: background .2s, transform .2s;
    border: none;
    display: inline-block;
}
.c3-dot.active { background: var(--cyan); transform: scale(1.3); }
.class-trainer img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.class-trainer span { font-size: .78rem; color: var(--muted); }

/* ══════════════════════════════════
   TRAINERS
══════════════════════════════════ */
.trainers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.trainer-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden; text-align: center;
    transition: transform .25s, box-shadow .25s; position: relative;
}
.trainer-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,212,216,.1); }
.trainer-img-wrap { position: relative; height: 240px; overflow: hidden; }
.trainer-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.trainer-card:hover .trainer-img-wrap img { transform: scale(1.05); }
.trainer-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%);
}
.trainer-socials {
    position: absolute; top: 12px; left: 12px;
    display: flex; flex-direction: column; gap: 8px;
    opacity: 0; transform: translateX(-8px); transition: .3s;
}
.trainer-card:hover .trainer-socials { opacity: 1; transform: translateX(0); }
.social-icon {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(0,212,216,.85); display: flex;
    align-items: center; justify-content: center;
    font-size: .75rem; color: var(--bg-dark); font-weight: 700;
}
.trainer-info { padding: 1.1rem; }
.trainer-name { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.trainer-role { font-size: .8rem; color: var(--cyan); font-weight: 600; margin-bottom: .7rem; }
.trainer-stats { display: flex; justify-content: center; gap: 1.5rem; }
.t-stat { text-align: center; }
.t-stat-num { font-size: .95rem; font-weight: 800; }
.t-stat-lbl { font-size: .68rem; color: var(--muted); margin-top: .1rem; }
.btn-profile {
    display: block; margin: .9rem auto 0;
    background: transparent; border: 1px solid var(--cyan);
    color: var(--cyan); font-family: 'Vazirmatn', sans-serif;
    font-size: .8rem; font-weight: 600; border-radius: 50px;
    padding: .4rem 1.2rem; cursor: pointer; transition: .2s;
}
.btn-profile:hover { background: var(--cyan); color: var(--bg-dark); }

/* ══════════════════════════════════
   PRICING
══════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.pricing-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 20px; padding: 2rem 1.8rem; position: relative;
    transition: transform .25s;
}
.pricing-card:hover { transform: translateY(-6px); }
.pricing-card.popular {
    border-color: var(--cyan);
    background: linear-gradient(145deg, var(--bg-card2), #1a2a2a);
}
.popular-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--cyan); color: var(--bg-dark);
    font-size: .72rem; font-weight: 700; border-radius: 50px;
    padding: .25rem .9rem; white-space: nowrap;
}
.pricing-tier {
    font-size: .8rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; margin-bottom: .5rem;
}
.tier-bronze { color: var(--bronze); }
.tier-silver { color: var(--silver); }
.tier-gold   { color: var(--gold); }
.pricing-price { margin-bottom: 1.5rem; }
.price-amount { font-size: 2.4rem; font-weight: 900; }
.price-period { font-size: .8rem; color: var(--muted); margin-right: .3rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.8rem; }
.pricing-features li { display: flex; align-items: center; gap: .6rem; font-size: .88rem; }
.feat-icon { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .65rem; }
.feat-yes { background: rgba(0,212,216,.15); color: var(--cyan); }
.feat-no  { background: rgba(255,255,255,.07); color: var(--muted); }
.feat-no span { color: var(--muted); }
.btn-pricing {
    width: 100%; padding: .75rem;
    font-family: 'Vazirmatn', sans-serif; font-weight: 700;
    font-size: .9rem; border-radius: 50px; cursor: pointer; transition: .2s;
}
.btn-pricing-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-pricing-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-pricing-fill { background: var(--cyan); border: none; color: var(--bg-dark); }
.btn-pricing-fill:hover { background: var(--cyan-dark); }

/* ══════════════════════════════════
   GALLERY
══════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 180px);
    gap: 10px;
}
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,212,216,0); transition: .3s;
}
.gallery-item:hover::after { background: rgba(0,212,216,.15); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(0,0,0,.6); border: 2px solid rgba(255,255,255,.7);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: #fff; transition: .3s;
}
.gallery-item:hover .play-btn { background: var(--cyan); border-color: var(--cyan); }

/* ══════════════════════════════════
   TESTIMONIALS
══════════════════════════════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 1.6rem;
    transition: transform .25s, box-shadow .25s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 35px rgba(0,212,216,.08); }
.test-stars { color: #FFB800; font-size: .9rem; margin-bottom: .9rem; letter-spacing: .1em; }
.test-text { font-size: .88rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.1rem; }
.test-author { display: flex; align-items: center; gap: .7rem; }
.test-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cyan); }
.test-name { font-size: .88rem; font-weight: 700; }
.test-role { font-size: .75rem; color: var(--muted); margin-top: .1rem; }
.quote-mark { font-size: 2.5rem; color: rgba(0,212,216,.2); line-height: 1; float: right; margin-right: .3rem; }

/* ══════════════════════════════════
   BLOG
══════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 45px rgba(0,0,0,.3); }
.blog-img { height: 190px; overflow: hidden; position: relative; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-cat {
    position: absolute; top: 12px; right: 12px;
    background: var(--cyan); color: var(--bg-dark);
    font-size: .7rem; font-weight: 700; border-radius: 6px; padding: .2rem .6rem;
}
.blog-body { padding: 1.3rem; }
.blog-date { font-size: .75rem; color: var(--muted); margin-bottom: .5rem; }
.blog-title { font-size: .98rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.45; }
.blog-excerpt { font-size: .82rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.blog-read { color: var(--cyan); font-size: .82rem; font-weight: 600; }
.blog-read:hover { text-decoration: underline; }

/* ══════════════════════════════════
   CONTACT
══════════════════════════════════ */
.contact-wrap {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3rem; align-items: start;
}
.contact-info h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.contact-info p { color: var(--muted); line-height: 1.8; margin-bottom: 2rem; font-size: .9rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start; }
.c-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: rgba(0,212,216,.12); border: 1px solid rgba(0,212,216,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0; color: var(--cyan);
}
.c-label { font-size: .75rem; color: var(--muted); margin-bottom: .2rem; }
.c-value { font-size: .9rem; font-weight: 600; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .82rem; color: var(--muted); font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text); font-family: 'Vazirmatn', sans-serif;
    font-size: .88rem; border-radius: 10px; padding: .75rem 1rem;
    outline: none; transition: border-color .2s; resize: none; direction: rtl;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--cyan);
}
.form-group textarea { height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer {
    background: #0a0b0f; border-top: 1px solid var(--border);
    padding: 60px 5% 24px;
}
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: .85rem; color: var(--muted); line-height: 1.7; margin: 1rem 0 1.5rem; }
.footer-socials { display: flex; gap: .7rem; }
.soc-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-card); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: .78rem; font-weight: 700; transition: .2s; color: var(--muted);
}
.soc-btn:hover { background: var(--cyan); border-color: var(--cyan); color: var(--bg-dark); }
.footer-col h4 { font-size: .95rem; font-weight: 700; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.footer-col ul li a { font-size: .84rem; color: var(--muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--cyan); }
.footer-bottom {
    border-top: 1px solid var(--border); padding-top: 1.4rem;
    display: flex; justify-content: space-between; align-items: center;
    font-size: .8rem; color: var(--muted);
}

/* ══════════════════════════════════
   CTA BANNER
══════════════════════════════════ */
.cta-banner {
    margin: 0 5% 80px;
    margin-top: 60px!important;
    border-radius: 24px; overflow: hidden;
    position: relative; padding: 4rem 5%;
    background:
            linear-gradient(135deg, rgba(0,212,216,.18) 0%, rgba(0,60,70,.4) 100%),
            url('../picturess/pi15.jpeg') center/cover no-repeat;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,.45);
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 900; margin-bottom: .8rem; }
.cta-inner p { color: rgba(255,255,255,.75); font-size: .95rem; margin-bottom: 2rem; }
.cta-inner .btn-primary { font-size: 1rem; padding: .9rem 2.5rem; }

/* ══════════════════════════════════
   DIVIDER
══════════════════════════════════ */
.divider {
    height: 1px; background: var(--border);
    margin: 0 5%;
}

/* ══════════════════════════════════
   MOBILE NAV MENU
══════════════════════════════════ */
.mobile-menu {
    display: none; position: fixed; top: 70px; right: 0; left: 0;
    background: rgba(14,15,19,.97); backdrop-filter: blur(20px);
    z-index: 999; padding: 2rem 5%;
    flex-direction: column; gap: 1.2rem;
    border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1rem; font-weight: 600; color: var(--muted); padding: .4rem 0; border-bottom: 1px solid var(--border); }
.mobile-menu a:hover { color: var(--cyan); }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media(max-width: 900px) {
    .contact-wrap { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2,1fr); grid-template-rows: auto; }
    .gallery-item.wide { grid-column: span 1; }
    .gallery-item.tall { grid-row: span 1; }
}
@media(max-width: 680px) {
    .nav-links, .btn-nav, nav > form { display: none; }
    .hamburger { display: flex; }
    .hero-stats { gap: 1.2rem; }
    .stat-num { font-size: 1.5rem; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: .6rem; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    section { padding: 40px 4%; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Fade-in animation ── */
.fade-up { opacity: 1; transform: none; }
.fade-up.visible { opacity: 1; transform: none; }

/* ══ DUAL SECTIONS SIDE BY SIDE ══ */
.dual-sections-wrapper {
    display: flex;
    flex-direction: row-reverse; /* RTL: classes2 on right, classes3 on left */
    align-items: flex-start;
    gap: 0;
    padding: 40px 0px;
    max-width: 1400px;
    margin: 0 auto;
}

.dual-section {
    flex: 1;
    min-width: 0;
    padding: 30px 2%;
    width: 100%;
    margin: 0px auto;
}

.dual-divider {
    width: 2px;
    background: var(--border, rgba(255,255,255,0.1));
    align-self: stretch;
    margin: 20px 0;
    flex-shrink: 0;
}

/* Smaller carousel for side-by-side layout */
.carousel-wrapper--small {
    height: 358px !important;
    max-width: 100% !important;
    perspective: 900px;
    padding: 80px 0px 0px 0px;
    overflow-y: hidden !important;
    margin-bottom: -12px;
}

.carousel-stage--small {
    width: 180px !important;
    height: 401px !important;
}

.carousel-stage--small .c3-card {
    width: 300px !important;
    height: 274px !important;
    margin-left: -153px !important;
    margin-top: -43px !important;
}

.carousel-info--small {
    max-width: 100% !important;
    min-height: 100px !important;
    padding: 14px 16px !important;
}

.dual-section .section-head {
    margin-bottom: 1.5rem;
}

.dual-section .section-title {
    font-size: 1.4rem !important;
}

.dual-section .filter-tabs {
    flex-wrap: wrap;
    gap: 6px;
}

.dual-section .tab {
    font-size: 0.78rem !important;
    padding: 5px 10px !important;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
    .mainLogoviva{
        width: 51%;
        margin: 100px 0px -54px 0px;

    }
    .hero{
        flex-direction: column-reverse;
    }
    .c3-card {
        position: absolute;
        width: 362px;
        height: 331px;
        border-radius: 20px;
        overflow: hidden;
        cursor: pointer;
        border: 2px solid transparent;
        box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
        will-change: transform, opacity;
        left: 50%;
        top: 42%;
        margin-left: -182px;
        margin-top: -140px;
    }


    .carousel-stage {
        overflow: hidden !important;
        border-radius: 20px;
        width: 372px;
        height: 391px;
        top: 20px;
    }

    .dual-sections-wrapper {
        flex-direction: column;
        padding: 20px 4%;
    }
    .dual-divider {
        width: 100%;
        height: 2px;
        margin: 10px 0;
    }

    .carousel-wrapper--small {
        height: 535px !important;
        margin-bottom: -12px;
        margin-top: -165px;
    }
    .carousel-stage--small {
        width: 250px !important;
        height: 401px !important;
    }


    .carousel-stage--small .c3-card {
        width: 247px !important;
        height: 289px !important;
        margin-left: -122px !important;
        margin-top: -70px !important;
    }
    .carousel-stage--small .c3-card {
    width: 247px !important;
    height: 289px !important;
    margin-left: -122px !important;
    margin-top: -57px !important;
    box-shadow: none!important;
        }
    .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--cyan);
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;
    line-height: 1;
        }
}

/* ══ BMI Calculator ══ */
.bmi-box {
    max-width: 480px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: rgba(22, 24, 31, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.bmi-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bmi-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.bmi-field label {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
}

.bmi-field input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.bmi-field input:focus {
    border-color: var(--cyan);
}

.bmi-field select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7D8F' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
}

.bmi-field select:focus {
    border-color: var(--cyan);
}

.bmi-submit-btn {
    width: 100%;
    padding: 0.85rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}

.bmi-submit-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.bmi-submit-btn:active { transform: translateY(0); }

.bmi-result-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    animation: bmiIn 0.4s ease;
}

@keyframes bmiIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bmi-gauge-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.bmi-gauge {
    width: 200px;
    height: 110px;
}

.bmi-gauge-labels {
    display: flex;
    justify-content: space-between;
    width: 200px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0 4px;
}

.bmi-result-card {
    width: 100%;
    background: var(--bg-dark);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.bmi-res-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

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

.bmi-res-label {
    color: var(--muted);
    font-size: 0.9rem;
}

.bmi-res-val {
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.4s;
}

.bmi-error {
    color: #ef5350;
    font-size: 0.9rem;
    text-align: center;
}

/* ══ BMI Responsive ══ */
@media (max-width: 480px) {
    .bmi-box {
        padding: 1.25rem;
        gap: 1.1rem;
    }

    .bmi-gauge {
        width: 170px;
        height: 93px;
    }

    .bmi-gauge-labels {
        width: 170px;
        font-size: 0.65rem;
    }

    .bmi-res-row {
        padding: 0.6rem 1rem;
    }

    .bmi-res-label {
        font-size: 0.82rem;
    }

    .bmi-res-val {
        font-size: 1rem;
    }
}
