:root {
    --navy-950: #061019;
    --navy-900: #091924;
    --navy-800: #0d2432;
    --navy-700: #12364a;
    --ink: #132633;
    --muted: #66808e;
    --white: #ffffff;
    --soft-white: #f4f9fa;
    --line: rgba(29, 90, 108, 0.14);
    --gold: #d7a954;
    --gold-light: #f7db9d;
    --cyan: #65d9db;
    --green: #21ad95;
    --shadow: 0 22px 70px rgba(5, 24, 35, 0.13);
    --radius-xl: 32px;
    --radius-lg: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--soft-white);
    font-family: "Vazirmatn", Tahoma, sans-serif;
    line-height: 1.9;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.page-noise {
    position: fixed;
    z-index: 30;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.ambient {
    position: fixed;
    z-index: -1;
    width: 450px;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(95px);
    opacity: 0.25;
    pointer-events: none;
}

.ambient-one {
    top: -180px;
    right: -130px;
    background: #40b8ba;
}

.ambient-two {
    top: 43%;
    left: -250px;
    background: #e8bb69;
    opacity: 0.16;
}

.ambient-three {
    bottom: -260px;
    right: 15%;
    background: #55a8d0;
    opacity: 0.15;
}

.topbar {
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 26px 16px;
    color: #fff;
}

.topbar-inner,
.brand,
.back-home,
.hero-actions,
.mini-trust,
.signature-row,
.section-intro,
.footer-inner {
    display: flex;
    align-items: center;
}

.topbar-inner,
.footer-inner {
    justify-content: space-between;
}

.topbar-inner {
    width: 100%;
}

.brand {
    gap: 12px;
}

.brand-icon {
    display: grid;
    width: 47px;
    height: 47px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--gold-light);
    font-size: 20px;
    backdrop-filter: blur(12px);
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.4;
}

.brand strong {
    font-size: 17px;
    font-weight: 800;
}

.brand small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
}

.back-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 100px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    text-align: center;
    transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
}

.back-home i {
    color: var(--gold-light);
    font-size: 12px;
    transition: transform 0.35s ease;
}

.back-home:hover {
    border-color: rgba(247, 219, 157, 0.7);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.back-home:hover i {
    transform: translateX(-4px);
}

.back-home:focus-visible {
    outline: 3px solid rgba(101, 217, 219, 0.7);
    outline-offset: 3px;
}

.hero {
    position: relative;
    min-height: 760px;
    padding: 155px 0 90px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 73% 40%, rgba(52, 165, 173, 0.27), transparent 25%),
        radial-gradient(circle at 14% 84%, rgba(215, 169, 84, 0.13), transparent 26%),
        linear-gradient(130deg, #061019 0%, #0b2331 55%, #0d3442 100%);
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.24;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.hero::after {
    position: absolute;
    right: -9%;
    bottom: -170px;
    width: 70%;
    height: 300px;
    content: "";
    border-radius: 50%;
    background: #f4f9fa;
    transform: rotate(-8deg);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 55px;
    align-items: center;
}

.eyebrow,
.section-kicker {
    margin: 0 0 13px;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid rgba(215, 169, 84, 0.3);
    border-radius: 50px;
    background: rgba(215, 169, 84, 0.1);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 0 0 rgba(247, 219, 157, 0.6);
    animation: pulse 2s infinite;
}

.hero h1 {
    margin: 0;
    font-size: clamp(40px, 5vw, 75px);
    font-weight: 900;
    line-height: 1.28;
    letter-spacing: -2px;
}

.hero .hero-content h1 {
    font-size: 30px !important;
    line-height: 1.4 !important;
}

.hero h1 span,
.center-heading h2 span,
.method-content h2 span,
.section-intro h2 span,
.cta-box h2 span {
    color: var(--gold-light);
}

.hero-description {
    max-width: 600px;
    margin: 25px 0 29px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 2.15;
}

.hero-actions {
    flex-wrap: wrap;
    gap: 14px;
}

.main-button,
.text-button,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 50px;
    padding: 13px 28px;
    border: 1px solid rgba(247, 219, 157, 0.7);
    border-radius: 14px;
    color: #10242c;
    background: linear-gradient(135deg, #f9e5b6 0%, #d7a954 52%, #c6923e 100%);
    box-shadow:
        0 11px 24px rgba(215, 169, 84, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-button i,
.text-button i,
.cta-button i {
    font-size: 12px;
    transition: transform 0.35s ease;
}

.main-button:hover,
.text-button:hover,
.cta-button:hover {
    border-color: #fff2cc;
    background: linear-gradient(135deg, #fff0c8 0%, #e2b963 52%, #d49a3e 100%);
    box-shadow:
        0 17px 34px rgba(215, 169, 84, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transform: translateY(-4px);
}

.main-button:hover i,
.text-button:hover i,
.cta-button:hover i {
    transform: translateX(-4px);
}

.main-button:focus-visible,
.text-button:focus-visible,
.cta-button:focus-visible {
    outline: 3px solid rgba(101, 217, 219, 0.7);
    outline-offset: 3px;
}

.mini-trust {
    flex-wrap: wrap;
    gap: 14px 23px;
    margin-top: 41px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 11px;
}

.mini-trust div {
    display: flex;
    align-items: center;
    gap: 7px;
}

.mini-trust i {
    color: var(--cyan);
}

.hero-visual {
    position: relative;
    display: grid;
    min-height: 465px;
    place-items: center;
}

.image-card {
    position: relative;
    width: min(100%, 390px);
    aspect-ratio: 0.86;
    padding: 10px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 190px 190px 32px 32px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(15px);
}

.image-card img {
    width: 100%;
    height: 100%;
    border-radius: 181px 181px 25px 25px;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.9) contrast(1.05);
}

.image-shine {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 45%;
    height: 42%;
    border-radius: 0 180px 0 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent);
    pointer-events: none;
}

.hero-ring {
    position: absolute;
    border: 1px solid rgba(101, 217, 219, 0.28);
    border-radius: 50%;
}

.ring-one {
    width: 430px;
    height: 430px;
    border-left-color: transparent;
    animation: spin 16s linear infinite;
}

.ring-two {
    width: 500px;
    height: 500px;
    border-right-color: transparent;
    border-bottom-color: rgba(247, 219, 157, 0.35);
    animation: spin-reverse 20s linear infinite;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(5, 22, 31, 0.72);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
}

.degree-card {
    right: -60px;
    bottom: 55px;
    padding: 12px;
    border-radius: 15px;
}

.degree-card i {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px;
    color: #102b36;
    background: var(--gold-light);
}

.degree-card strong,
.degree-card span {
    display: block;
    line-height: 1.45;
}

.degree-card strong {
    color: #fff;
    font-size: 10px;
}

.degree-card span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 8px;
}

.arabic-card {
    top: 75px;
    left: -80px;
    flex-direction: column;
    align-items: flex-start;
    max-width: 160px;
    padding: 13px 16px;
    border-radius: 16px;
}

.arabic-word {
    color: var(--gold-light);
    font-family: Tahoma, sans-serif;
    font-size: 10px;
    font-weight: 700;
}

.arabic-card small {
    color: rgba(255, 255, 255, 0.65);
    font-size: 8px;
    line-height: 1.8;
}

.scroll-hint {
    position: absolute;
    z-index: 3;
    right: 50%;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(233, 155, 155, 0.55);
    font-size: 30px;
    transform: translateX(50%);
}

.scroll-hint span {
    color: rgb(63, 47, 1);
}

.scroll-hint i {
    color: var(--gold-light);
    animation: mouseMove 1.8s ease infinite;
}

.section {
    position: relative;
    padding: 110px 0;
}

.two-column {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 90px;
    align-items: start;
}

.section-number {
    display: block;
    margin-bottom: 120px;
    color: #a9c1c9;
    font-size: 13px;
    font-weight: 800;
}

.section-title h2,
.center-heading h2,
.section-intro h2,
.method-content h2,
.cta-box h2 {
    margin: 0;
    color: var(--navy-900);
    font-size: clamp(28px, 3.4vw, 47px);
    font-weight: 900;
    line-height: 1.55;
    letter-spacing: -1px;
}

.section-title em {
    color: var(--green);
    font-style: normal;
}

.glass-content {
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.about-text {
    padding: 35px 37px;
}

.about-text p {
    margin: 0 0 17px;
    color: #4e6975;
    font-size: 14px;
    line-height: 2.3;
}

.about-text strong {
    color: #193b4b;
}

.signature-row {
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.signature-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy-800), #1e5664);
    font-size: 12px;
    font-weight: 800;
}

.signature-row strong,
.signature-row span {
    display: block;
    line-height: 1.65;
}

.signature-row strong {
    color: #183542;
    font-size: 12px;
}

.signature-row span {
    color: var(--muted);
    font-size: 10px;
}

.education-section {
    overflow: hidden;
    background: linear-gradient(180deg, #eef6f7 0%, #f8fbfb 100%);
}

.center-heading {
    max-width: 800px;
    margin: 0 auto 70px;
    text-align: center;
}

.center-heading .section-kicker {
    color: var(--green);
}

.center-heading > p:last-child {
    margin: 13px auto 0;
    color: var(--muted);
    font-size: 13px;
}

.timeline {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}

.timeline::before {
    position: absolute;
    top: 0;
    right: 50%;
    bottom: 0;
    width: 2px;
    content: "";
    background: linear-gradient(to bottom, transparent, #8ab0b8 8%, #8ab0b8 90%, transparent);
    transform: translateX(50%);
}

.timeline-item {
    position: relative;
    display: flex;
    width: 50%;
    margin-bottom: 34px;
}

.right-item {
    justify-content: flex-start;
    padding-left: 58px;
}

.left-item {
    right: 50%;
    justify-content: flex-end;
    padding-right: 58px;
}

.timeline-dot {
    position: absolute;
    z-index: 2;
    top: 27px;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 5px solid #edf6f7;
    border-radius: 50%;
    color: #fff;
    background: var(--navy-700);
    box-shadow: 0 0 0 1px #89aeb6;
    font-size: 13px;
}

.right-item .timeline-dot {
    left: -23px;
}

.left-item .timeline-dot {
    right: -23px;
}

.timeline-card {
    width: 100%;
    padding: 23px 25px;
    border: 1px solid rgba(23, 84, 99, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 15px 35px rgba(19, 63, 75, 0.06);
    transition: 0.3s ease;
}

.timeline-card:hover {
    border-color: rgba(33, 173, 149, 0.4);
    box-shadow: 0 19px 38px rgba(19, 63, 75, 0.12);
    transform: translateY(-5px);
}

.degree-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
}

.timeline-card h3 {
    margin: 4px 0 5px;
    color: var(--navy-800);
    font-size: 16px;
}

.timeline-card p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 2;
}

.learning-section {
    background: #fff;
}

.section-intro {
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 47px;
}

.section-intro .section-kicker {
    color: var(--green);
}

.section-intro > p {
    max-width: 380px;
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 13px;
    line-height: 2.15;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.service-card {
    position: relative;
    min-height: 260px;
    padding: 26px 22px;
    overflow: hidden;
    border: 1px solid #e3eeee;
    border-radius: 20px;
    background: #fbfdfd;
    transition: 0.35s ease;
}

.service-card:hover {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(145deg, #0b2938, #145466);
    box-shadow: 0 20px 35px rgba(8, 53, 67, 0.2);
    transform: translateY(-8px);
}

.service-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 14px;
    color: var(--green);
    background: #e5f5f1;
    font-size: 18px;
    transition: 0.3s;
}

.service-card:hover .service-icon {
    color: var(--navy-800);
    background: var(--gold-light);
}

.service-card > span {
    color: #86a3aa;
    font-size: 10px;
    font-weight: 700;
}

.service-card h3 {
    margin: 4px 0 9px;
    color: var(--navy-800);
    font-size: 18px;
    transition: 0.3s;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 2;
    transition: 0.3s;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover > span {
    color: #fff;
}

.card-line {
    position: absolute;
    right: 22px;
    bottom: 18px;
    width: 32px;
    height: 3px;
    border-radius: 5px;
    background: var(--gold);
    transition: 0.3s;
}

.service-card:hover .card-line {
    width: calc(100% - 44px);
}

.featured-card {
    border-color: rgba(215, 169, 84, 0.38);
    background: linear-gradient(145deg, #fffdf8, #fff);
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 3px 9px;
    border-radius: 20px;
    color: #74531b;
    background: #fff0c9;
    font-size: 8px;
    font-weight: 800;
}

.method-section {
    overflow: hidden;
    background: var(--navy-950);
}

.method-wrap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.method-visual {
    position: relative;
    display: grid;
    min-height: 380px;
    place-items: center;
}

.method-center {
    position: relative;
    z-index: 2;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(247, 219, 157, 0.5);
    border-radius: 50%;
    color: var(--gold-light);
    background: radial-gradient(circle at 30% 20%, #225267, #0a1d29);
    box-shadow: 0 0 75px rgba(70, 201, 198, 0.18);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
}

.method-center i {
    font-size: 29px;
}

.method-center strong {
    font-size: 15px;
    line-height: 1.6;
}

.method-orbit {
    position: absolute;
    border: 1px dashed rgba(101, 217, 219, 0.35);
    border-radius: 50%;
}

.orbit-a {
    width: 270px;
    height: 270px;
    animation: spin 16s linear infinite;
}

.orbit-b {
    width: 390px;
    height: 390px;
    border-color: rgba(247, 219, 157, 0.25);
    animation: spin-reverse 24s linear infinite;
}

.method-content .section-kicker {
    color: var(--cyan);
}

.method-content h2 {
    color: #fff;
}

.method-list {
    margin-top: 28px;
}

.method-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.method-item > span {
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 800;
}

.method-item h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 15px;
}

.method-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    line-height: 2;
}

.cta-section {
    padding: 100px 0;
    background: #f4f9fa;
}

.cta-box {
    position: relative;
    overflow: hidden;
    padding: 68px 8%;
    border-radius: var(--radius-xl);
    text-align: center;
    background: linear-gradient(120deg, #0a2735, #155e69);
    box-shadow: 0 25px 50px rgba(6, 42, 55, 0.2);
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        radial-gradient(circle at 0 0, #fff 2px, transparent 2.5px),
        radial-gradient(circle at 100% 100%, #fff 2px, transparent 2.5px);
    background-size: 28px 28px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-small-title {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 700;
}

.cta-box h2 {
    margin: 10px 0;
    color: #fff;
    font-size: clamp(26px, 3vw, 42px);
}

.cta-box p {
    max-width: 550px;
    margin: 0 auto 25px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 13px;
}

.cta-button {
    margin-top: 4px;
}

.footer {
    padding: 25px 0;
    color: rgba(255, 255, 255, 0.55);
    background: #061019;
    font-size: 10px;
}

.footer p {
    margin: 0;
}

.footer strong {
    color: var(--gold-light);
}

.scroll-top {
    position: fixed;
    z-index: 40;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    opacity: 0;
    color: #fff;
    background: var(--navy-800);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.17);
    cursor: pointer;
    pointer-events: none;
    transform: translateY(15px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.scroll-top i {
    position: relative;
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 19px;
    color: #fff;
    font-size: 0;
    line-height: 1;
}

/* رسم نوک فلش بدون وابستگی به فونت‌آوسم */
.scroll-top i::before {
    position: absolute;
    top: 2px;
    left: 50%;
    width: 8px;
    height: 8px;
    content: "";
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: translateX(-50%) rotate(45deg);
}

/* رسم بدنه فلش */
.scroll-top i::after {
    position: absolute;
    top: 4px;
    left: 50%;
    width: 2px;
    height: 13px;
    content: "";
    border-radius: 2px;
    background: currentColor;
    transform: translateX(-50%);
}

.scroll-top:hover {
    background: var(--navy-700);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
    transform: translateY(-3px);
}

.scroll-top:focus-visible {
    outline: 3px solid rgba(101, 217, 219, 0.7);
    outline-offset: 3px;
}



.show-scroll-top {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.no-aos [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 8px rgba(247, 219, 157, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(247, 219, 157, 0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes mouseMove {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

@media (max-width: 1000px) {
    .hero-grid {
        gap: 24px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .method-wrap {
        gap: 55px;
    }
}

@media (max-width: 760px) {
    .site-container {
        width: min(1180px, calc(100% - 32px));
        margin: 0 auto;
    }

    .topbar {
        padding: 16px;
    }

    .topbar-inner {
        justify-content: center;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 16px;
    }

    .brand strong {
        font-size: 13px;
    }

    .brand small {
        display: none;
    }

    .back-home {
        gap: 8px;
        width: auto;
        max-width: calc(100vw - 32px);
        padding: 9px 24px;
        font-size: 12px;
        white-space: nowrap;
        margin: 0;
    }

    .back-home span {
        display: inline;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 75px;
    }

    .hero::after {
        display: none;
    }

    .hero-grid,
    .two-column,
    .method-wrap {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero .hero-content h1 {
        font-size: 22px !important;
        line-height: 1.5 !important;
    }

    .hero h1 {
        font-size: clamp(38px, 12vw, 56px);
        letter-spacing: -1.5px;
    }

    .hero-description {
        margin-right: auto;
        margin-left: auto;
        font-size: 13px;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        width: min(100%, 330px);
        margin-right: auto;
        margin-left: auto;
        gap: 12px;
    }

    .main-button,
    .text-button,
    .cta-button {
        width: 100%;
        min-height: 49px;
        padding: 12px 18px;
        font-size: 13px;
    }

    .mini-trust {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        min-height: 380px;
        margin: 20px auto 40px;
        padding: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .ring-one {
        width: 300px;
        height: 300px;
    }

    .ring-two {
        width: 350px;
        height: 350px;
    }

    .image-card {
        width: 250px;
        height: 290px;
        aspect-ratio: auto;
        padding: 8px;
        overflow: visible;
        display: block;
        margin: 0 auto;
        border-radius: 140px 140px 24px 24px;
    }

    .image-card img {
        width: 100%;
        height: 100%;
        border-radius: 132px 132px 18px 18px;
    }

    .floating-card {
        position: absolute;
        width: auto;
        max-width: 150px;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.22);
        margin: 0;
    }

    .degree-card {
        right: -12px;
        bottom: 18px;
        padding: 10px 12px;
        border-radius: 13px;
        text-align: right;
        justify-content: flex-start;
    }

    .degree-card i {
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        border-radius: 9px;
    }

    .degree-card strong {
        font-size: 9px;
    }

    .degree-card span {
        font-size: 7px;
    }

    .arabic-card {
        top: 18px;
        left: -10px;
        align-items: flex-start;
        padding: 10px 12px;
        border-radius: 13px;
        text-align: right;
        max-width: 125px;
        background: rgba(5, 22, 31, 0.88);
    }

    .arabic-word {
        font-size: 11px;
        margin-bottom: 2px;
    }

    .arabic-card small {
        font-size: 8px;
        line-height: 1.6;
    }

    .image-shine {
        bottom: auto;
    }

    .scroll-hint {
        display: none;
    }

    .section {
        padding: 72px 0;
    }

    .two-column {
        gap: 28px;
    }

    .about-text {
        padding: 24px 20px;
    }

    .about-text p {
        font-size: 12px;
        line-height: 2.25;
    }

    .center-heading {
        margin-bottom: 42px;
    }

    .section-intro {
        display: block;
        margin-bottom: 28px;
    }

    .section-intro > p {
        margin-top: 14px;
        font-size: 12px;
    }

    .timeline::before {
        right: 22px;
    }

    .timeline-item,
    .left-item,
    .right-item {
        right: auto;
        width: 100%;
        padding: 0 56px 0 0;
        justify-content: initial;
    }

    .timeline-dot,
    .right-item .timeline-dot,
    .left-item .timeline-dot {
        right: 0;
        left: auto;
    }

    .timeline-card {
        padding: 18px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .service-card {
        min-height: 205px;
    }

    .method-wrap {
        gap: 15px;
    }

    .method-visual {
        min-height: 310px;
    }

    .orbit-a {
        width: 220px;
        height: 220px;
    }

    .orbit-b {
        width: 295px;
        height: 295px;
    }

    .method-center {
        width: 125px;
        height: 125px;
    }

    .cta-section {
        padding: 70px 0;
    }

    .cta-box {
        padding: 45px 18px;
        border-radius: 22px;
    }

    .footer-inner {
        display: block;
        text-align: center;
        line-height: 2.3;
    }

    .footer p + p {
        margin-top: 4px;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        padding-top: 110px;
    }

    .hero-grid {
        grid-template-columns: 1fr 0.8fr;
    }

    .hero-visual {
        min-height: 360px;
        padding-top: 0;
    }

    .image-card {
        display: block;
        width: 255px;
    }

    .floating-card {
        position: absolute;
        width: auto;
    }

    .degree-card {
        right: -35px;
        bottom: 20px;
    }

    .arabic-card {
        top: 35px;
        left: -40px;
        align-items: flex-start;
        max-width: 135px;
        text-align: right;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
