@import url(/css/fonts.css);
:root {
--primary-50:  #ecfdf3;
    --primary-100: #d1fae0;
    --primary-200: #a7f3c4;
    --primary-300: #6ee79a;
    --primary-400: #35d36f;
    --primary-500: #22c55e;
    --primary-600: #17a34a; /* Brand primary */
    --primary-700: #15803d;
    --primary-800: #166534;
    --primary-900: #14532d;
    --primary-950: #052e16;


    /* Neutral / Forest Dark Ramp */
    --neutral-50:  #f5faf8;
    --neutral-100: #e1ebe7;
    --neutral-200: #c1d3cc;
    --neutral-300: #98afa7;
    --neutral-400: #708a80;
    --neutral-500: #526b62;
    --neutral-600: #3c514a;
    --neutral-700: #293a35;
    --neutral-800: #1b2925;
    --neutral-900: #0b1513;
    --neutral-950: #050b0a;


    /* Semantic Mapping */
    --background: var(--neutral-900);
    --background-darker: var(--neutral-950);
    --surface: var(--neutral-800);
    --surface-hover: var(--neutral-700);
    

    --border: var(--neutral-800);
    --border-light: var(--neutral-700);

    --text: var(--neutral-50);
    --text-semifaded: var(--neutral-300);
    --text-faded: var(--neutral-400);

    --secondary: var(--primary-600);
    --secondary-hover: var(--primary-500);
    --secondary-active: var(--primary-700);
    /* Animation detail */
    --reveal-duration: 1.4s;
    --reveal-distance: 48px;
    --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --nav: rgb(11, 21, 19, .65);

    --typography-reg: "Rajdhani", sans-serif;
    --typography-hed: "Chakra Petch", sans-serif;
}

html[lang="fa"] {
    --typography-reg: "Zain", sans-serif;
    --typography-hed: "Shabnam", sans-serif;
    .value, .callout.number {
        font-family: 'Chakra Petch', sans-serif;
    }
    .ltr, .value, .language-switch {
        direction: ltr;
        unicode-bidi: embed;
        text-align: right;
    }
    .cta {
        margin-right: 0;
        margin-left: 5px;
        transition: margin-left .3s ease;
    }
    .cta:hover {
        margin-right: 0;
        margin-left: 15px;
    }
    .cta + img {
        transform: rotate(180deg);
    }
    ul.tree {
        margin: 0 50px 0 0;
    }
    ul.tree::before {
        left: auto;
        right: 0px;
    }
    ul.tree li .list-icon {
        left: auto;
        right: -50px;
    }
    p:not(.larger) { 
        font-size: 1.2rem; 
        line-height: 1.7em;
        text-align: justify; 
    }
    h1, h2 { line-height: 1.5em; }
}
* { 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box; 
}

body {
    margin: 0;
    background-color: var(--background);
    color: var(--text);
    font-family: var(--typography-reg);
}
#top {
    background-color: var(--nav);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}
.content {
    max-width: 1440px;
    margin: 0 auto;
    container-type: inline-size;
}
.mt-40 { margin-top: 40px; }
.flex { display: flex; }
.flex.wrap-reverse { flex-wrap: wrap-reverse; }
.flex.justify-sb { justify-content: space-between; }
.flex.align-center { align-items: center; }
.flex.wrap { flex-wrap: wrap; }
.flex.gap-10 { gap: 10px; }
.flex.gap-20 { gap: 20px; }
.flex.gap-40 { gap: 40px; }
.flex.gap-60 { gap: 60px; row-gap: 30px; }
.flex.gap-80 { gap: 80px; row-gap: 40px; }
.flex.gap-120 { gap: 120px; row-gap: 60px; }
.flex.grid { 
    gap: 1px; 
    background-color: var(--border);
}
.tile { padding: 20px 30px; }
.tile.third { 
    flex: 1 1 33%;
    min-width: 280px;
}
h1, h2, h3 {
    font-family: var(--typography-hed);
}
h1 {
    font-weight: 300;
    font-size: clamp(2.4rem, 2.4vw, 3.4rem);
    text-transform: uppercase;
    text-wrap: balance;
}
h2 {
    font-weight: 400;
    font-size: clamp(1.8rem, 2vw, 2.8rem);
    text-wrap: balance;
    text-transform: uppercase;
}
h3 {
    font-weight: 400;
    margin: 5px 0;
    font-size: 25px;
}
h3.separator {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    margin: 25px 0;
}
p { 
    font-size: 20px;
    line-height: 1.5em;
    max-width: 720px;
}
.forcewrap { max-width: 580px; }
.border-top { border-top: 1px solid var(--border); }
section.dark + .border-top { border-top: none; }
.overline {
    color: var(--secondary);
    text-transform: uppercase;
}
#hero .overline { margin-top: 50px; }
.overline + h2,
.overline + h1 { margin-top: 5px; }
nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
    align-items: center;
}
nav a, nav a:where(:active, :visited) {
    color: var(--text);
    text-decoration: none;
    text-transform: uppercase;
}
nav a:hover {
    color: var(--secondary);
}
nav a.active {
    border-bottom: 1px solid var(--secondary);
}
.cta, .cta:where(:active, :visited) {
    color: var(--text);
    text-decoration: none;
    font-size: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--secondary);
    margin-right: 5px;
    transition: margin-right .3s ease;
}
.cta:hover {
    margin-right: 15px;
    color: var(--secondary)
}
section { 
    padding: 80px 30px;
}
section:not(#top) {
    overflow: hidden;
}
section + section {
    margin-top: 80px;
}
section.sm + section.sm {
    margin-top: 0;
}
section.sm { 
    padding: 30px; 
}
section.dark {
    background-color: var(--background-darker);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
footer {
    padding: 50px 30px;
    background-color: var(--background-darker);
    border-top: 1px solid var(--border);
}
footer p {
    font-size: 14px;
}
.larger {
    font-size: clamp(1.4rem, 1.8vw, 2rem);
}
#top { border-bottom: 1px solid var(--border); }
.callout { color: var(--secondary); }
.copy {
    flex: 1 1 450px;
}
.aside {
    width: 80%;
    max-width: 480px;
    margin: 0 auto;
}
.flexi { flex: 1 1 480px; }
.hero-video {
    flex: 1 1 360px;
    height: 56cqw;
    max-height: 380px;
    background-color: var(--text);
    background-color: var(--background-darker);
    position: relative;
}
.video-container {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden; 
    z-index: 5;
}
.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.label.video {
    position: absolute;
    transform: rotate(-90deg);
    transform-origin: 50% -138px;
    line-height: 24px;
    height: 24px;
    bottom: 10px;
    right: 10px;
    width: 320px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 10px;
    z-index: 10;
}
.pattern {
    position: absolute;
    bottom: -10px;
    left: -10px;
    opacity: .5;
    z-index: 10;
}
.label.video::after {
    content: '';
    width: 20px;
    border-bottom: 1px solid var(--secondary);
}
#kpis .content {
    padding: 1px 0;
}
.kpi {
    padding: 20px 40px;
    background-color: var(--background);
    flex: 1 1 380px;
    min-width: 280px;
}
.dark { background-color: var(--background-darker); }
.value {
    font-family: var(--typography-hed);
    font-size: 40px;
    line-height: 50px;
    font-weight: 300;
}
.label {
    text-transform: uppercase;
    text-wrap: balance;
    font-size: 15px;
    color: var(--text-faded);
}
.advantage {
    padding: 20px 0;
    flex: 1 1 280px;
    min-width: 280px;  
}
.countries {
    margin-top: 80px;
}
.country {
    padding: 20px 0;
    text-align: center;
    flex: 1 1 100px;
    min-width: 120px;
    text-transform: uppercase; 
}
.country h3 {
    margin-top: 10px;
    
}
.review {
    flex: 1 1 320px;
    padding: 40px;
    background-color: var(--background-darker);
}
.brands {
    margin-top: 80px;
    scroll-behavior: smooth;
}
.button {
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--text);
    border-radius: 5px;
    padding: 5px 15px;
    width: fit-content;
}
.button.big {
    padding: 10px 20px;
    font-size: 20px;
}
.button:hover {
    border: 1px solid var(--secondary);
    color: var(--secondary);
}
.button .label {
    text-wrap: nowrap;
}
.contact {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.contact .label {
    margin-bottom: 5px;
}
.contact a, .contact a:where(:visited, :active) {
    text-decoration: none;
    color: var(--text);
}
.contact a:hover { color: var(--secondary); }

ul.benefits {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
ul.benefits li {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    line-height: 25px;
    display: flex;
    gap: 10px;
}
ul.benefits li::before {
    content: '';
    background-image: url('/assets/icon/checkmark-benefits.svg');
    background-size: cover;
    background-repeat: no-repeat;
    height: 25px;
    width: 25px;
}
ul.tree {
    position: relative;
    margin: 0 0 0 50px;
    padding: 0;
}
ul.tree::before {
    content: '';
    border-left: 1px solid var(--secondary);
    position: absolute;
    top: 25px;
    left: 5px;
    bottom: 7px;
}
ul.tree li {
    list-style-type: none;
    position: relative;
}
ul.tree li p {
    color: var(--text-semifaded);
}
ul.tree li:not(:last-child) {
    margin-bottom: 30px;
}
ul.tree li p { margin: 0; }
ul.tree li::before {
  content: '●';
  color: var(--secondary);
  margin-right: -5px;
  font-size: 19px;
  margin-top: 10px;
}
ul.tree li .list-icon {
    position: absolute;
    height: 40px;
    left: -50px
}
form {
    padding: 40px;
}
form input, label {
    display: block;
    transition: all .4s ease;
}
form input, form textarea {
    background-color: var(--background);
    border: 1px solid var(--border-light);
    color: var(--text);
    font-size: 20px;
    padding: 10px 15px;
    width: 100%;
}
form textarea { height: 120px; }
form label.label { 
    color: var(--text); 
    margin-bottom: 5px;
}
form input:focus,
form textarea:focus { 
    outline: none;
    border: 1px solid var(--secondary);
}
form input[type='submit'] {
    background-color: var(--secondary);
    border: none;
    color: var(--background-darker);
}
form .field:not(:last-child) {
    margin: 0 0 20px;
}
/*
ANIMATION
*/
  .reveal {
    opacity: 0;
    transition:
      opacity var(--reveal-duration) var(--reveal-ease),
      transform var(--reveal-duration) var(--reveal-ease);
    will-change: opacity, transform;
  }
 
  .reveal-up    { transform: translateY(var(--reveal-distance)); }
  .reveal-down  { transform: translateY(calc(var(--reveal-distance) * -1)); }
  .reveal-left  { transform: translateX(calc(var(--reveal-distance) * -1)); }
  .reveal-right { transform: translateX(var(--reveal-distance)); }
 
  .reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
  }
 
  /* Optional: stagger children of a container by giving each
     child a --i custom property (see .card-grid > * below) */
  .reveal[style*="--i"] { transition-delay: calc(var(--i, 0) * 0.1s); }

.nv-logo { height: 50px; }
.nod { display: none; }
@media screen and (max-width: 1440px) {
    .brands {
        margin-left: -30px;
        margin-right: -30px;
        padding: 0 30px;
        overflow-x: scroll;
    }
}
@media screen and (max-width: 720px) {
    .vanish { display: none; }
    .nod {
        margin-top: 6px; 
        display: block; 
    }
    nav.vanish {
        position: fixed;
        z-index: 100;
        height: 100vh;
        width: 100vw;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        gap: 20px;
        background-color: var(--background-darker);
        font-size: 1.6rem;
    }
    form {
        padding: 25px;
    }
    nav.vanish:has(+.nod #menu:checked) {
        display: flex;
    }
    .label.video {
        font-size: 5px;   
    }
    .hero-video {
        margin: 0 -20px;
    }
    .pattern {
        width: 70px;
        left: -5px;
        bottom: -5px;
    }
}
@media screen and (max-width: 580px) {
    section {
        padding: 50px 15px;
    }
    #top.sm {
        padding: 15px;
    }
    .nv-logo {
        height: 30px;
    }
}
@media screen and (max-width: 420px) {
    .social-buttons .button {
        width: 100%;
    }
}


  /* ---- FLAME: cycles through orange/red shades, ~36s loop ---- */
  .flame path {
    animation: flameColor 36s ease-in-out infinite;
  }
  /* slight offset per path so it doesn't feel perfectly uniform/flat */
  .flame path:nth-child(2) { animation-delay: -6s; }
  .flame path:nth-child(3) { animation-delay: -12s; }
 
  @keyframes flameColor {
    0%   { fill: #f8c23e; } /* gold */
    20%  { fill: #f6a83a; } /* amber orange */
    40%  { fill: #f2823c; } /* orange */
    60%  { fill: #e85d3a; } /* red-orange */
    80%  { fill: #f2823c; } /* orange */
    100% { fill: #f8c23e; } /* back to gold */
  }
 
  /* ---- GREEN: cycles through green shades, ~36s loop ---- */
  #fill-color-gradient-render-2-0 stop:nth-child(1) {
    animation: greenStop1 36s ease-in-out infinite;
  }
  #fill-color-gradient-render-2-0 stop:nth-child(2) {
    animation: greenStop2 36s ease-in-out infinite;
  }
 
  @keyframes greenStop1 {
    0%   { stop-color: #0fb36f; } /* emerald */
    25%  { stop-color: #0e9e8c; } /* teal-green */
    50%  { stop-color: #17a13c; } /* forest green */
    75%  { stop-color: #55b32f; } /* olive-lime */
    100% { stop-color: #0fb36f; }
  }
 
  @keyframes greenStop2 {
    0%   { stop-color: #4ad47a; } /* light green */
    25%  { stop-color: #3cc7ad; } /* mint teal */
    50%  { stop-color: #6cc94a; } /* lime */
    75%  { stop-color: #8fd15a; } /* yellow-green */
    100% { stop-color: #4ad47a; }
  }


  .language-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: sans-serif;
}

.switch {
    position: relative;
    width: 46px;
    height: 24px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    inset: 0;
    background: var(--border-light);
    border-radius: 24px;
    cursor: pointer;
    transform: translateX(0);
    transition: .25s;
}

.slider::before {
    content: '';
    background-image: url('/assets/images/iran.png');
    background-size: cover;
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    transition: .25s;
}
input:checked + .slider::before {
    transform: translateX(22px);
    background-image: url('/assets/images/british.png');
}