:root {
    --navy-950: #03111f;
    --navy-900: #071a33;
    --navy-850: #0a2140;
    --navy-800: #0d2a50;
    --cyan-500: #20bff3;
    --cyan-400: #45d2ff;
    --cyan-300: #82e5ff;
    --white: #f8fcff;
    --muted: #9eb3c9;
    --border: rgba(125, 211, 252, .15);
    --glass: rgba(10, 35, 67, .62);
    --shadow: 0 24px 70px rgba(0, 7, 20, .38);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --transition: 260ms cubic-bezier(.2, .75, .25, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 8% 5%, rgba(32, 191, 243, .13), transparent 24rem),
        radial-gradient(circle at 92% 45%, rgba(42, 112, 188, .13), transparent 28rem),
        linear-gradient(145deg, var(--navy-950), var(--navy-900) 50%, #06172c);
    font-family: 'Tajawal', sans-serif;
    text-align: start;
    line-height: 1.75;
}

html[lang^="en"] body,
.en-font {
    font-family: 'Poppins', sans-serif;
}

.ar-font {
    font-family: 'Tajawal', sans-serif;
}

body {
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    color: var(--navy-950);
    background: var(--cyan-300);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), transform var(--transition);
}

a:hover {
    color: var(--cyan-300);
    text-decoration: none;
}

img {
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

.f-light {
    font-weight: 400;
}

.f-bold {
    font-weight: 700;
}

.f-bolder {
    font-weight: 800;
}

.f-cap {
    text-transform: capitalize;
}

.text-blue,
.text-purble {
    color: var(--cyan-400) !important;
}

.text-grey {
    color: var(--muted) !important;
}

.radius-10 {
    border-radius: 10px;
}

.radius-20 {
    border-radius: 20px;
}

.radius-30 {
    border-radius: 30px;
}

.radius-40 {
    border-radius: 40px;
}

.radius-50 {
    border-radius: 50px;
}

.page-glow {
    position: fixed;
    z-index: -1;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: .14;
    pointer-events: none;
}

.page-glow-one {
    inset: 5% auto auto -180px;
    background: var(--cyan-400);
}

.page-glow-two {
    inset: 55% -190px auto auto;
    background: #287ddd;
}

.hero-section {
    position: relative;
    min-height: 760px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .24;
    background-image: linear-gradient(rgba(125, 211, 252, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(125, 211, 252, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%);
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.site-nav {
    z-index: 20;
    margin-top: 22px;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(3, 17, 31, .68);
    box-shadow: 0 12px 35px rgba(0, 5, 18, .22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar-brand img {
    display: block;
    max-height: 42px;
    object-fit: contain;
}

.nav-link {
    position: relative;
    margin: 0 4px;
    padding: 10px 11px !important;
    color: #d8e7f4 !important;
    font-size: .92rem;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    inset-inline: 12px;
    bottom: 4px;
    height: 2px;
    border-radius: 4px;
    background: var(--cyan-400);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.nav-link:hover {
    color: var(--white) !important;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.language-link {
    display: flex;
    align-items: center;
    gap: 7px;
}

.btn-primary-nav,
.btn-main,
.btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 13px;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary-nav {
    padding: 11px 17px;
    margin-inline-start: 10px;
    color: var(--navy-950);
    background: linear-gradient(135deg, var(--cyan-300), var(--cyan-500));
}

.btn-primary-nav:hover,
.btn-main:hover {
    color: var(--navy-950);
    transform: translateY(-2px);
    box-shadow: 0 15px 34px rgba(32, 191, 243, .23);
}

.min-vh-hero {
    min-height: 650px;
    padding: 80px 0 110px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 13px;
    margin-bottom: 24px;
    border: 1px solid rgba(69, 210, 255, .2);
    border-radius: 999px;
    color: var(--cyan-300);
    background: rgba(69, 210, 255, .06);
    font-size: .84rem;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #42e8a7;
    box-shadow: 0 0 0 5px rgba(66, 232, 167, .1);
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(3.2rem, 6vw, 6.4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.hero-hello {
    display: block;
    color: var(--white);
}

.gradient-text {
    display: block;
    min-height: 1.2em;
    color: transparent;
    background: linear-gradient(100deg, var(--cyan-300), var(--cyan-500) 50%, #81aefb);
    -webkit-background-clip: text;
    background-clip: text;
}

.Typewriter__cursor {
    color: var(--cyan-400);
}

.hero-description {
    max-width: 680px;
    margin: 25px 0 0;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.btn-main {
    padding: 14px 23px;
    border: 0;
    color: var(--navy-950);
    background: linear-gradient(135deg, var(--cyan-300), var(--cyan-500));
}

.btn-glass {
    padding: 13px 23px;
    border: 1px solid rgba(203, 230, 251, .18);
    color: var(--white);
    background: rgba(255, 255, 255, .045);
}

.btn-glass:hover {
    color: var(--white);
    border-color: rgba(69, 210, 255, .45);
    background: rgba(69, 210, 255, .08);
    transform: translateY(-2px);
}

.hero-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.hero-social a {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: #cce0f1;
    background: rgba(255, 255, 255, .035);
}

.hero-social a:hover {
    color: var(--navy-950);
    background: var(--cyan-300);
    border-color: var(--cyan-300);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    display: grid;
    min-height: 490px;
    place-items: center;
}

.code-card {
    position: relative;
    z-index: 2;
    width: min(100%, 430px);
    border: 1px solid rgba(125, 211, 252, .2);
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(13, 42, 80, .88), rgba(5, 22, 43, .9));
    box-shadow: 0 40px 90px rgba(0, 5, 20, .48), inset 0 1px rgba(255, 255, 255, .05);
    transform: perspective(900px) rotateY(-8deg) rotateX(2deg);
}

[dir="rtl"] .code-card {
    transform: perspective(900px) rotateY(8deg) rotateX(2deg);
}

.code-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font: 500 .75rem 'Poppins', sans-serif;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff6a6a;
}

.window-dots span:nth-child(2) {
    background: #ffd056;
}

.window-dots span:nth-child(3) {
    background: #4cdd9b;
}

.code-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 300px;
    padding: 34px;
    color: #d8e8f5;
    font: 500 .94rem/1.7 'Poppins', monospace;
}

.code-card-body b {
    color: #a5bffc;
    font-weight: 500;
}

.code-card-body em,
.code-cyan {
    color: var(--cyan-300);
    font-style: normal;
}

.code-muted {
    color: #7892aa;
}

.code-indent {
    padding-left: 24px;
}

.visual-chip {
    position: absolute;
    z-index: 4;
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 13px;
    color: #e9f7ff;
    background: rgba(7, 26, 51, .92);
    box-shadow: var(--shadow);
    font: 600 .8rem 'Poppins', sans-serif;
}

.visual-chip i {
    color: var(--cyan-400);
    margin-right: 5px;
}

.chip-laravel {
    right: -34px;
    top: 25%;
}

.chip-design {
    left: -32px;
    bottom: 17%;
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(69, 210, 255, .12);
    border-radius: 50%;
    animation: slowSpin 18s linear infinite;
}

.orbit-one {
    width: 430px;
    height: 430px;
}

.orbit-two {
    width: 520px;
    height: 520px;
    border-style: dashed;
    animation-direction: reverse;
    animation-duration: 28s;
}

@keyframes slowSpin {
    to {
        transform: rotate(360deg);
    }
}

.section-space {
    position: relative;
    padding: 105px 0;
}

.section-heading {
    max-width: 770px;
    margin: 0 auto 52px;
}

.section-heading h2 {
    margin: 8px 0 14px;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -.025em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.section-kicker {
    display: inline-block;
    color: var(--cyan-400);
    font: 700 .78rem 'Poppins', sans-serif;
    letter-spacing: .13em;
}

.section-heading-inline {
    display: flex;
    max-width: none;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.heading-line {
    flex: 1;
    height: 1px;
    margin-bottom: 22px;
    background: linear-gradient(to right, var(--border), transparent);
}

[dir="rtl"] .heading-line {
    background: linear-gradient(to left, var(--border), transparent);
}

.experience-area {
    border-block: 1px solid rgba(125, 211, 252, .07);
    background: rgba(5, 23, 44, .36);
}

.experience-grid {
    margin: 0 -9px;
}

.experience-grid>div {
    padding: 9px;
}

.stat-card {
    position: relative;
    height: 100%;
    min-height: 260px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(13, 42, 80, .62), rgba(7, 26, 51, .58));
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: auto -20% -60% auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--cyan-400);
    filter: blur(70px);
    opacity: .12;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(69, 210, 255, .38);
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    color: var(--white);
    font: 800 4.1rem/1 'Poppins', sans-serif;
    letter-spacing: -.06em;
}

.stat-number span {
    color: var(--cyan-400);
    font-size: 2rem;
}

.stat-card h3 {
    margin: 30px 0 5px;
    color: #dcebf6;
    font-size: 1rem;
    font-weight: 700;
}

.stat-card p {
    margin: 0;
    color: var(--cyan-300);
    font-size: 1.02rem;
}

.projects-grid {
    margin: 0 -10px;
}

.project-item-container {
    padding: 10px;
}

.project-link {
    display: block;
}

.project-item {
    position: relative;
    isolation: isolate;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--white);
    background-position: center;
    background-size: cover;
    box-shadow: 0 15px 45px rgba(0, 7, 20, .24);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color var(--transition), background-position 1.1s ease;
}

.project-item::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 13, 27, .98), rgba(3, 18, 36, .1) 70%);
}

.project-item::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0;
    background: rgba(12, 93, 141, .17);
    transition: opacity var(--transition);
}

.project-link:hover .project-item {
    transform: translateY(-8px);
    border-color: rgba(69, 210, 255, .46);
    background-position: 54% 48%;
}

.project-link:hover .project-item::after {
    opacity: 1;
}

.project-index {
    position: absolute;
    top: 20px;
    inset-inline-start: 20px;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 13px;
    background: rgba(3, 17, 31, .56);
    backdrop-filter: blur(12px);
    font: 600 .72rem 'Poppins', sans-serif;
}

.caption {
    position: absolute;
    inset-inline: 25px;
    bottom: 24px;
}

.project-item .title {
    margin: 0 0 7px;
    font-size: 1.35rem;
    font-weight: 800;
}

.project-item .subtitle {
    max-width: calc(100% - 48px);
    margin: 0;
    overflow: hidden;
    color: #bdd0e0;
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-open {
    position: absolute;
    inset-inline-end: 0;
    bottom: 2px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    color: var(--navy-950);
    background: var(--cyan-300);
    transform: rotate(45deg);
    transition: transform var(--transition);
}

.project-link:hover .project-open {
    transform: rotate(0);
}

.empty-state {
    padding: 35px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    color: var(--muted);
    text-align: center;
}

.articles-area {
    overflow: hidden;
    background: rgba(4, 18, 35, .5);
}

.blog-swiper {
    overflow: visible;
    padding: 10px 4px 55px;
}

.swiper-slide {
    display: flex;
    height: auto;
}

.swiper-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.swiper-button-custom {
    display: grid;
    width: 47px;
    height: 47px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--white);
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
    transition: var(--transition);
}

.swiper-button-custom:hover {
    color: var(--navy-950);
    border-color: var(--cyan-300);
    background: var(--cyan-300);
}

.swiper-pagination-bullet {
    background: #6a8aa5;
    opacity: .45;
}

.swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 10px;
    background: var(--cyan-400);
    opacity: 1;
}

.blog-item,
.playlist-item {
    width: 100%;
    height: 100%;
    min-height: 390px;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--white);
    background: linear-gradient(145deg, rgba(13, 42, 80, .72), rgba(7, 26, 51, .74));
    box-shadow: 0 16px 45px rgba(0, 7, 20, .18);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.blog-item:hover,
.playlist-item:hover {
    transform: translateY(-7px);
    border-color: rgba(69, 210, 255, .4);
    box-shadow: var(--shadow);
}

.blog-item img,
.playlist-item img {
    width: 100%;
    height: 215px;
    border-radius: 15px;
    object-fit: cover;
    object-position: center;
}

.blog-item h3,
.playlist-item h3 {
    margin: 17px 7px 8px;
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 800;
}

.blog-item p,
.playlist-item p {
    margin: 0 7px 12px;
    color: var(--muted);
    font-size: .9rem;
}

.contact-section {
    padding-top: 80px;
}

.contact-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 55px;
    overflow: hidden;
    border: 1px solid rgba(69, 210, 255, .25);
    border-radius: var(--radius-xl);
    background: linear-gradient(125deg, rgba(13, 42, 80, .9), rgba(6, 27, 53, .88));
    box-shadow: var(--shadow);
}

.contact-card::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    inset: -130px -80px auto auto;
    border-radius: 50%;
    background: var(--cyan-400);
    filter: blur(90px);
    opacity: .15;
}

.contact-card h2 {
    position: relative;
    z-index: 1;
    margin: 8px 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 800;
}

.contact-email {
    position: relative;
    z-index: 1;
    color: var(--cyan-300);
    font: 500 1rem 'Poppins', sans-serif;
}

.contact-card .btn {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.site-footer {
    padding: 28px 0 38px;
    border-top: 1px solid rgba(125, 211, 252, .07);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-content p {
    margin: 0;
    color: var(--muted);
    font: 500 .85rem 'Poppins', sans-serif;
}

.site-footer .hero-social {
    margin: 0;
}

/* Article pages */
.navbar {
    color: var(--white);
}

.navbar.navbar-scrolled {
    background: rgba(3, 17, 31, .9);
    backdrop-filter: blur(16px);
}

.article-page {
    color: #dceaf5;
}

.article-page img {
    width: 100%;
    max-height: 520px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.article-page h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
}

.article-page h2 {
    color: var(--cyan-300);
    font-size: 1.55rem;
    font-weight: 700;
}

.article-page p {
    color: #c1d1df;
    line-height: 2;
}

.similer-box {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 17px;
    color: var(--white);
    background: var(--glass);
}

.similer-box.current {
    border-inline-start: 4px solid var(--cyan-400);
}

.similer-box img {
    min-height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.similer-box-caption {
    padding-top: 8px;
}

.similer-box-caption h3 {
    font-size: .92rem;
    font-weight: 700;
}

.similer-box-caption p {
    color: var(--muted);
    font-size: .8rem;
}

/* Livewire modal, question form and comments */
#modal-container {
    color: var(--white);
    background: var(--navy-900);
    text-align: start !important;
}

.ask-container {
    position: relative;
    padding: 3.2rem 1.7rem 1.7rem;
    overflow: hidden;
    border: 1px solid rgba(69, 210, 255, .18);
    border-radius: var(--radius-lg);
    color: var(--white);
    background: linear-gradient(145deg, #0b294e, #071a33);
    box-shadow: var(--shadow);
}

.ask-container::after {
    content: '';
    position: absolute;
    z-index: 0;
    width: 180px;
    height: 180px;
    inset: -100px -75px auto auto;
    border-radius: 50%;
    background: var(--cyan-400);
    filter: blur(65px);
    opacity: .13;
    pointer-events: none;
}

.ask-container>* {
    position: relative;
    z-index: 1;
}

.container-circles {
    position: absolute !important;
    z-index: 3 !important;
    top: 1.05rem;
    left: 1.1rem;
    display: flex;
    gap: 8px;
    direction: ltr;
}

.container-circles span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}

.container-circles #red {
    background: #ff6b6b;
}

.container-circles #yellow {
    background: #ffd166;
}

.container-circles #green {
    background: #47df9b;
}

.ask-container label {
    margin-bottom: 8px;
    color: #cfe1ef;
    font-size: .9rem;
    font-weight: 700;
}

.ask-container .form-control {
    min-height: 48px;
    border: 1px solid rgba(158, 179, 201, .18);
    border-radius: 13px;
    color: var(--white);
    background: rgba(3, 17, 31, .48);
    box-shadow: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.ask-container textarea.form-control {
    min-height: 135px;
    padding-top: 12px;
    resize: vertical;
}

.ask-container .form-control:focus {
    color: var(--white);
    border-color: var(--cyan-400);
    background: rgba(3, 17, 31, .7);
    box-shadow: 0 0 0 4px rgba(69, 210, 255, .09);
}

.ask-container .form-control::placeholder {
    color: #6f899f;
}

.ask-container select.form-control option {
    color: #13253a;
    background: #fff;
}

.val-error,
.invalid-feedback {
    color: #ff9b9b;
    font-size: .8rem;
}

.container-btn {
    min-height: 48px;
    border: 0 !important;
    border-radius: 13px;
    color: var(--navy-950) !important;
    background: linear-gradient(135deg, var(--cyan-300), var(--cyan-500)) !important;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(32, 191, 243, .16);
    transition: transform var(--transition), box-shadow var(--transition);
}

.container-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(32, 191, 243, .26);
}

.container-btn:disabled {
    cursor: not-allowed;
    opacity: .65;
    transform: none;
}

.ask-container .alert {
    border: 1px solid transparent;
    border-radius: 13px;
}

.ask-container .alert-success {
    color: #bdf7dd;
    border-color: rgba(71, 223, 155, .25);
    background: rgba(71, 223, 155, .1);
}

.ask-container .alert-danger {
    color: #ffc4c4;
    border-color: rgba(255, 107, 107, .25);
    background: rgba(255, 107, 107, .1);
}

.comment-date {
    color: #819aaf !important;
}

.hamburger {
    display: inline-block;
    padding: 11px;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
}

.hamburger-box {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 22px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    position: absolute;
    display: block;
    width: 30px;
    height: 2px;
    border-radius: 4px;
    background: var(--white);
    transition: transform .2s ease, top .2s ease;
}

.hamburger-inner {
    top: 10px;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    left: 0;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    top: 8px;
}

.hamburger.is-active .hamburger-inner {
    background: transparent;
}

.hamburger.is-active .hamburger-inner::before {
    top: 0;
    transform: rotate(45deg);
}

.hamburger.is-active .hamburger-inner::after {
    top: 0;
    transform: rotate(-45deg);
}

@media (max-width: 991.98px) {
    .site-nav {
        margin: 12px 15px 0;
        padding: 10px 13px;
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 12px;
        border-top: 1px solid var(--border);
    }

    .nav-link {
        margin: 2px 0;
        padding: 9px 6px !important;
    }

    .nav-link::after {
        display: none;
    }

    .btn-primary-nav {
        margin: 8px 0 0;
    }

    .min-vh-hero {
        min-height: auto;
        padding: 110px 0 125px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-social {
        justify-content: center;
    }

    .project-item {
        min-height: 390px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
    }

    .hero-copy h1 {
        font-size: clamp(2.6rem, 12vw, 4rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-space {
        padding: 78px 0;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .section-heading-inline {
        display: block;
    }

    .heading-line {
        display: none;
    }

    .swiper-controls {
        margin-top: 20px;
    }

    .contact-card {
        display: block;
        padding: 34px 25px;
    }

    .contact-card .btn {
        margin-top: 26px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .project-item {
        min-height: 420px;
    }
}

@media (max-width: 575.98px) {
    .site-nav {
        border-radius: 16px;
    }

    .navbar-brand img {
        max-width: 86px;
    }

    .min-vh-hero {
        padding: 92px 0 105px;
    }

    .hero-badge {
        font-size: .75rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .stat-card {
        min-height: 220px;
    }

    .project-item {
        min-height: 370px;
    }

    .ask-container {
        padding: 3rem 1rem 1rem;
        border-radius: 17px;
    }
}

/* Original ScrollMagic targets: no AOS/CSS transform animation on these elements. */
#aya {
    position: absolute;
    top: 15%;
    left: -10%;
    max-height: 400px;
    width: auto;
    max-width: 85%;
    opacity: .18;
    pointer-events: none;
}

.hero-copy,
.hero-visual {
    position: relative;
    z-index: 1;
}

#scene1 {
    isolation: isolate;
}

#aboutmebig {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    font-size: clamp(100px, 15vw, 200px);
    font-weight: 500;
    opacity: .07;
    color: var(--cyan-300);
    pointer-events: none;
}

#scene2 {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 80px;
}

#paper {
    position: absolute;
    left: 10%;
    width: 80px;
    height: auto;
}

.paper-scene-section+.contact-section {
    margin-top: 200px;
}

/* Lighter typography, with natural spacing for connected Arabic letters. */
.f-bold,
.f-bolder {
    font-weight: 500;
}

.hero-copy h1 {
    font-size: clamp(2.6rem, 4.8vw, 4.8rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
}

.hero-hello {
    font-weight: 300;
}

.hero-description {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 2;
}

.section-heading h2,
.contact-card h2 {
    font-size: clamp(1.85rem, 3.4vw, 2.85rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
}

.section-heading p {
    font-size: 1rem;
    line-height: 2;
}

.hero-badge,
.btn-primary-nav,
.btn-main,
.btn-glass,
.container-btn,
.stat-card h3,
.ask-container label,
.project-item .title,
.blog-item h3,
.playlist-item h3,
.similer-box-caption h3 {
    font-weight: 500;
}

.stat-number {
    font-weight: 400;
    font-size: 3.7rem;
    letter-spacing: -.035em;
}

.section-kicker {
    font-weight: 500;
    font-size: .72rem;
    letter-spacing: .16em;
}

.project-item .title {
    font-size: 1.22rem;
    line-height: 1.65;
}

.blog-item h3,
.playlist-item h3 {
    font-size: 1.07rem;
    line-height: 1.75;
}

.article-page h1 {
    font-size: clamp(1.85rem, 3.4vw, 2.85rem);
    font-weight: 500;
    line-height: 1.6;
}

.article-page h2 {
    font-weight: 500;
}

html[lang^="en"] .hero-copy h1,
html[lang^="en"] .section-heading h2 {
    letter-spacing: -.025em;
}

@media (max-width: 767.98px) {
    .hero-copy h1 {
        font-size: clamp(2.3rem, 8vw, 3.6rem);
        line-height: 1.45;
    }
}

@media (max-width: 480px) {
    #paper {
        width: 45px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}