:root {
    --blue: #0875e8;
    --navy: #07133d;
    --muted: #667085;
    --line: #e4eaf2;
}

/* InstaOne features */
.features-section{position:relative;padding:100px 0;overflow:clip;background:radial-gradient(circle at 9% 12%,rgba(18,126,190,.08),transparent 28%),radial-gradient(circle at 88% 84%,rgba(45,145,141,.09),transparent 30%),#f7f9fc}
.features-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);grid-template-areas:"cards intro";gap:clamp(52px,7vw,105px);align-items:start}
.features-intro{grid-area:intro;position:sticky;top:120px;padding-top:14px}.features-kicker{display:inline-block;margin-bottom:12px;color:#0a78d1;font-size:14px;font-weight:700}.features-intro h2{margin:0 0 18px;color:#111b35;font-size:clamp(38px,4vw,56px);font-weight:800;line-height:1.25}.features-intro p{max-width:430px;margin:0;color:#69758a;font-size:17px;line-height:2}
.features-cards{grid-area:cards;display:grid;gap:24px}.feature-card{position:relative;isolation:isolate;min-height:210px;padding:36px 38px;display:grid;grid-template-columns:74px minmax(0,1fr);gap:24px;align-items:start;overflow:hidden;border:1px solid rgba(255,255,255,.2);border-radius:30px;color:#fff;box-shadow:0 20px 45px rgba(19,38,70,.1)}.feature-card::after{content:"";position:absolute;z-index:-1;width:230px;height:230px;left:-85px;bottom:-120px;border:42px solid rgba(255,255,255,.055);border-radius:50%}.feature-icon{width:68px;height:68px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.24);border-radius:18px;background:rgba(255,255,255,.1);font-size:29px;box-shadow:inset 0 1px rgba(255,255,255,.15)}.feature-card h3{margin:2px 0 11px;font-size:22px;font-weight:750;line-height:1.5}.feature-card p{margin:0;color:rgba(255,255,255,.84);font-size:15px;line-height:1.95}
.feature-teal{background:linear-gradient(135deg,#165d65,#278d99)}.feature-blue{background:linear-gradient(135deg,#174f83,#287db6)}.feature-purple{background:linear-gradient(135deg,#3f3c9c,#706bd5)}.feature-navy{background:linear-gradient(135deg,#142b43,#35516c)}.feature-cyan{background:linear-gradient(135deg,#156d7d,#27a0aa)}.feature-indigo{background:linear-gradient(135deg,#243b86,#4464c8)}.feature-slate{background:linear-gradient(135deg,#26354b,#52667e)}
html[dir="ltr"] .features-layout{grid-template-areas:"intro cards";grid-template-columns:minmax(300px,.85fr) minmax(0,1.55fr)}html[dir="ltr"] .feature-card::after{left:auto;right:-85px}
@media(max-width:991px){.features-section{padding:72px 0}.features-layout,html[dir="ltr"] .features-layout{grid-template-columns:minmax(230px,.75fr) minmax(0,1.25fr);gap:34px}.feature-card{min-height:0;padding:28px;grid-template-columns:58px minmax(0,1fr);gap:18px;border-radius:24px}.feature-icon{width:56px;height:56px;border-radius:15px;font-size:24px}.feature-card h3{font-size:19px}.feature-card p{font-size:14px}}
@media(max-width:767px){.features-section{padding:58px 0}.features-layout,html[dir="ltr"] .features-layout{display:flex;flex-direction:column;gap:34px}.features-intro{position:static;padding:0 5px}.features-intro h2{margin-bottom:12px;font-size:34px}.features-intro p{max-width:none;font-size:16px;line-height:1.85}.features-cards{width:100%;gap:17px}.feature-card{padding:24px 20px;grid-template-columns:52px minmax(0,1fr);gap:15px;border-radius:22px}.feature-icon{width:50px;height:50px;border-radius:14px;font-size:21px}.feature-card h3{margin-top:0;font-size:18px}.feature-card p{font-size:14px;line-height:1.85}}
@media(max-width:420px){.feature-card{display:block}.feature-icon{margin-bottom:16px}}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
#home, #about, #pricing, #contact { scroll-margin-top: 90px; }
@font-face {
    font-family: "Alexandria Regular";
    src: url("../fonts/Alexandria-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Alexandria Bold";
    src: url("../fonts/Alexandria-ExtraBold.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Cairo Regular";
    src: url("../fonts/Cairo-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Cairo Bold";
    src: url("../fonts/Cairo-Bold.ttf") format("truetype");
}

body {
    font-family: "Cairo Bold";
    color: var(--navy);
    background: #fff;
}
.container-xl {
    max-width: 1120px;
}
.main-nav {
    height: 74px;
    border-bottom: 1px solid #edf1f5;
    box-shadow: 0 2px 12px rgba(6, 38, 92, 0.04);
}
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #12408a !important;
    direction: ltr;
}
.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px 13px 13px 4px;
    background: linear-gradient(135deg, #08275f 50%, #0a81f4 50%);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 21px;
}
.logo-wrap strong {
    font-size: 27px;
    line-height: 1;
    display: block;
    font-weight: 800;
}
.logo-wrap small {
    font-size: 10px;
    display: block;
    text-align: center;
    margin-top: 5px;
    color: #4b5d77;
    direction: rtl;
}
.nav-link {
    font-weight: 600;
    color: #15203b !important;
    padding: 25px 4px 20px !important;
    position: relative;
}
.nav-link.active {
    color: var(--blue) !important;
}
.nav-link.active:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 50px;
    height: 4px;
    border-radius: 4px;
    background: var(--blue);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.language-btn {
    border: 0;
    background: transparent;
    color: #0b173a;
    font-weight: 600;
    display: flex;
    gap: 8px;
    align-items: center;
}
.language-btn .fa-chevron-down {
    font-size: 10px;
}
.account-btn {
    background: var(--blue);
    color: #fff !important;
    border-radius: 10px;
    padding: 11px 18px;
    font-weight: 700;
    box-shadow: 0 7px 18px rgba(8, 117, 232, 0.2);
}
.account-btn:hover{
    color: var(--blue) !important;
}
.hero {
    position: relative;
    min-height: 475px;
    background: url("hero-villa.jpg") center 46% / cover no-repeat;
    overflow: hidden;
}
.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(3, 14, 39, 0.63) 0%,
        rgba(8, 33, 66, 0.2) 36%,
        rgba(255, 255, 255, 0.96) 74%,
        #fff 100%
    );
}
.hero-inner {
    position: relative;
    z-index: 1;
    min-height: 475px;
}
.hero-copy {
    width: 64%;
    padding: 54px 36px 130px 0;
}
.eyebrow {
    font-size: 17px;
    color: #4b607a;
}
.hero h1 {
    font-weight: 800;
    font-size: 39px;
    margin: 0 0 15px;
    color: #08143d;
}
.hero p {
    font-size: 15px;
    line-height: 1.9;
    max-width: 620px;
    color: #26344c;
}
.benefits {
    display: flex;
    gap: 26px;
    align-items: center;
    margin-top: 25px;
    white-space: nowrap;
}
.benefits span {
    font-size: 12px;
    font-weight: 600;
    color: #2d3b50;
}
.benefits i {
    color: var(--blue);
    font-size: 19px;
    margin-left: 7px;
}
.hero-slogan {
    position: absolute;
    left: 18px;
    top: 145px;
    text-align: right;
    color: #fff;
    font-weight: 800;
    font-size: 24px;
    line-height: 1.55;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.hero-slogan span {
    display: block;
    width: 29px;
    height: 4px;
    background: #1688ff;
    margin-top: 7px;
    border-radius: 4px;
}
.pricing-section {
    position: relative;
    /*background: linear-gradient(#fafdff, #fff);*/
    padding: 0 0 22px;
}
.programs-slider {
    position: relative;
    z-index: 3;
    margin-top: -118px;
    padding: 0 48px;
}
.slider-viewport {
    overflow: hidden;
    padding: 7px 4px 18px;
}
.slider-track {
    display: flex;
    gap: 22px;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}
.program-card {
    flex: 0 0 calc((100% - 44px) / 3);
    background: #fff;
    border: 1px solid #e4ebf3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 84, 135, 0.13);
    transition: 0.25s;
}
.program-card:hover {
    transform: translateY(-5px);
    border-color: #1685ef;
    box-shadow: 0 15px 32px rgba(8, 117, 232, 0.17);
}
.slider-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 1px solid #d8e3ef;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    box-shadow: 0 7px 20px rgba(18, 63, 112, 0.15);
    display: grid;
    place-items: center;
    transition: 0.2s;
}
.slider-arrow:hover {
    background: var(--blue);
    color: #fff;
}
.slider-next {
    right: 0;
}
.slider-prev {
    left: 0;
}
.slider-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.card-image {
    height: 118px;
    margin: 10px 10px 0;
    position: relative;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 11px;
}
.program-icon {
    position: absolute;
    bottom: -11px;
    right: 20px;
    width: 70px;
    height: 70px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 31px;
    background: #eef7ff;
    border: 5px solid rgba(255, 255, 255, 0.85);
}
.program-icon.green {
    color: #009877;
    background: #dff8f0;
}
.program-icon.blue {
    color: #0875e8;
}
.program-icon.navy {
    color: #124385;
}
.card-body {
    text-align: right;
    padding: 20px 26px 18px;
}
.card-body h2 {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    margin: 6px 0 8px;
}
.summary {
    text-align: center;
    color: #4e5d73;
    line-height: 1.6;
    min-height: 52px;
    font-size: 14px;
}
.card-body hr {
    border-color: #d9e0e9;
    opacity: 1;
    margin: 15px 0;
}
.card-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    min-height: 146px;
}
.card-body li {
    font-size: 14px;
    margin: 8px 0;
    color: #18243b;
}
.card-body li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--blue);
    margin-left: 13px;
}
.details-btn {
    width: 100%;
    border: 1.5px solid var(--blue);
    color: var(--blue);
    font-weight: 700;
    border-radius: 9px;
}
.details-btn:hover {
    background: var(--blue);
    color: #fff;
}
.extras {
    margin: 18px 0 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 18px rgba(30, 84, 135, 0.05);
}
.extra-item {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 20px;
}
.extra-item + .extra-item {
    border-right: 1px solid var(--line);
}
.extra-icon {
    width: 112px;
    height: 100px;
    border-radius: 10px;
    background: #eaf7ff;
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 47px;
    flex: 0 0 auto;
}
.extra-item h3 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 3px;
}
.extra-item strong {
    display: block;
    font-size: 23px;
}
.extra-item span {
    font-size: 13px;
}
.extra-item p {
    font-size: 12px;
    color: #6d7788;
    margin: 5px 0 0;
    line-height: 1.7;
}
.order-box {
    padding: 17px 0 0;
}
.start-btn {
    display: flex;
    width: 285px;
    justify-content: center;
    gap: 35px;
    align-items: center;
    background: var(--blue);
    color: #fff !important;
    border-radius: 11px;
    margin: 8px auto 4px;
    font-weight: 700;
    font-size: 18px;
}
.order-box p {
    font-size: 11px;
    color: #5a6677;
    margin: 0;
}
footer {
    border-top: 1px solid #e6ebf1;
    padding: 12px 0;
    background: #fff;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}
.footer-inner > div {
    display: flex;
    gap: 15px;
    align-items: center;
}
.footer-inner a {
    color: #536074;
    text-decoration: none;
}
.social {
    display: flex;
    gap: 10px;
    font-size: 17px;
    color: #60718c;
}
.modal-content {
    border: 0;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}
@media (max-width: 991px) {
    .main-nav {
        height: auto;
    }
    .nav-link {
        padding: 10px !important;
    }
    .nav-link.active:after {
        display: none;
    }
    .nav-actions {
        padding-bottom: 14px;
    }
    .hero {
        min-height: 440px;
    }
    .hero-shade {
        background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.84));
    }
    .hero-inner {
        min-height: 440px;
    }
    .hero-copy {
        width: 100%;
        padding: 42px 16px 145px;
    }
    .hero-slogan {
        display: none;
    }
    .benefits {
        white-space: normal;
        flex-wrap: wrap;
    }
    .programs-slider {
        margin-top: -108px;
        padding: 0;
    }
    .slider-viewport {
        overflow: visible;
    }
    .slider-track {
        display: block;
        transform: none !important;
    }
    .program-card {
        max-width: 540px;
        margin: 0 auto 22px;
    }
    .slider-arrow {
        display: none;
    }
    .extra-item + .extra-item {
        border-right: 0;
        border-top: 1px solid var(--line);
    }
}
@media (max-width: 575px) {
    .logo-wrap strong {
        font-size: 22px;
    }
    .hero h1 {
        font-size: 29px;
        line-height: 1.5;
    }
    .hero p {
        font-size: 15px;
    }
    .benefits {
        gap: 15px;
    }
    .hero-copy {
        padding-bottom: 130px;
    }
    .card-body {
        padding: 18px;
    }
    .extra-item {
        flex-direction: column;
        text-align: center;
    }
    .footer-inner,
    .footer-inner > div {
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-inner {
        gap: 10px;
    }
}
.language-btn {
    padding: 10px;
}
.language-menu {
    min-width: 135px;
    border: 1px solid #e2e9f2;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(20, 52, 90, 0.12);
}
.language-option {
    font-weight: 600;
}
.language-option.active,
.language-option:active {
    background: #eaf4ff;
    color: var(--blue);
}
.benefits b,
.hero-slogan b {
    font-weight: inherit;
}
html[dir="ltr"] .hero-shade {
    background: linear-gradient(
        270deg,
        rgba(3, 14, 39, 0.63) 0%,
        rgba(8, 33, 66, 0.2) 36%,
        rgba(255, 255, 255, 0.96) 74%,
        #fff 100%
    );
}
html[dir="ltr"] .hero-slogan {
    left: auto;
    right: 18px;
    text-align: left;
}
html[dir="ltr"] .program-icon {
    right: auto;
    left: 20px;
}
html[dir="ltr"] .card-body {
    text-align: left;
}
html[dir="ltr"] .card-body li:before {
    margin-left: 0;
    margin-right: 13px;
}
html[dir="ltr"] .extra-item + .extra-item {
    border-right: 0;
    border-left: 1px solid var(--line);
}
html[dir="ltr"] .start-btn .fa-arrow-left {
    transform: rotate(180deg);
}
@media (max-width: 991px) {
    html[dir="ltr"] .extra-item + .extra-item {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}
.navbar-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}
.navbar-simple .nav-actions {
    padding-bottom: 0;
}
.login-btn {
    border: 1px solid #cfd9e6;
    color: #10244a;
    background: #fff;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 700;
}
.login-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
}
.hero {
    min-height: 475px;
    background-color: #fff;
    background-image: url("../img/hero-villa.jpg");
    background-position: right center;
    background-size: 60% 100%;
    background-repeat: no-repeat;
}
.hero-shade {
    background: linear-gradient(
        90deg,
        #fff 0%,
        rgba(255, 255, 255, 0.98) 36%,
        rgba(255, 255, 255, 0.88) 50%,
        rgba(255, 255, 255, 0.22) 72%,
        rgba(7, 18, 43, 0.18) 100%
    );
}
.hero-copy {
    margin-right: auto;
    margin-left: 0;
    width: 58%;
    padding: 50px 0 140px 18px;
}
.hero-slogan {
    left: auto;
    right: 25px;
    top: 135px;
    text-align: right;
}
.programs-slider {
    margin-top: -132px;
}
.pricing-section {
    padding-bottom: 34px;
}
html[dir="ltr"] .hero-shade {
    background: linear-gradient(
        90deg,
        #fff 0%,
        rgba(255, 255, 255, 0.98) 36%,
        rgba(255, 255, 255, 0.88) 50%,
        rgba(255, 255, 255, 0.22) 72%,
        rgba(7, 18, 43, 0.18) 100%
    );
}
html[dir="ltr"] .hero-slogan {
    left: auto;
    right: 25px;
    text-align: left;
}
html[dir="ltr"] .hero-copy {
    margin-right: auto;
    margin-left: 0;
    padding: 50px 18px 140px 0;
}
@media (max-width: 767px) {
    .main-nav {
        padding: 9px 0;
    }
    .navbar-simple {
        align-items: center;
    }
    .logo-wrap small {
        display: none;
    }
    .nav-actions {
        gap: 6px;
    }
    .language-btn {
        padding: 8px 5px;
    }
    .login-btn,
    .account-btn {
        padding: 9px 11px;
        font-size: 13px;
    }
    .account-btn i {
        display: none;
    }
    .hero {
        background-size: cover;
        background-position: center;
    }
    .hero-shade {
        background: linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
    }
    .hero-copy,
    html[dir="ltr"] .hero-copy {
        padding: 36px 10px 145px;
        width: 100%;
        margin: 0;
    }
    .programs-slider {
        margin-top: -118px;
    }
}

/* Three-program navigation */
.programs-dropdown{width:285px}
@media(max-width:991px){.programs-dropdown{width:100%}}
@media(max-width:767px){.nav-links .programs-dropdown{grid-template-columns:repeat(2,minmax(0,1fr))}.nav-links .programs-dropdown a:last-child{grid-column:1/-1}}

/* Features refinements */
.features-intro h2{color:#111;white-space:nowrap;font-size:clamp(34px,3.6vw,52px)}
.feature-card{grid-template-columns:180px minmax(0,1fr);align-items:center}
.feature-image{width:180px;height:120px;padding:7px;overflow:hidden;border:1px solid rgba(255,255,255,.28);border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 12px 28px rgba(6,24,52,.2)}
.feature-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:12px}
@media(max-width:991px){.feature-card{grid-template-columns:135px minmax(0,1fr)}.feature-image{width:135px;height:96px}}
@media(max-width:767px){.features-intro{width:100%;text-align:right}.features-intro h2{font-size:32px}.feature-card{grid-template-columns:115px minmax(0,1fr)}.feature-image{width:115px;height:88px}}
@media(max-width:480px){.feature-card{display:block}.feature-image{width:100%;height:150px;margin-bottom:18px}.features-intro h2{font-size:29px}}

/* Keep the sticky copy physically on the right in RTL, with cards on the left. */
.features-layout{grid-template-areas:"intro cards";grid-template-columns:minmax(300px,.85fr) minmax(0,1.55fr)}
html[dir="ltr"] .features-layout{grid-template-areas:"intro cards";grid-template-columns:minmax(300px,.85fr) minmax(0,1.55fr)}
.feature-card{grid-template-columns:118px minmax(0,1fr)}
.feature-image{width:112px;height:112px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.feature-image img{object-fit:contain;border-radius:0;filter:drop-shadow(0 10px 14px rgba(6,24,52,.2))}
@media(max-width:991px){.features-layout,html[dir="ltr"] .features-layout{grid-template-columns:minmax(230px,.75fr) minmax(0,1.25fr)}.feature-card{grid-template-columns:94px minmax(0,1fr)}.feature-image{width:90px;height:90px}}
@media(max-width:767px){.features-layout,html[dir="ltr"] .features-layout{display:flex}.feature-card{grid-template-columns:82px minmax(0,1fr)}.feature-image{width:78px;height:78px}}
@media(max-width:480px){.feature-card{display:grid;grid-template-columns:74px minmax(0,1fr)}.feature-image{width:70px;height:70px;margin:0}}

/* Reference-matched homepage */
body { background:#f7fbff; font-weight:400; }
.container-xl { max-width:1180px; }
.main-nav { height:68px; box-shadow:0 2px 9px rgba(6,38,92,.08); }
.navbar-simple { flex-direction:row; }
.brand-lockup { direction:ltr; margin:0; padding:0; line-height:.8; text-align:center; margin-left:auto; }
.brand-name,.hero-brand { color:#07164b; font-weight:800; letter-spacing:-2px; direction:ltr; display:inline-block; }
.brand-name { font-size:32px; }
.brand-lockup small,.footer-brand small { color:#72809d; font-size:8px; letter-spacing:.3px; display:block; margin-top:6px; }
.brand-one { display:inline-grid; place-items:center; width:.88em; height:.88em; border-radius:50%; color:#fff; background:#087ced; margin:0 1px; vertical-align:.03em; }
.brand-one b { font-size:.58em; font-weight:800; }
.menu-button { border:0; background:transparent; color:#07164b; font-size:27px; padding:7px 2px 7px 17px; order:-1; }
.nav-actions { direction:rtl; margin-left:auto; margin-right:0; }
.language-btn { border:1px solid #d9dee8; border-radius:7px; padding:9px 13px; }
.login-btn,.account-btn { border-radius:6px; padding:9px 18px; }
.account-btn { box-shadow:none; }
.hero { min-height:548px; background-position:right center; background-size:59% 100%; }
.hero-inner { min-height:548px; }
.hero-shade { background:linear-gradient(90deg,#fff 0%,#fff 35%,rgba(255,255,255,.93) 48%,rgba(255,255,255,.05) 76%); }
.hero-copy { width:61%; padding:54px 0 40px 8px; margin-right:auto; }
.hero-brand { font-size:76px; line-height:1; margin-bottom:12px; }
.hero-brand span { display:inline-grid; place-items:center; width:.86em; height:.86em; border-radius:50%; background:#087ced; color:#fff; margin:0 2px; }
.hero-brand b { font-size:.55em; }
.hero h1 { color:#0879e8; font-size:33px; margin-bottom:15px; }
.title-line { display:block; width:58px; height:6px; background:#0b82ef; margin:0 0 22px auto; }
.hero p { color:#07164b; font-size:19px; line-height:1.85; font-weight:600; max-width:580px; }
.hero-slogan { right:auto; left:24px; top:290px; color:#fff; font-size:22px; font-weight:400; transform:rotate(-7deg); }
.hero-slogan span { width:112px; height:3px; background:#fff; }
.pricing-section { background:#f7fbff; padding:34px 0 135px; }
.section-heading { text-align:center; margin-bottom:25px; }
.section-heading h2 { font-size:36px; font-weight:800; margin-bottom:7px; }
.section-heading p { color:#66738b; font-size:17px; }
.programs-slider { margin-top:0; padding:0; }
.slider-viewport { padding:5px 4px 18px; }
.slider-track { gap:16px; }
.program-card { flex-basis:calc((100% - 32px)/3); border-radius:9px; box-shadow:0 3px 15px rgba(17,44,84,.09); border:1px solid #edf1f5; }
.card-image { height:132px; margin:10px 10px 0; }
.card-image img { border-radius:8px; }
.program-icon { width:59px; height:59px; font-size:25px; bottom:-17px; right:15px; border-radius:9px; background:#fff!important; border:7px solid #fff; }
.card-body { padding:18px 14px 14px; }
.card-body h2 { font-size:22px; margin:2px 0 12px; }
.card-body ul { min-height:218px; margin-bottom:12px; }
.card-body li { color:#52617c; font-size:14px; line-height:1.5; margin:7px 0; padding-right:1.5em; position:relative; }
.card-body li:before { position:absolute; right:0; margin:0; }
.details-btn { height:42px; border-radius:6px; font-size:16px; }
.slider-arrow { display:none; }
footer { padding:30px 0 25px; background:#fff; }
.footer-inner { font-size:14px; align-items:center; }
.footer-brand { display:block!important; direction:rtl; text-align:right; }
.footer-brand .brand-name { font-size:37px; display:block; }
.footer-brand small { direction:ltr; text-align:left; width:max-content; }
.footer-brand p { font-size:15px; color:#07164b; }
.footer-links { gap:38px!important; }
.footer-links a { color:#07164b; font-weight:500; }
.footer-social { display:block!important; text-align:left; }
.footer-social .social { justify-content:flex-start; direction:ltr; color:#07164b; font-size:25px; gap:24px; }
.footer-social p { color:#66738b; margin:13px 0 0; font-size:12px; }

@media (max-width:991px) {
  .menu-button { display:none; }
  .hero { min-height:520px; background-size:cover; }
  .hero-inner { min-height:520px; }
  .hero-copy { width:100%; padding:36px 14px 50px; }
  .hero-brand { font-size:58px; }
  .hero h1 { font-size:28px; }
  .hero p { font-size:17px; }
  .pricing-section { padding-top:30px; }
  .programs-slider { margin-top:0; }
  .section-heading h2 { font-size:30px; }
  .program-card { max-width:560px; }
  .footer-inner { flex-direction:column; gap:25px; text-align:center; }
  .footer-brand { text-align:center; }
  .footer-brand small { margin:6px auto 0; }
  .footer-social { text-align:center; }
  .footer-social .social { justify-content:center; }
}
@media (max-width:575px) {
  .main-nav .container-xl { padding-inline:10px; }
  .brand-lockup { display:none; }
  .nav-actions { width:100%; justify-content:space-between; }
  .language-btn,.login-btn,.account-btn { font-size:12px; padding:8px 9px; }
  .hero-brand { font-size:45px; }
  .hero h1 { font-size:24px; }
  .hero p { font-size:15px; line-height:1.9; }
  .section-heading h2 { font-size:25px; }
  .section-heading p { font-size:14px; }
  .footer-links { gap:14px!important; flex-wrap:wrap; justify-content:center; }
}
@media (max-width: 430px) {
    .logo-mark {
        width: 34px;
        height: 34px;
    }
    .logo-wrap {
        gap: 5px;
    }
    .logo-wrap strong {
        font-size: 16px;
    }
    .language-btn,
    .login-btn,
    .account-btn {
        padding: 7px 5px;
        font-size: 11px;
    }
    .nav-actions {
        gap: 2px;
    }
}

/* Programs dropdown */
.programs-menu {
  position:relative;
  display:flex;
align-items:center}

.programs-trigger {
  border:0;
  background:transparent;
  color:#17213b;
  font:inherit;
  font-weight:600;
  padding:12px 4px;
  display:flex;
  align-items:center;
  gap:7px;
position:relative}

.programs-trigger i {
  font-size:10px;
transition:transform .2s}

.programs-menu.open .programs-trigger i {
transform:rotate(180deg)}

.programs-trigger::after {
  content:"";
  position:absolute;
  right:-15px;
  left:0;
  bottom:2px;
  margin:auto;
  width:0;
  height:3px;
  border-radius:5px;
  background:var(--blue);
transition:.2s}

.programs-trigger:hover,.programs-trigger.active {
color:var(--blue)}

.programs-trigger:hover::after,.programs-trigger.active::after {
width:30px}

.programs-dropdown {
  position:absolute;
  top:calc(100% + 8px);
  right:50%;
  transform:translateX(50%) translateY(8px);
  width:235px;
  padding:8px;
  background:#fff;
  border:1px solid #e3eaf3;
  border-radius:13px;
  box-shadow:0 16px 38px rgba(15,44,82,.16);
  opacity:0;
  visibility:hidden;
  z-index:1100;
transition:.2s}

.programs-menu.open .programs-dropdown,.programs-menu:hover .programs-dropdown {
  opacity:1;
  visibility:visible;
transform:translateX(50%) translateY(0)}

.programs-dropdown a {
  display:flex!important;
  align-items:center;
  gap:11px;
  padding:11px 12px!important;
  border-radius:9px;
  color:#26344c!important;
  text-decoration:none;
white-space:nowrap}

.programs-dropdown a::after {
display:none!important}

.programs-dropdown a i {
  width:30px;
  height:30px;
  border-radius:8px;
  background:#eef6ff;
  color:var(--blue);
  display:grid;
  place-items:center;
font-size:14px}

.programs-dropdown a:hover,.programs-dropdown a.current {
  background:#f1f7ff;
color:var(--blue)!important}

/* Dashboard showcase */ .dashboards-showcase {
  padding:50px 0 92px;
  background:linear-gradient(180deg,#fff 0%,#f4f8fb 55%,#edf4f6 100%);
overflow:hidden}

.dashboards-heading {
  text-align:center;
  max-width:760px;
margin:0 auto}

.dashboards-heading h2 {
  font-size:36px;
  font-weight:800;
  line-height:1.45;
  color:#17213b;
margin:0}

.dashboards-heading p {
  font-size:15px;
  color:#68758a;
margin:12px 0 22px}

.dashboard-cta {
  display:inline-flex;
  align-items:center;
  gap:17px;
  padding:13px 24px;
  border-radius:28px;
  background:var(--blue);
  color:#fff;
  text-decoration:none;
  font-weight:700;
box-shadow:0 8px 22px rgba(45,145,141,.18)}

.dashboard-cta:hover {
  background:#fff;
  color:var(--blue);
  border: 1px solid var(--blue);
}

.dashboard-tabs {
  display:flex;
  justify-content:center;
  gap:9px;
margin:52px auto 20px}

.dashboard-tab {
  border:1px solid #d3dae4;
  background:#fff;
  color:#26344c;
  border-radius:24px;
  padding:10px 27px;
  font-family:inherit;
  font-weight:600;
  transition:.2s;
  font-size: 11px;
}

.dashboard-tab:hover,.dashboard-tab.active {
  background:#242b3a;
  border-color:#242b3a;
color:#fff}

.dashboard-stage {
  position:relative;
  min-height:580px;
  margin:0 auto;
  border-radius:30px;
  background:linear-gradient(145deg,#e7edf9,#cce5ff);
  padding:28px 42px 0;
  display:grid;
  align-items:center;
  overflow:hidden;
box-shadow:0 24px 55px rgba(35,70,105,.12)}

.dashboard-glow {
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 20% 25%,rgba(255,255,255,.78),transparent 34%),linear-gradient(180deg,transparent 60%,rgba(48,81,65,.18));
pointer-events:none}

.dashboard-image {
  position:relative;
  z-index:1;
  display:none;
  width:100%;
  max-height:535px;
  object-fit:contain;
  object-position:center bottom;
  border-radius:18px;
filter:drop-shadow(0 14px 24px rgba(24,52,83,.14));
box-shadow: 0px 2px 6px 9px #a4b4c5;
}

.dashboard-image.active {
  display:block;
animation:dashboardIn .35s ease}

@keyframes dashboardIn {
  from {
    opacity:0;
  transform:translateY(10px)}

  to {
    opacity:1;
  transform:none}

}

html[dir="ltr"] .programs-dropdown {
  right:auto;
  left:50%;
transform:translateX(-50%) translateY(8px)}

html[dir="ltr"] .programs-menu.open .programs-dropdown,html[dir="ltr"] .programs-menu:hover .programs-dropdown {
transform:translateX(-50%) translateY(0)}

html[dir="ltr"] .dashboard-cta i {
transform:rotate(180deg)}

@media(max-width:991px) {
  .programs-menu {
  display:block}

  .programs-trigger {
    width:100%;
    justify-content:center;
  padding:11px 8px}

  .programs-dropdown {
    position:static;
    width:100%;
    transform:none!important;
    display:none;
    opacity:1;
    visibility:visible;
    box-shadow:none;
    border:0;
    background:#f7faff;
  margin-top:2px}

  .programs-menu.open .programs-dropdown {
  display:block}

  .programs-menu:hover .programs-dropdown:not(:hover) {
  opacity:1}

  .programs-dropdown a {
  justify-content:center!important}

  .dashboards-showcase {
  padding:62px 0 70px}

  .dashboard-stage {
    min-height:480px;
  padding:24px 26px 0}

  .dashboard-image {
  max-height:440px}

}

@media(max-width:767px) {
  .dashboards-showcase {
  padding:50px 0 55px}

  .dashboards-heading {
  padding:0 18px}

  .dashboards-heading h2 {
  font-size:27px}

  .dashboards-heading p {
  font-size:13px}

  .dashboard-tabs {
    justify-content:flex-start;
    overflow-x:auto;
    margin:38px -12px 18px;
    padding:0 12px 5px;
  scrollbar-width:none}

  .dashboard-tabs::-webkit-scrollbar {
  display:none}

  .dashboard-tab {
    flex:0 0 auto;
  padding:9px 20px}

  .dashboard-stage {
    min-height:320px;
    border-radius:22px;
  padding:14px 12px 0}

  .dashboard-image {
    max-height:300px;
  border-radius:12px}

}

@media(max-width:480px) {
  .dashboards-heading h2 {
  font-size:25px}

  .dashboard-cta {
  padding:12px 21px}

  .dashboard-stage {
  min-height:275px}

  .dashboard-image {
  max-height:260px}

}

/* Responsive navbar and footer refinements */
.navbar-simple {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    min-height: 68px;
}
.brand-area {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}
.brand-lockup { margin: 0; }
.menu-button { order: initial; padding: 8px; }
.nav-actions { margin: 0; }
.footer-inner { direction: rtl; }
.footer-brand { min-width: 220px; }
.footer-social { min-width: 225px; }
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 2.3vw, 36px);
    margin-inline: auto;
}
.nav-links a {
    color: #101d43;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    padding: 24px 0 21px;
    transition: color .2s ease;
}
.nav-links a::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 14px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transform: translateX(50%);
    transition: width .2s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 24px; }

@media (min-width: 992px) {
    .slider-track { transform: none !important; }
    .menu-button { display: none; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .main-nav { height: 72px; padding: 0; }
    .brand-lockup { display: block; }
    .brand-name { font-size: 27px; }
    .menu-button { display: block; font-size: 23px; }
    .navbar-simple { position: relative; }
    .nav-links {
        display: none;
        position: absolute;
        z-index: 20;
        top: calc(100% + 1px);
        right: 12px;
        left: 12px;
        padding: 10px;
        border: 1px solid #e4eaf2;
        border-radius: 0 0 12px 12px;
        background: #fff;
        box-shadow: 0 12px 28px rgba(7, 22, 75, .12);
    }
    .nav-links.open { display: grid; grid-template-columns: repeat(4, auto); }
    .nav-links a { padding: 11px 8px; text-align: center; }
    .nav-links a::after { bottom: 5px; }
    .nav-actions { gap: 8px; }
    .language-btn, .login-btn, .account-btn { padding: 9px 12px; font-size: 13px; }
    .hero { min-height: 570px; }
    .hero-inner { min-height: 570px; }
    .hero-copy { max-width: 680px; margin: 0 auto; }
    .slider-viewport { overflow: visible; }
    .slider-track {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .program-card { max-width: none; margin: 0; width: 100%; }
    .program-card:last-child { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }
    .footer-inner { flex-direction: row; flex-wrap: wrap; justify-content: center; column-gap: 55px; }
    .footer-links { order: 3; width: 100%; justify-content: center; }
}

@media (max-width: 767px) {
    .main-nav { height: auto; min-height: 64px; padding: 8px 0; }
    .navbar-simple { min-height: 48px; gap: 8px; }
    .brand-area { gap: 4px; }
    .brand-lockup { display: block; }
    .brand-lockup .brand-name { font-size: 23px; }
    .brand-lockup small { font-size: 5.5px; margin-top: 4px; }
    .menu-button { display: block; font-size: 19px; padding: 7px 4px; }
    .navbar-simple { position: relative; }
    .nav-links {
        display: none;
        position: absolute;
        z-index: 20;
        top: calc(100% + 8px);
        right: 8px;
        left: 8px;
        margin: 0;
        padding: 8px;
        border: 1px solid #e4eaf2;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 12px 28px rgba(7, 22, 75, .14);
    }
    .nav-links.open { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
    .nav-links a { padding: 12px 8px; text-align: center; }
    .nav-links a::after { bottom: 5px; }
    .nav-actions { gap: 5px; }
    .language-btn { padding: 8px; }
    .login-btn, .account-btn { padding: 8px 10px; }
    .account-btn i { display: none; }
    .language-btn span { display: none; }
    .language-btn::after { margin: 0 4px 0 0; }
    .hero { min-height: auto; background-position: 62% center; }
    .hero-inner { min-height: auto; }
    .hero-shade { background: linear-gradient(rgba(255,255,255,.97),rgba(255,255,255,.88)); }
    .hero-copy { padding: 42px 12px 48px; }
    .hero-brand { font-size: clamp(42px,14vw,58px); }
    .hero h1 { font-size: clamp(22px,7vw,28px); line-height: 1.45; }
    .hero p { max-width: 100%; font-size: 15px; line-height: 1.9; }
    .hero-slogan { display: none; }
    .pricing-section { padding: 32px 0 70px; }
    .slider-viewport { overflow: visible; }
    .slider-track { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; }
    .program-card { width: 100%; max-width: 520px; margin: 0 auto; }
    .footer-inner { gap: 28px; }
    .footer-brand, .footer-social { min-width: 0; width: 100%; text-align: center; }
    .footer-links { width: 100%; display: grid !important; grid-template-columns: repeat(2,auto); gap: 15px 28px !important; justify-content: center; }
}

@media (max-width: 480px) {
    .navbar-simple { flex-wrap: wrap; }
    .brand-area { width: 100%; justify-content: space-between; }
    .brand-lockup .brand-name { font-size: 27px; }
    .nav-actions { width: 100%; justify-content: center; border-top: 1px solid #edf1f5; padding-top: 8px; }
    .language-btn span { display: inline; }
    .login-btn, .account-btn, .language-btn { flex: 1; justify-content: center; white-space: nowrap; }
}

/* Final navigation overrides: keep the Programs submenu stable across the
   desktop menu and the existing tablet/mobile navigation grids. */
.nav-links .programs-menu { position: relative; align-self: stretch; }
.nav-links .programs-trigger { min-height: 100%; cursor: pointer; }
.nav-links .programs-dropdown a::after { display: none; }

@media (max-width: 991px) {
    .nav-links .programs-menu { display: block; }
    .nav-links .programs-trigger { width: 100%; min-height: 0; justify-content: center; padding: 11px 8px; }
    .nav-links .programs-dropdown {
        position: static;
        display: none;
        width: 100%;
        margin: 2px 0 0;
        padding: 5px;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        border: 0;
        box-shadow: none;
        background: #f7faff;
    }
    .nav-links .programs-menu:not(.open) .programs-dropdown { display: none !important; }
    .nav-links .programs-menu.open .programs-dropdown { display: block; }
    .nav-links .programs-dropdown a { justify-content: center; padding: 8px !important; }
}

@media (max-width: 767px) {
    /*.nav-links.open { grid-template-columns: repeat(4, minmax(0, 1fr)); }*/
    .nav-links .programs-menu { display: contents; }
    .nav-links .programs-trigger { min-width: 0; font-size: 14px; }
    .nav-links .programs-dropdown { display: none; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-links .programs-menu.open .programs-dropdown { display: grid; }
    /*.nav-links .programs-dropdown a { white-space: normal; }*/
}

/* Dashboard selector: inside the preview on desktop, above it on mobile. */
@media (min-width: 768px) {
    .dashboard-stage { padding-right: 190px; }
    .dashboard-stage .dashboard-tabs {
        position: absolute;
        z-index: 3;
        top: 50%;
        right: 22px;
        width: 145px;
        margin: 0;
        padding: 16px 12px;
        display: flex;
        flex-direction: column;
        gap: 9px;
        transform: translateY(-50%);
        border: 1px solid rgba(255,255,255,.72);
        border-radius: 22px;
        background: rgba(247,250,255,.88);
        box-shadow: 0 14px 35px rgba(31,53,82,.12);
        backdrop-filter: blur(8px);
    }
    .dashboard-stage .dashboard-tab { width: 100%; padding: 10px 8px; font-size: 12px; }
    html[dir="ltr"] .dashboard-stage { padding-right: 42px; padding-left: 190px; }
    html[dir="ltr"] .dashboard-stage .dashboard-tabs { right: auto; left: 22px; }
}

@media (max-width: 767px) {
    .dashboard-stage { display: grid; margin-top: 72px; padding: 14px 12px 0; overflow: visible; }
    .dashboard-stage .dashboard-tabs {
        position: absolute;
        z-index: 3;
        width: calc(100% + 24px);
        top: -58px;
        right: -12px;
        margin: -10px 0px;
        padding: 10px 12px 5px;
        background: #EDF5FF;
        border: 1px solid #FFFFFF;
    }
}
