:root {
    --yellow: #2f80c7;
    --yellow-2: #b8d63a;
    --primary-blue: #2f80c7;
    --primary-blue-light: #4da2e0;
    --primary-blue-dark: #406bb3;
    --lime: #cddc29;
    --lime-light: #d3ed63;
    --black: #070b10;
    --dark: #121b24;
    --dark-soft: #1c2935;
    --gray: #65717b;
    --white: #fff;
    --shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
    --radius: 24px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "Changa", "Tajawal", sans-serif;
    background: #0b1117;
    color: #fff;
    line-height: 1.7;
}
button,
input {
    font: inherit;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}
.skip-link {
    position: fixed;
    top: -100px;
    right: 20px;
    z-index: 9999;
    padding: 10px 18px;
    background: #fff;
    color: #000;
}
.skip-link:focus {
    top: 15px;
}
.site-header {
    position: relative;
    z-index: 50;
}
.topbar {
    background: #fff;
    border-bottom: 1px solid rgba(47, 128, 199, 0.18);
}
.topbar__inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.brand img {
    height: 67px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}
.brand span {
    display: grid;
    color: var(--primary-blue-dark);
    line-height: 1.35;
}
.brand strong {
    font-size: clamp(1rem, 2vw, 1.15rem);
}
.brand small {
    color: #45515b;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}
.main-nav a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--primary-blue-dark);
    font-weight: 700;
    transition: 0.25s;
}
.main-nav a:hover {
    color: var(--primary-blue);
}
.main-nav i,
.section-heading > i,
.projects-banner i {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
}
.projects-banner i {
  background: #fff;
  color: var(--primary-blue);
}
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--primary-blue);
    color: #fff;
    font-size: 1.2rem;
}
.searchbar {
    padding: 11px 0;
    background: linear-gradient(90deg, var(--primary-blue-dark), var(--primary-blue));
}
.search-form {
    max-width: 380px;
    display: flex;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 12px;
    background: rgba(9, 32, 50, 0.14);
}
.search-form input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 9px 14px;
    color: #fff;
    background: transparent;
}
.search-form input::placeholder {
    color: rgba(255, 255, 255, 0.76);
}
.search-form button {
    width: 48px;
    border: 0;
    cursor: pointer;
    color: #fff;
    background: transparent;
}
.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #111;
}
.hero__slides,
.hero__slide,
.hero__overlay {
    position: absolute;
    inset: 0;
}
.hero__slides {
    z-index: -3;
}
.hero__slide {
    opacity: 0;
    visibility: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.06);
    transition:
        opacity 1s ease,
        visibility 1s ease,
        transform 7s ease;
}
.hero__slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.hero__overlay {
    z-index: -2;
    background: linear-gradient(
        90deg,
        rgba(5, 15, 24, 0.78) 0%,
        rgba(7, 21, 32, 0.58) 34%,
        rgba(8, 22, 33, 0.31) 57%,
        rgba(6, 17, 27, 0.68) 100%
    );
}
.hero__content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(430px, 0.88fr);
    grid-template-areas: "story links";
    gap: clamp(40px, 6vw, 95px);
    align-items: center;
    padding: 75px 0 85px;
}
.hero__stories {
    grid-area: story;
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
}
.hero__story {
    position: absolute;
    inset-inline: 0;
    opacity: 0;
    visibility: hidden;
    padding: 28px 30px;
    border-radius: 28px;
    background: linear-gradient(90deg, rgba(7, 18, 27, 0.16), rgba(7, 18, 27, 0.58));
    backdrop-filter: blur(2px);
    transform: translateY(28px);
    transition:
        opacity 0.55s ease,
        visibility 0.55s ease,
        transform 0.55s ease;
}
.hero__story.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.hero__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--lime);
    font-size: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 9px rgba(0, 0, 0, 0.72);
}
.hero__story h1,
.hero__story h2 {
    max-width: 700px;
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(3rem, 5vw, 5.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    /*text-shadow:
        0 4px 16px rgba(0, 0, 0, 0.86),
        0 1px 2px rgba(0, 0, 0, 0.96);*/
}
.hero__story h2 {
    font-size: clamp(2.7rem, 4.1vw, 5rem);
}
.hero__story h1 span,
.hero__story h2 span {
    display: block;
    color: var(--primary-blue-light);
}
.hero__story p {
    max-width: 650px;
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    font-weight: 600;
    line-height: 1.95;
    text-shadow:
        0 3px 10px rgba(0, 0, 0, 0.86),
        0 1px 2px rgba(0, 0, 0, 0.96);
}
.hero__button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 27px;
    border: 2px solid var(--primary-blue-light);
    border-radius: 999px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    background: rgba(8, 25, 38, 0.67);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    transition: 0.25s;
}
.hero__button:hover {
    color: #14202a;
    background: var(--lime);
    border-color: var(--lime);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(184, 214, 58, 0.24);
}
.hero__links {
    grid-area: links;
    width: 100%;
    display: grid;
    gap: 18px;
}
.hero__link-card {
    position: relative;
    min-height: 128px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(10, 24, 35, 0.96), rgba(24, 42, 56, 0.88));
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    transition: 0.3s;
}
.hero__link-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: translateX(110%);
    transition: transform 0.65s ease;
}
.hero__link-card:hover {
    transform: translateX(-10px);
    border-color: rgba(184, 214, 58, 0.58);
    background: linear-gradient(90deg, rgba(7, 19, 29, 0.99), rgba(18, 37, 51, 0.97));
    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(184, 214, 58, 0.08);
}
.hero__link-card:hover::before {
    transform: translateX(-110%);
}
.hero__link-icon {
    position: relative;
    z-index: 2;
    flex: 0 0 53px;
    width: 53px;
    height: 53px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-blue);
    font-size: 1.15rem;
    box-shadow: 0 9px 24px rgba(47, 128, 199, 0.3);
    transition: 0.25s;
}
.hero__link-card:hover .hero__link-icon {
    color: #16212a;
    background: var(--lime);
    transform: scale(1.06);
}
.hero__link-content {
    position: relative;
    z-index: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.hero__link-content strong {
    color: var(--primary-blue-light);
    font-size: clamp(1.18rem, 1.6vw, 1.55rem);
    font-weight: 800;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.62);
}
.hero__link-content small {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.hero__arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    color: #fff;
    background: rgba(8, 23, 35, 0.72);
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
    transition: 0.25s;
}
.hero__arrow:hover {
    color: #15212a;
    background: var(--lime);
    border-color: var(--lime);
    transform: translateY(-50%) scale(1.08);
}
.hero__arrow--previous {
    right: 20px;
}
.hero__arrow--next {
    left: 20px;
}
.hero__dots {
    position: absolute;
    z-index: 5;
    bottom: 25px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 0px;
    transform: translateX(-50%);
}
.hero__dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    background: rgba(7, 18, 27, 0.82);
    cursor: pointer;
    transition: 0.25s;
}
.hero__dots button:hover {
    transform: scale(1.2);
}
.hero__dots button.active {
    width: 30px;
    border-color: var(--lime);
    border-radius: 999px;
    background: var(--lime);
}

.section {
    padding: 90px 0;
}

.section--dark {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 18% 10%,
            rgba(47, 128, 199, 0.12),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #101b25 0%,
            #263744 52%,
            #a7a7a7 100%
        );
}

.section--dark::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.02),
            transparent 35%,
            rgba(47, 128, 199, 0.035)
        );

    pointer-events: none;
}

.angle-top {
    clip-path: none;
}

.section-heading {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    margin-bottom: 58px;
}

.section-heading > i {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #fff;
    background: var(--primary-blue);

    box-shadow: 0 10px 24px rgba(47, 128, 199, 0.28);
}

.section-heading span {
    display: block;

    color: #d2dbe2;
    font-size: 0.88rem;
    font-weight: 600;
}

.section-heading h2 {
    margin: 0;

    color: var(--primary-blue);
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 800;
    line-height: 1.3;

    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.section-heading--center {
    text-align: center;
}

.guidance-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 38px 74px;
}

.line-card {
    --card-border-color: var(--primary-blue);
    --card-background: rgba(10, 23, 33, 0.13);

    position: relative;

    min-height: 112px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;

    padding: 22px 38px;

    border: 3px solid var(--card-border-color);

    color: #fff;
    background: var(--card-background);

    font-size: clamp(1.15rem, 1.7vw, 1.5rem);
    font-weight: 700;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025),
        0 12px 28px rgba(0, 0, 0, 0.08);

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/*
 * الغطاء يرسم فتحة صغيرة فوق الحد العلوي من الجهة اليسرى.
 * لون الغطاء يجب أن ينسجم مع خلفية القسم.
 */
.line-card::before {
    content: "";

    position: absolute;
    top: -5px;
    left: 48px;

    width: 82px;
    height: 9px;

    background: #243642;

    z-index: 2;
}

/* خط صغير عمودي عند بداية القطع ليحاكي التصميم الأصلي */
.line-card::after {
    content: "";

    position: absolute;
    top: -3px;
    left: 45px;

    width: 3px;
    height: 31px;

    /*background: var(--card-border-color);*/

    z-index: 3;

    transition: background 0.25s ease;
}

.line-card i,
.line-card span {
    position: relative;
    z-index: 4;
}

.line-card i {
    color: #fff;
    font-size: 1.25rem;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.line-card:hover {
    --card-border-color: var(--lime);

    color: #13212b;
    background: var(--lime);

    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(184, 214, 58, 0.1);
}

.line-card:hover::after {
    background: var(--lime);
}

.line-card:hover i {
    color: #13212b;
    transform: scale(1.08);
}


.projects-banner {
    padding: 80px 0;
    /*background:
        linear-gradient(rgba(8, 30, 46, 0.68), rgba(8, 30, 46, 0.68)),
        url("../images/projects.jpg") center/cover no-repeat;*/
    background-color: var(--primary-blue);
}
.projects-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    color: #fff;
}
.projects-banner h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.58);
}
.projects-banner .fa-cart-shopping {
    width: auto;
    height: auto;
    color: var(--lime);
    background: transparent;
    font-size: 4rem;
}
.section--gradient {
    background: radial-gradient(circle at 75% 15%, rgba(47, 128, 199, 0.14), transparent 30%),
        linear-gradient(#07111a, #425362);
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 54px 44px;
    margin-top: 10px;
}

.learning-grid a {
    --learning-border: var(--primary-blue);

    position: relative;

    min-height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 24px 24px;

    color: #fff;
    text-align: center;
    font-size: clamp(1.1rem, 1.5vw, 1.42rem);
    font-weight: 700;
    line-height: 1.65;

    background: rgba(10, 24, 35, 0.06);

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/*
 * رسم الإطار على شكل زاوية:
 * خط علوي + خط جانبي + خط سفلي
 */
 .learning-grid a::before{
     content:"";

     position:absolute;
     inset:0;

     border:3px solid var(--learning-border);

     pointer-events:none;

     transition:
         border-color .25s ease;
 }

/*
 * الجزء القصير النازل من الأعلى بجانب الأيقونة
 */
.learning-grid a::after {
    content: "";

    position: absolute;
    top: 0;
    right: 43px;

    width: 3px;
    height: 48px;

    /*background: var(--learning-border);*/

    pointer-events: none;

    transition: background 0.25s ease;
}

.learning-grid a i{

    position:absolute;
    z-index:3;

    top:-24px;
    right:-24px;

    width:54px;
    height:54px;

    display:grid;
    place-items:center;

    border-radius:50%;

    color:#fff;
    background:var(--primary-blue);

    font-size:1.12rem;

    box-shadow:
    0 10px 25px rgba(47,128,199,.30),
    0 0 0 6px rgba(12,24,33,.95);

    transition:
    .25s ease;
}

.learning-grid a span {
    position: relative;
    z-index: 2;

    max-width: 150px;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.learning-grid a:hover {
    --learning-border: var(--lime);

    color: var(--lime-light);
    background: rgba(8, 24, 35, 0.5);

    transform: translateY(-7px);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.18);
}

.learning-grid a:hover i {
    color: #15222b;
    background: var(--lime);

    transform: scale(1.08);

    box-shadow:
        0 10px 25px rgba(184, 214, 58, 0.28),
        0 0 0 5px rgba(184, 214, 58, 0.09);
}

@media (max-width: 1000px) {
    .learning-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 52px 36px;
    }

    .learning-grid a {
        min-height: 170px;
    }
}

@media (max-width: 600px) {
    .learning-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .learning-grid a {
        min-height: 145px;
        padding: 35px 20px 20px;
        font-size: 1.08rem;
    }

    .learning-grid a::before {
        background:
            linear-gradient(
                var(--learning-border),
                var(--learning-border)
            ) top right / calc(100% - 42px) 0 no-repeat,

            linear-gradient(
                var(--learning-border),
                var(--learning-border)
            ) right top / 0 100% no-repeat,

            linear-gradient(
                var(--learning-border),
                var(--learning-border)
            ) bottom right / 78% 0 no-repeat;
    }

    .learning-grid a::after {
        right: 39px;
        height: 42px;
    }

    .learning-grid a i {
        top: -22px;
        right: 16px;

        width: 50px;
        height: 50px;
    }

    .learning-grid a span {
        max-width: none;
    }
}

.section--black {
    background: radial-gradient(circle at 10% 10%, rgba(184, 214, 58, 0.07), transparent 24%),
        linear-gradient(105deg, #05090d, #263744);
}
.startup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.startup-card {
    overflow: hidden;
    color: #161616;
    background: #f7f9fb;
    box-shadow: var(--shadow);
    transition: 0.25s;
}
.startup-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.3);
}
.startup-card__image {
    height: 180px;
    background-position: center;
    background-size: cover;
}
.image-idea {
  /*  background:
        linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
        url("../images/project1.jpg") 85% center/cover;*/
}
.image-funding {
  /*  background:
        linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
        url("../images/project2.jpg") 62% center/cover;*/
}
.image-orgs {
  /*  background:
        linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
        url("../images/project3.jpg") 38% center/cover;*/
}
.image-consult {
  /*  background:
        linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
        url("../images/project4.jpg") 10% center/cover;*/
}
.startup-card > div:last-child {
    padding: 20px;
}
.startup-card i {
    color: var(--primary-blue);
    font-size: 1.5rem;
}
.startup-card h3 {
    margin: 6px 0;
    color: #152432;
    font-size: 1.08rem;
}
.startup-card p {
    margin: 0;
    color: #66727c;
    font-size: 0.88rem;
}
.site-footer {
    padding: 50px 0 20px;
    color: #fff;
    background: linear-gradient(115deg, var(--primary-blue-dark), var(--primary-blue));
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    gap: 32px;
}
.site-footer h3 {
    margin: 0 0 12px;
    padding-right: 10px;
    border-right: 4px solid var(--lime);
    color: #fff;
    font-size: 1rem;
}
.site-footer section > a {
    display: block;
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.88rem;
}
.site-footer section > a:hover {
    color: var(--lime-light);
}
.site-footer p {
    margin: 0;
}
.footer-bottom {
    margin-top: 35px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.26);
    font-size: 0.85rem;
}
.footer-bottom div {
    display: flex;
    gap: 10px;
}
.footer-bottom a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #15212a;
    background: var(--lime);
}
.accessibility-button,
.back-to-top {
    position: fixed;
    z-index: 90;
    display: grid;
    place-items: center;
    border: 0;
    cursor: pointer;
}
.accessibility-button {
    left: 16px;
    bottom: 95px;
    width: 58px;
    height: 58px;
    border-radius: 12px;
    color: #fff;
    background: var(--primary-blue);
    font-size: 2rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    display: none;
}
.back-to-top {
    right: 18px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #14212a;
    background: var(--lime);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}
.back-to-top:hover {
    transform: translateY(-3px);
}
@media (max-width: 1100px) {
    .hero {
        min-height: 660px;
    }
    .hero__content {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
        gap: 35px;
    }
    .hero__link-card {
        min-height: 112px;
        padding: 19px 23px;
    }
    .hero__story h1,
    .hero__story h2 {
        letter-spacing: -1px;
    }
}
@media (max-width: 900px) {
    .menu-toggle {
        display: grid;
        place-items: center;
    }
    .main-nav {
        position: absolute;
        top: 92px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 16px;
        background: #101b25;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    }
    .main-nav.open {
        display: flex;
    }
    .main-nav a {
        color: #fff;
    }
    .hero {
        min-height: auto;
        align-items: stretch;
    }
    .hero__overlay {
        background: linear-gradient(180deg, rgba(5, 16, 25, 0.55), rgba(5, 16, 25, 0.5) 36%, rgba(5, 16, 25, 0.88));
    }
    .hero__content {
        grid-template-columns: 1fr;
        grid-template-areas: "story" "links";
        gap: 32px;
        padding-top: 65px;
        padding-bottom: 90px;
    }
    .hero__stories {
        min-height: 340px;
        text-align: center;
    }
    .hero__story {
        background: rgba(7, 18, 27, 0.52);
    }
    .hero__story h1,
    .hero__story h2,
    .hero__story p {
        margin-inline: auto;
    }
    .hero__links {
        max-width: 650px;
        margin-inline: auto;
    }
    .hero__link-card {
        min-height: 100px;
    }
    .hero__arrow {
        top: 36%;
        width: 42px;
        height: 42px;
    }
    .hero__arrow--previous {
        right: 10px;
    }
    .hero__arrow--next {
        left: 10px;
    }
    .startup-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 1180px);
    }
    .brand strong {
        font-size: 0.85rem;
    }
    .brand small {
        font-size: 0.72rem;
    }
    .brand img {
        width: 52px;
        height: 52px;
    }
    .topbar__inner {
        min-height: 74px;
    }
    .main-nav {
        top: 74px;
    }
    .search-form {
        max-width: none;
    }
    .hero__content {
        width: min(100% - 28px, 1180px);
        padding-top: 45px;
        padding-bottom: 80px;
    }
    .hero__stories {
        min-height: 390px;
        padding-inline: 0;
    }
    .hero__story {
        padding: 22px 18px;
        border-radius: 22px;
    }
    .hero__story h1,
    .hero__story h2 {
        font-size: clamp(2.3rem, 11vw, 3.35rem);
        line-height: 1.15;
    }
    .hero__story p {
        font-size: 0.96rem;
        line-height: 1.8;
    }
    .hero__links {
        gap: 12px;
    }
    .hero__link-card {
        min-height: 88px;
        gap: 13px;
        padding: 14px 18px;
        border-radius: 28px;
    }
    .hero__link-card:hover {
        transform: translateY(-3px);
    }
    .hero__link-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 0.95rem;
    }
    .hero__link-content strong {
        font-size: 1.05rem;
    }
    .hero__link-content small {
        font-size: 0.82rem;
    }
    .hero__arrow {
        top: 30%;
        width: 38px;
        height: 38px;
    }
    .hero__dots {
        bottom: 20px;
    }
    .startup-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .projects-banner__inner {
        gap: 16px;
    }
    .projects-banner .fa-cart-shopping {
        font-size: 2.5rem;
    }
    .footer-bottom {
        align-items: flex-start;
        gap: 14px;
        flex-direction: column;
    }
    .accessibility-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .hero__slide,
    .hero__story,
    .hero__link-card,
    .hero__button,
    .hero__arrow,
    .hero__dots button,
    .line-card,
    .learning-grid a,
    .startup-card {
        transition: none;
    }
}

@media (max-width: 900px) {
    .guidance-grid {
        gap: 28px;
    }

    .line-card {
        min-height: 100px;
        padding-inline: 28px;
    }

    .line-card::before {
        left: 38px;
        width: 70px;
    }

    .line-card::after {
        left: 35px;
    }
}

@media (max-width: 600px) {
    .section--dark {
        background:
            radial-gradient(
                circle at 50% 0%,
                rgba(47, 128, 199, 0.12),
                transparent 34%
            ),
            linear-gradient(
                145deg,
                #101b25,
                #253641
            );
    }

    .section-heading {
        margin-bottom: 40px;
        align-items: center;
        text-align: center;
    }

    .guidance-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .line-card {
        min-height: 94px;
        padding: 19px 22px;
        font-size: 1.08rem;
    }

    .line-card::before {
        left: 32px;
        width: 62px;
        background: #22333f;
    }

    .line-card::after {
        left: 29px;
        height: 27px;
    }
}

.fa-volume-high{
    cursor:pointer;
    transition:.25s;
}

.is-speaking{
    animation:speakingPulse 1s infinite;
}

@keyframes speakingPulse{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.15);
    }

    100%{
        transform:scale(1);
    }

}


/* =========================================================
   ACCESSIBILITY ENHANCEMENTS
========================================================= */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:where(a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px #07111a, 0 0 0 6px var(--lime);
}

.nav-item { display: flex; align-items: center; gap: 9px; }
.nav-item > a { min-height: 44px; display: inline-flex; align-items: center; }

.speech-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.speech-button--plain {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary-blue);
}
.section-heading__speech,
.projects-banner__speech {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary-blue);
  box-shadow: 0 10px 24px rgba(47,128,199,.28);
}
.projects-banner__speech { color: var(--primary-blue); background: #fff; }

.hero__link-content { flex: 1; }
.hero__rotation-toggle {
  position: absolute;
  z-index: 6;
  bottom: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: #fff;
  background: rgba(8,23,35,.78);
  cursor: pointer;
}

.hero__dots button {
  position: relative;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
}
.hero__dots button::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(7,18,27,.82);
}
.hero__dots button.active { width: 36px; background: transparent; }
.hero__dots button.active::before { inset-inline: 5px; border-color: var(--lime); border-radius: 999px; background: var(--lime); }

.learning-grid a .learning-icon {
  position: absolute;
  z-index: 3;
  top: -24px;
  right: -24px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary-blue);
  box-shadow: 0 10px 25px rgba(47,128,199,.3), 0 0 0 6px rgba(12,24,33,.95);
}
.learning-grid a > i { display: none; }

.projects-banner__link { min-width: 56px; min-height: 56px; display: grid; place-items: center; }

.accessibility-panel {
  position: fixed;
  z-index: 120;
  left: 16px;
  bottom: 165px;
  width: min(340px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  color: #fff;
  background: #122333;
  box-shadow: 0 22px 55px rgba(0,0,0,.38);
}
.accessibility-panel[hidden] { display: none; }
.accessibility-panel__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.accessibility-panel h2 { margin: 0; font-size: 1.2rem; }
.accessibility-panel p { margin: 10px 0 15px; color: #dbe8f2; font-size: .92rem; }
.accessibility-panel__close { width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); cursor: pointer; }
.accessibility-action { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 10px; margin-top: 9px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: #fff; background: rgba(255,255,255,.06); cursor: pointer; }

.is-speaking { animation: speakingPulse 1s infinite; }
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }

@media (max-width: 900px) {
  .main-nav .nav-item { width: 100%; }
  .main-nav .nav-item > a { flex: 1; }
}
@media (max-width: 600px) {
  .hero__rotation-toggle { right: 12px; bottom: 16px; }
  .accessibility-panel { bottom: 150px; }
}


/* =========================================================
   ACCESSIBILITY VISUAL CONFLICT FIXES
   Keep the original design while preserving real buttons.
========================================================= */

/* Prevent old generic icon rules from drawing a second circle
   inside every speech button. */
.speech-button > i,
.main-nav .speech-button > i,
.section-heading .speech-button > i,
.projects-banner .speech-button > i,
.hero__link-icon > i,
.learning-icon > i {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: inline-block !important;
    place-items: initial !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: inherit !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Header: one circle only, matching the previous design. */
.main-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav .speech-button--plain {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
}

/* Section heading and projects banner: one circle only. */
.section-heading__speech,
.projects-banner__speech {
    padding: 0;
    overflow: visible;
}

/* Rebuild the learning cards without nested interactive elements. */
.learning-grid {
    align-items: stretch;
}

.learning-card {
    --learning-border: var(--primary-blue);
    position: relative;
    min-width: 0;
    min-height: 190px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.learning-card__link {
    position: absolute;
    inset: 0;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 24px;
    border: 3px solid var(--learning-border);
    color: #fff;
    background: rgba(10, 24, 35, .06);
    text-align: center;
    font-size: clamp(1.1rem, 1.5vw, 1.42rem);
    font-weight: 700;
    line-height: 1.65;
    transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.learning-card__link span {
    max-width: 150px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

.learning-card .learning-icon {
    position: absolute;
    z-index: 4;
    top: -24px;
    right: -24px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(47,128,199,.30), 0 0 0 6px rgba(12,24,33,.95);
    transition: color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.learning-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .18);
}

.learning-card:hover .learning-card__link {
    color: var(--lime-light);
    border-color: var(--lime);
    background: rgba(8, 24, 35, .5);
}

.learning-card:hover .learning-icon {
    color: #15222b;
    background: var(--lime);
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(184,214,58,.28), 0 0 0 5px rgba(184,214,58,.09);
}

/* Neutralize the old rules that targeted every link and every nested i. */
.learning-grid > a {
    display: none !important;
}

@media (max-width: 1000px) {
    .learning-card,
    .learning-card__link {
        min-height: 170px;
    }
}

@media (max-width: 600px) {
    .learning-card,
    .learning-card__link {
        min-height: 145px;
    }

    .learning-card__link {
        padding: 35px 20px 20px;
        font-size: 1.08rem;
    }

    .learning-card .learning-icon {
        top: -22px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

    .learning-card__link span {
        max-width: none;
    }
}

/* =========================================================
   PROJECTS PAGE
========================================================= */
.projects-page {
    background: #0b1117;
}
.projects-page-hero {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--primary-blue);
    /*background: url('../images/projects.jpg') center/cover no-repeat;*/
}
.projects-page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(6,18,28,.86), rgba(12,31,45,.58), rgba(47,128,199,.35));
}
.projects-page-hero__inner {
    padding-block: 54px;
}
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: rgba(255,255,255,.82);
    font-size: .82rem;
    justify-content: center;
}
.breadcrumbs a:hover {
    color: var(--lime-light);
}
.projects-page-hero__title {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}
.projects-page-hero__title h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.8rem, 5vw, 1.6rem);
    line-height: 1.1;
    text-shadow: 0 4px 18px rgba(0,0,0,.5);
}
.projects-page-hero__speech {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-blue);
    box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.projects-page-hero__cart {
    color: var(--lime);
    font-size: clamp(3rem, 7vw, 3.8rem);
}
.projects-page-hero p {
    max-width: 720px;
    margin: 18px 0 0;
    color: #f3f7fa;
    font-size: 1.05rem;
    font-weight: 500;
}
.projects-catalog {
    padding: 82px 0 100px;
    background:
        radial-gradient(circle at 15% 5%, rgba(47,128,199,.14), transparent 28%),
        linear-gradient(180deg, #070b10, #374650 70%, #8a8a8a);
}
.projects-catalog__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 38px;
    text-align: center;
}
.projects-catalog__heading span {
    display: block;
    color: #c9d2d9;
    font-size: .92rem;
}
.projects-catalog__heading h2 {
    margin: 0;
    color: var(--primary-blue-light);
    font-size: clamp(2rem, 4vw, 3.2rem);
}
.projects-filter {
    position: relative;
    max-width: 760px;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto 52px;
    padding: 0 18px;
    border: 2px solid rgba(255,255,255,.72);
    border-radius: 999px;
    background: rgba(7,18,27,.52);
    backdrop-filter: blur(8px);
}
.projects-filter > i {
    color: var(--primary-blue-light);
}
.projects-filter input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}
.projects-filter input::placeholder {
    color: rgba(255,255,255,.72);
}
.projects-filter__clear {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.1);
    cursor: pointer;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: 1020px;
    margin-inline: auto;
}
.project-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    background: #f8fafc;
    color: #12202b;
    box-shadow: 0 18px 46px rgba(0,0,0,.24);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.project-card:hover,
.project-card:focus-within {
    transform: translateY(-8px);
    border-color: rgba(205,220,41,.7);
    box-shadow: 0 26px 58px rgba(0,0,0,.34);
}
.project-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #dfe7ed;
}
.project-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(6,18,28,.2));
}
.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.project-card:hover .project-card__media img {
    transform: scale(1.05);
}
.project-card__body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 22px 22px;
}
.project-card__speech {
    position: absolute;
    top: -27px;
    right: 20px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 5px solid #f8fafc;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-blue);
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.project-card h3 {
    margin: 12px 0 8px;
    font-size: 1.25rem;
    line-height: 1.45;
}
.project-card h3 a:hover {
    color: var(--primary-blue-dark);
}
.project-card p {
    margin: 0 0 20px;
    color: #5c6973;
    font-size: .94rem;
}
.project-card__more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue-dark);
    font-weight: 800;
}
.project-card__more:hover {
    color: #10202b;
}
.project-card[hidden] {
    display: none !important;
}
.projects-empty {
    max-width: 560px;
    margin: 40px auto 0;
    padding: 42px 24px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 24px;
    text-align: center;
    background: rgba(7,18,27,.45);
}
.projects-empty i {
    color: var(--primary-blue-light);
    font-size: 3rem;
}
.projects-empty h3 {
    margin: 14px 0 6px;
}
.projects-empty p {
    margin: 0;
    color: #cad3da;
}
.project-card {
    position: relative;
}



.project-card__media,
.project-card__body {
    position: relative;
    z-index: 1;
}

.project-card__speech {
    position: relative;
    z-index: 3;
}

.project-card__overlay-link:focus-visible {
    outline: 4px solid var(--focus-color, #ffffff);
    outline-offset: -5px;
}

.project-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 950px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 620px) {
    .projects-page-hero {
        min-height: 320px;
    }
    .projects-page-hero__inner {
        padding-block: 42px;
    }
    .projects-page-hero__title {
        gap: 12px;
    }
    .projects-page-hero__speech {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }
    .projects-page-hero__cart {
        font-size: 3rem;
    }
    .projects-catalog {
        padding: 64px 0 78px;
    }
    .projects-catalog__heading {
        align-items: center;
    }
    .projects-filter {
        margin-bottom: 38px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ========================================
   Projects cards fixes
======================================== */
.project-card {
    cursor: pointer;
}

.project-card__speech {
    position: absolute;
    top: -30px;
    right: 24px;
    z-index: 5;
    margin: 0;
    pointer-events: auto;
    cursor: pointer;
}

html[dir="ltr"] .project-card__speech {
    right: auto;
    left: 24px;
}



.project-card__media {
    position: relative;
}

.project-card__body {
    position: relative;
}


/* ========================================
   Frontend pagination
======================================== */

.frontend-pagination {
    width: 100%;
    margin-top: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    direction: ltr;
}

.frontend-pagination a,
.frontend-pagination span {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(31, 49, 66, 0.18);
    border-radius: 50%;
    background: #ffffff;
    color: #25394d;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: 0.25s ease;
}

.frontend-pagination a:hover,
.frontend-pagination .is-active {
    color: #ffffff;
    background: #299bd3;
    border-color: #299bd3;
    transform: translateY(-2px);
}

.frontend-pagination .is-active {
    box-shadow: 0 8px 20px rgba(41, 155, 211, 0.28);
}

@media (max-width: 575px) {
    .project-card__speech {
        top: -26px;
        right: 18px;
    }

    html[dir="ltr"] .project-card__speech {
        right: auto;
        left: 18px;
    }

    .frontend-pagination {
        gap: 7px;
        margin-top: 32px;
    }

    .frontend-pagination a,
    .frontend-pagination span {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* =========================================================
   PROJECT DETAILS PAGE
========================================================= */

.project-details-page {
    background: #0b1117;
}

.project-details-hero {
    min-height: 260px;
}

.project-details-hero__title {
    justify-content: center;
}

.project-details {
    padding: 72px 0 100px;
    background:
        radial-gradient(circle at 15% 8%, rgba(47,128,199,.13), transparent 28%),
        linear-gradient(180deg, #070b10 0%, #1d2831 38%, #7a7a7a 100%);
}

.project-details__container {
    max-width: 980px;
}

.project-profile {
    display: grid;
    gap: 42px;
}

.project-profile__header {
    display: grid;
    justify-items: center;
    gap: 30px;
    text-align: center;
}

.project-profile__logo-wrap {
    width: min(240px, 62vw);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(0,0,0,.3);
}

.project-profile__logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-profile__title-group {
    max-width: 760px;
}

.project-profile__title-row,
.project-contact-card__heading,
.project-gallery__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.project-profile__title-row h2,
.project-gallery__heading h2 {
    margin: 0;
    color: var(--primary-blue-light);
    font-size: clamp(2rem, 4vw, 3rem);
}

.project-profile__title-group > p {
    margin: 18px auto 0;
    color: #f0f4f7;
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 2;
}

.project-contact-card {
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
    padding: 28px 30px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
    background: rgba(8,22,32,.58);
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
    backdrop-filter: blur(8px);
}

.project-contact-card__heading {
    margin-bottom: 18px;
}

.project-contact-card__heading h3 {
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
}

.project-contact-list {
    list-style: none;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.project-contact-list li {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #edf3f6;
}

.project-contact-list i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-blue);
}

.project-contact-list a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.project-gallery {
    margin-top: 8px;
}

.project-gallery__heading {
    margin-bottom: 28px;
    text-align: center;
}

.project-gallery__heading span {
    display: block;
    color: #d4dde3;
    font-size: .9rem;
}

.project-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.project-gallery__item {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 18px;
    cursor: pointer;
    background: #18242d;
    box-shadow: 0 12px 28px rgba(0,0,0,.2);
}

.project-gallery__item--featured {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 6;
}

.project-gallery__item::after {
    content: "\f00e";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(5,18,27,.55);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.8rem;
    opacity: 0;
    transition: opacity .25s ease;
}

.project-gallery__item:hover::after,
.project-gallery__item:focus-visible::after {
    opacity: 1;
}

.project-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.project-gallery__item:hover img,
.project-gallery__item:focus-visible img {
    transform: scale(1.06);
}

.gallery-lightbox[hidden] {
    display: none !important;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2,8,12,.88);
    backdrop-filter: blur(7px);
}

.gallery-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1050px, 100%);
    max-height: calc(100vh - 48px);
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    align-items: center;
    gap: 14px;
}

.gallery-lightbox figure {
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #07111a;
    box-shadow: 0 28px 70px rgba(0,0,0,.55);
}

.gallery-lightbox figure img {
    width: 100%;
    max-height: calc(100vh - 130px);
    object-fit: contain;
    background: #07111a;
}

.gallery-lightbox figcaption {
    padding: 12px 18px;
    color: #fff;
    text-align: center;
    background: #101c25;
}

.gallery-lightbox__close,
.gallery-lightbox__arrow {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    color: #fff;
    background: rgba(11,28,40,.8);
    cursor: pointer;
}

.gallery-lightbox__close {
    position: absolute;
    top: -18px;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
}

.gallery-lightbox__close:hover,
.gallery-lightbox__arrow:hover {
    color: #14212a;
    background: var(--lime);
    border-color: var(--lime);
}

body.gallery-open {
    overflow: hidden;
}

@media (max-width: 850px) {
    .project-gallery__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-lightbox__dialog {
        grid-template-columns: 46px minmax(0, 1fr) 46px;
        gap: 8px;
    }
}

@media (max-width: 620px) {
    .project-details {
        padding: 56px 0 76px;
    }

    .project-profile {
        gap: 32px;
    }

    .project-profile__title-row,
    .project-contact-card__heading,
    .project-gallery__heading {
        flex-wrap: wrap;
    }

    .project-contact-card {
        padding: 24px 18px;
    }

    .project-contact-list li {
        justify-content: flex-start;
        text-align: right;
    }

    .project-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .project-gallery__item--featured {
        aspect-ratio: 16 / 9;
    }

    .gallery-lightbox {
        padding: 14px;
    }

    .gallery-lightbox__dialog {
        grid-template-columns: 1fr;
    }

    .gallery-lightbox__arrow {
        position: absolute;
        top: 50%;
        z-index: 3;
        transform: translateY(-50%);
    }

    .gallery-lightbox__arrow--previous {
        right: 8px;
    }

    .gallery-lightbox__arrow--next {
        left: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-gallery__item::after,
    .project-gallery__item img {
        transition: none;
    }
}


/* =========================================================
   FAQ PAGE
========================================================= */

.faq-page {
    background: #0b1117;
}

.faq-page-hero {
    min-height: 260px;
}

.faq-page-hero__title {
    justify-content: center;
}

.faq-page-hero__mark {
    min-width: 108px;
    min-height: 54px;
    display: grid;
    place-items: center;
    padding: 5px 18px;
    border-radius: 18px;
    color: var(--primary-blue-dark);
    background: #fff;
    font-family: "Tajawal", sans-serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(0,0,0,.25);
    padding-top: 13px;
}

.faq-section {
    position: relative;
    overflow: hidden;
    padding: 78px 0 100px;
    background:
        radial-gradient(circle at 12% 18%, rgba(77,162,224,.14), transparent 26%),
        linear-gradient(180deg, #070b10 0%, #25313a 55%, #909090 100%);
}

.faq-section__decor {
    position: absolute;
    inset: 0 auto 0 0;
    width: 34%;
    color: rgba(255,255,255,.045);
    pointer-events: none;
}

.faq-section__decor i {
    position: absolute;
    font-size: clamp(7rem, 15vw, 14rem);
}

.faq-section__decor i:nth-child(1) { top: 7%; left: 8%; transform: rotate(-18deg); }
.faq-section__decor i:nth-child(2) { top: 36%; left: 38%; transform: rotate(14deg); }
.faq-section__decor i:nth-child(3) { bottom: 4%; left: 2%; transform: rotate(-6deg); }

.faq-section__inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
}

.faq-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
    text-align: center;
}

.faq-heading span {
    display: block;
    color: #cbd5dc;
    font-size: .9rem;
}

.faq-heading h2 {
    margin: 0;
    color: var(--primary-blue-light);
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.faq-search {
    max-width: 760px;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto 52px;
    padding: 0 18px;
    border: 2px solid rgba(255,255,255,.78);
    border-radius: 999px;
    background: rgba(7,18,27,.5);
    backdrop-filter: blur(8px);
}

.faq-search > i {
    color: #fff;
}

.faq-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}

.faq-search input::placeholder {
    color: rgba(255,255,255,.72);
}

.faq-search__clear {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.1);
    cursor: pointer;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 38px rgba(0,0,0,.2);
}

.faq-item[hidden] {
    display: none !important;
}

.faq-item__header {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: stretch;
}

.faq-item__header h3 {
    min-width: 0;
    margin: 0;
}

.faq-item__speech {
    align-self: center;
    justify-self: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-blue);
}

.faq-toggle {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 20px;
    border: 0;
    color: #14212b;
    background: transparent;
    text-align: right;
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    font-weight: 700;
    cursor: pointer;
}

.faq-toggle i {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--primary-blue-dark);
    background: rgba(47,128,199,.1);
}

.faq-item:has(.faq-toggle[aria-expanded="true"]) {
    border-color: rgba(77,162,224,.72);
}

.faq-item:has(.faq-toggle[aria-expanded="true"]) .faq-toggle {
    color: var(--primary-blue-dark);
}

.faq-panel {
    border-top: 1px solid rgba(18,32,43,.1);
    background: #eef3f6;
}

.faq-panel__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: start;
    gap: 18px;
    padding: 22px 26px 26px;
}

.faq-panel p {
    margin: 0;
    color: #46545f;
    line-height: 2;
}

.faq-answer__speech {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-blue-dark);
}

.faq-empty {
    max-width: 560px;
    margin: 36px auto 0;
    padding: 40px 24px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
    color: #fff;
    text-align: center;
    background: rgba(7,18,27,.48);
}

.faq-empty i {
    color: var(--primary-blue-light);
    font-size: 3rem;
}

.faq-empty h3 {
    margin: 12px 0 4px;
}

.faq-empty p {
    margin: 0;
    color: #ccd5db;
}

.faq-answer-content {
    color: #222;
}

.faq-answer-content figure.table {
    width: 100%;
    margin: 24px 0;
    overflow-x: auto;
}

.faq-answer-content table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #fff;
    color: #222;
    direction: rtl;
    text-align: right;
}

.faq-answer-content table th,
.faq-answer-content table td {
    padding: 12px 14px;
    border: 1px solid #d9d9d9;
    background-color: #fff;
    color: #222;
    vertical-align: top;
    line-height: 1.8;
}

.faq-answer-content table th {
    background-color: #f1f3f5;
    font-weight: 700;
}

.faq-answer-content table tr:nth-child(even) td {
    background-color: #fafafa;
}

@media (max-width: 767px) {
    .faq-answer-content figure.table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .faq-answer-content table {
        min-width: 600px;
    }
}

@media (max-width: 700px) {
    .faq-page-hero {
        min-height: 320px;
    }

    .faq-page-hero__mark {
        width: 100%;
        max-width: 170px;
    }

    .faq-section {
        padding: 60px 0 78px;
    }

    .faq-heading {
        flex-wrap: wrap;
    }

    .faq-search {
        margin-bottom: 36px;
    }

    .faq-item__header {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .faq-toggle {
        min-height: 72px;
        padding: 14px 14px;
    }

    .faq-panel__content {
        grid-template-columns: 1fr;
        padding: 20px 18px 22px;
    }

    .faq-answer__speech {
        justify-self: start;
    }

    .faq-section__decor {
        width: 70%;
        opacity: .55;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-toggle,
    .faq-toggle i {
        transition: none;
    }
}


/* =========================================================
   PRESENTATIONS PAGE
========================================================= */

.presentations-page {
    background: #0b1117;
}

.presentations-page-hero {
    min-height: 260px;
    background-color: var(--primary-blue);
}

.presentations-page-hero__title {
    justify-content: center;
}

.presentations-page-hero__icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #14212a;
    background: var(--lime);
    font-size: 1.65rem;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.presentations-catalog {
    padding: 84px 0 100px;
    background:
        radial-gradient(circle at 16% 5%, rgba(47,128,199,.14), transparent 28%),
        linear-gradient(180deg, #070b10 0%, #26343e 58%, #8b8b8b 100%);
}

.presentations-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 46px;
    text-align: center;
}

.presentations-heading span {
    display: block;
    color: #ccd5dc;
    font-size: .9rem;
}

.presentations-heading h2 {
    margin: 0;
    color: var(--primary-blue-light);
    font-size: clamp(2rem, 4vw, 3.15rem);
}

.presentations-grid {
    max-width: 980px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.presentation-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 22px;
    color: #13202a;
    background: #f8fafc;
    box-shadow: 0 18px 46px rgba(0,0,0,.25);
    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;
}

.presentation-card:hover,
.presentation-card:focus-within {
    transform: translateY(-8px);
    border-color: rgba(205,220,41,.7);
    box-shadow: 0 26px 58px rgba(0,0,0,.34);
}

.presentation-card[hidden] {
    display: none !important;
}

.presentation-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #dfe7ed;
}

.presentation-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(5,18,28,.38));
}

.presentation-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.presentation-card:hover .presentation-card__media img,
.presentation-card:focus-within .presentation-card__media img {
    transform: scale(1.06);
}

.presentation-card__type {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: rgba(47,128,199,.92);
    box-shadow: 0 8px 20px rgba(0,0,0,.22);
}

.presentation-card__body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 28px 22px 22px;
}

.presentation-card__speech {
    position: absolute;
    top: -28px;
    right: 20px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 5px solid #f8fafc;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-blue);
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.presentation-card h2 {
    margin: 8px 0 8px;
    color: #152432;
    font-size: 1.18rem;
    line-height: 1.5;
}

.presentation-card p {
    margin: 0 0 20px;
    color: #5d6973;
    font-size: .9rem;
    line-height: 1.8;
}

.presentation-card__action {
    margin-top: auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 13px;
    border-radius: 12px;
    color: #fff;
    background: var(--primary-blue-dark);
    font-weight: 800;
}

.presentation-card__action:hover {
    color: #14212a;
    background: var(--lime);
}

.presentations-pagination {
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.presentations-pagination__pages {
    display: flex;
    align-items: center;
    gap: 8px;
}

.presentations-pagination button {
    min-width: 44px;
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 10px;
    color: #fff;
    background: rgba(7,18,27,.72);
    cursor: pointer;
}

.presentations-pagination button:hover:not(:disabled),
.presentations-pagination button[aria-current="page"] {
    color: #14212a;
    background: var(--lime);
    border-color: var(--lime);
}

.presentations-pagination button:disabled {
    opacity: .42;
    cursor: not-allowed;
}

@media (max-width: 920px) {
    .presentations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .presentations-page-hero {
        min-height: 320px;
    }

    .presentations-page-hero__icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 16px;
        font-size: 1.35rem;
    }

    .presentations-catalog {
        padding: 64px 0 78px;
    }

    .presentations-heading {
        flex-wrap: wrap;
        margin-bottom: 36px;
    }

    .presentations-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .presentations-pagination {
        margin-top: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .presentation-card,
    .presentation-card__media img,
    .presentation-card__action {
        transition: none;
    }
}


/* =========================================================
   EDUCATIONAL CENTERS PAGE
========================================================= */

.educational-centers-page {
    background: #0b1117;
}

.educational-centers-hero {
    min-height: 260px;
    background-color: var(--primary-blue);
}

.educational-centers-hero__title {
    justify-content: center;
}

.educational-centers-hero__icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #14212a;
    background: var(--lime);
    font-size: 1.55rem;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.educational-centers-catalog {
    padding: 82px 0 100px;
    background:
        radial-gradient(circle at 16% 5%, rgba(47,128,199,.14), transparent 28%),
        linear-gradient(180deg, #070b10 0%, #273640 58%, #929292 100%);
}

.educational-centers-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
    text-align: center;
}

.educational-centers-heading span {
    display: block;
    color: #ccd5dc;
    font-size: .9rem;
}

.educational-centers-heading h2 {
    margin: 0;
    color: var(--primary-blue-light);
    font-size: clamp(2rem, 4vw, 3.15rem);
}

.educational-centers-search {
    max-width: 760px;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto 52px;
    padding: 0 18px;
    border: 2px solid rgba(255,255,255,.72);
    border-radius: 999px;
    background: rgba(7,18,27,.56);
    backdrop-filter: blur(8px);
}

.educational-centers-search > i {
    color: var(--primary-blue-light);
}

.educational-centers-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}

.educational-centers-search input::placeholder {
    color: rgba(255,255,255,.72);
}

.educational-centers-search__clear {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.1);
    cursor: pointer;
}

.educational-centers-grid {
    max-width: 980px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.educational-center-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 22px;
    color: #14212a;
    background: #f8fafc;
    box-shadow: 0 18px 46px rgba(0,0,0,.25);
    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;
}

.educational-center-card:hover,
.educational-center-card:focus-within {
    transform: translateY(-8px);
    border-color: rgba(205,220,41,.72);
    box-shadow: 0 26px 58px rgba(0,0,0,.34);
}

.educational-center-card[hidden] {
    display: none !important;
}

.educational-center-card__logo {
    min-height: 180px;
    display: grid;
    place-items: center;
    padding: 24px;
    border-bottom: 1px solid #d9e0e5;
    background:
        radial-gradient(circle at 50% 40%, rgba(47,128,199,.1), transparent 48%),
        #fff;
}

.educational-center-card__logo span {
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    border: 6px solid var(--primary-blue);
    border-radius: 50%;
    color: var(--primary-blue-dark);
    background: #fff;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow:
        0 0 0 7px rgba(47,128,199,.1),
        0 12px 28px rgba(0,0,0,.12);
}

.educational-center-card__body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px 22px 22px;
}

.educational-center-card__speech {
    position: absolute;
    top: -28px;
    right: 20px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 5px solid #f8fafc;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-blue);
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.educational-center-card h2 {
    margin: 8px 0 16px;
    color: #152432;
    font-size: 1.15rem;
    line-height: 1.55;
}

.educational-center-card__details {
    list-style: none;
    display: grid;
    gap: 11px;
    margin: 0 0 20px;
    padding: 0;
    color: #596872;
    font-size: .88rem;
}

.educational-center-card__details li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.educational-center-card__details i {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-blue);
    font-size: .8rem;
}

.educational-center-card__details a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.educational-center-card__more {
    margin-top: auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 13px;
    border-radius: 12px;
    color: #fff;
    background: var(--primary-blue-dark);
    font-weight: 800;
}

.educational-center-card__more:hover {
    color: #14212a;
    background: var(--lime);
}

.educational-centers-pagination {
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.educational-centers-pagination__pages {
    display: flex;
    align-items: center;
    gap: 8px;
}

.educational-centers-pagination button {
    min-width: 44px;
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 10px;
    color: #fff;
    background: rgba(7,18,27,.72);
    cursor: pointer;
}

.educational-centers-pagination button:hover:not(:disabled),
.educational-centers-pagination button[aria-current="page"] {
    color: #14212a;
    background: var(--lime);
    border-color: var(--lime);
}

.educational-centers-pagination button:disabled {
    opacity: .42;
    cursor: not-allowed;
}

.educational-centers-empty {
    max-width: 560px;
    margin: 35px auto 0;
    padding: 42px 24px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 24px;
    color: #fff;
    text-align: center;
    background: rgba(7,18,27,.48);
}

.educational-centers-empty i {
    color: var(--primary-blue-light);
    font-size: 3rem;
}

.educational-centers-empty h2 {
    margin: 14px 0 6px;
}

.educational-centers-empty p {
    margin: 0;
    color: #cad3da;
}

@media (max-width: 920px) {
    .educational-centers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .educational-centers-hero {
        min-height: 320px;
    }

    .educational-centers-hero__icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 16px;
        font-size: 1.3rem;
    }

    .educational-centers-catalog {
        padding: 64px 0 78px;
    }

    .educational-centers-heading {
        flex-wrap: wrap;
    }

    .educational-centers-search {
        margin-bottom: 38px;
    }

    .educational-centers-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .educational-center-card__logo {
        min-height: 160px;
    }

    .educational-centers-pagination {
        margin-top: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .educational-center-card,
    .educational-center-card__more {
        transition: none;
    }
}


/* =========================================================
   ARTICLES PAGE
========================================================= */

.articles-page {
    background: #0b1117;
}

.articles-hero {
    min-height: 260px;
    background-color: var(--primary-blue);
}

.articles-hero__title {
    justify-content: center;
}

.articles-hero__icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #14212a;
    background: var(--lime);
    font-size: 1.55rem;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.articles-catalog {
    padding: 82px 0 100px;
    background:
        radial-gradient(circle at 16% 5%, rgba(47,128,199,.14), transparent 28%),
        linear-gradient(180deg, #070b10 0%, #26343e 58%, #919191 100%);
}

.articles-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
    text-align: center;
}

.articles-heading span {
    display: block;
    color: #ccd5dc;
    font-size: .9rem;
}

.articles-heading h2 {
    margin: 0;
    color: var(--primary-blue-light);
    font-size: clamp(2rem, 4vw, 3.15rem);
}

.articles-search {
    max-width: 760px;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto 52px;
    padding: 0 18px;
    border: 2px solid rgba(255,255,255,.72);
    border-radius: 999px;
    background: rgba(7,18,27,.56);
    backdrop-filter: blur(8px);
}

.articles-search > i {
    color: var(--primary-blue-light);
}

.articles-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}

.articles-search input::placeholder {
    color: rgba(255,255,255,.72);
}

.articles-search__clear {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.1);
    cursor: pointer;
}

.articles-grid {
    max-width: 980px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.article-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 22px;
    color: #14212a;
    background: #f8fafc;
    box-shadow: 0 18px 46px rgba(0,0,0,.25);
    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;
}

.article-card:hover,
.article-card:focus-within {
    transform: translateY(-8px);
    border-color: rgba(205,220,41,.72);
    box-shadow: 0 26px 58px rgba(0,0,0,.34);
}

.article-card[hidden] {
    display: none !important;
}

.article-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #dfe7ed;
}

.article-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(5,18,28,.38));
}

.article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.article-card:hover .article-card__media img,
.article-card:focus-within .article-card__media img {
    transform: scale(1.06);
}

.article-card__category {
    position: absolute;
    right: 14px;
    bottom: 40px;
    z-index: 2;
    padding: 6px 11px;
    border-radius: 999px;
    color: #14212a;
    background: var(--lime);
    font-size: .75rem;
    font-weight: 800;
}

.article-card__body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px 22px 22px;
}

.article-card__speech {
    position: absolute;
    top: -28px;
    right: 20px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 5px solid #f8fafc;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-blue);
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.article-card h2 {
    margin: 8px 0 10px;
    color: #152432;
    font-size: 1.15rem;
    line-height: 1.55;
}

.article-card h2 a:hover {
    color: var(--primary-blue-dark);
}

.article-card p {
    margin: 0 0 20px;
    color: #5d6973;
    font-size: .9rem;
    line-height: 1.8;
}

.article-card__footer {
    margin-top: auto;
    display: grid;
    gap: 12px;
}

.article-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #67747d;
    font-size: .82rem;
}

.article-card__more {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 13px;
    border-radius: 12px;
    color: #fff;
    background: var(--primary-blue-dark);
    font-weight: 800;
}

.article-card__more:hover {
    color: #14212a;
    background: var(--lime);
}

.articles-pagination {
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.articles-pagination__pages {
    display: flex;
    align-items: center;
    gap: 8px;
}

.articles-pagination button {
    min-width: 44px;
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 10px;
    color: #fff;
    background: rgba(7,18,27,.72);
    cursor: pointer;
}

.articles-pagination button:hover:not(:disabled),
.articles-pagination button[aria-current="page"] {
    color: #14212a;
    background: var(--lime);
    border-color: var(--lime);
}

.articles-pagination button:disabled {
    opacity: .42;
    cursor: not-allowed;
}

.articles-empty {
    max-width: 560px;
    margin: 35px auto 0;
    padding: 42px 24px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 24px;
    color: #fff;
    text-align: center;
    background: rgba(7,18,27,.48);
}

.articles-empty i {
    color: var(--primary-blue-light);
    font-size: 3rem;
}

.articles-empty h2 {
    margin: 14px 0 6px;
}

.articles-empty p {
    margin: 0;
    color: #cad3da;
}

@media (max-width: 920px) {
    .articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .articles-hero {
        min-height: 320px;
    }

    .articles-hero__icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 16px;
        font-size: 1.3rem;
    }

    .articles-catalog {
        padding: 64px 0 78px;
    }

    .articles-heading {
        flex-wrap: wrap;
    }

    .articles-search {
        margin-bottom: 38px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .articles-pagination {
        margin-top: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .article-card,
    .article-card__media img,
    .article-card__more {
        transition: none;
    }
}


/* =========================================================
   ARTICLE DETAILS PAGE
========================================================= */

.article-details-page {
    background: #0b1117;
}

.article-details-hero {
  min-height: 260px;
  background-color: var(--primary-blue);
}

.article-details-hero__title {
    justify-content: center;
    text-align: center;
}

.article-details-hero__title h1 {
    max-width: 900px;
    font-size: clamp(1.2rem, 2.6vw, 2rem);
    line-height: 1.35;
}

.article-details-hero__icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #14212a;
    background: var(--lime);
    font-size: 1.5rem;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.article-details-content {
    padding: 74px 0 100px;
    background:
        radial-gradient(circle at 14% 6%, rgba(47,128,199,.13), transparent 28%),
        linear-gradient(180deg, #070b10 0%, #273640 55%, #8a8a8a 100%);
}

.article-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 44px;
    align-items: start;
}

.article-details-main {
    min-width: 0;
}

.article-details-main__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.article-details-main__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: #d2dbe1;
    font-size: .88rem;
}

.article-details-main__meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.article-details-main__meta i {
    color: var(--primary-blue-light);
}

.article-details-main__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.article-read-button,
.article-print-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 12px;
    color: #fff;
    background: rgba(7,18,27,.65);
    cursor: pointer;
}

.article-read-button:hover,
.article-print-button:hover {
    color: #14212a;
    background: var(--lime);
    border-color: var(--lime);
}

.article-details-main__image {
    margin: 0 0 34px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,.28);
}

.article-details-main__image img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.article-details-main__body {
    color: #f3f6f8;
    font-size: 1rem;
    line-height: 2;
}

.article-details-main__body p {
    margin: 0 0 22px;
}

.article-details-main__lead {
    padding: 22px 24px;
    border-right: 5px solid var(--lime);
    border-radius: 16px;
    color: #fff;
    background: rgba(7,18,27,.48);
    font-size: 1.1rem;
    font-weight: 600;
}

.article-details-main__body h2 {
    margin: 38px 0 16px;
    color: var(--primary-blue-light);
    font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.article-details-main__body h3 {
    margin: 28px 0 10px;
    color: var(--lime-light);
    font-size: 1.3rem;
}

.article-details-main__body blockquote {
    margin: 34px 0;
    padding: 24px 26px;
    border-right: 5px solid var(--primary-blue);
    border-radius: 16px;
    color: #fff;
    background: rgba(47,128,199,.16);
    font-size: 1.1rem;
    font-weight: 700;
}

.article-details-main__footer {
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.18);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.article-share > span {
    margin-left: 4px;
    color: #fff;
    font-weight: 700;
}

.article-share a,
.article-copy-link {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-blue);
    cursor: pointer;
}

.article-share a:hover,
.article-copy-link:hover {
    color: #14212a;
    background: var(--lime);
}

.related-articles {
    position: sticky;
    top: 24px;
    padding-right: 28px;
    border-right: 1px solid rgba(255,255,255,.28);
}

.related-articles__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: 14px;
    color: #14212a;
    background: var(--lime);
}

.related-articles__header h2 {
    margin: 0;
    font-size: 1.15rem;
}

.related-articles__list {
    display: grid;
    gap: 18px;
}

.related-article {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.related-article__image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.related-article__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-article__content {
    position: relative;
    min-width: 0;
    padding-left: 42px;
}

.related-article h3 {
    margin: 0;
    color: #fff;
    font-size: .98rem;
    line-height: 1.6;
}

.related-article h3 a:hover {
    color: var(--lime-light);
}

.related-article__speech {
    position: absolute;
    top: 50%;
    left: 0;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    border-radius: 50%;
    color: #fff;
    background: var(--primary-blue);
}

@media (max-width: 980px) {
    .article-details-layout {
        grid-template-columns: 1fr;
    }

    .related-articles {
        position: static;
        padding-right: 0;
        border-right: 0;
        border-top: 1px solid rgba(255,255,255,.22);
        padding-top: 34px;
    }

    .related-articles__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .article-details-hero {
        min-height: 360px;
    }

    .article-details-hero__icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 16px;
        font-size: 1.25rem;
    }

    .article-details-content {
        padding: 58px 0 76px;
    }

    .article-details-main__header {
        align-items: flex-start;
    }

    .article-details-main__actions {
        width: 100%;
    }

    .article-read-button,
    .article-print-button {
        flex: 1;
        justify-content: center;
    }

    .article-details-main__image img {
        aspect-ratio: 4 / 3;
    }

    .related-articles__list {
        grid-template-columns: 1fr;
    }
}

@media print {
    .site-header,
    .site-footer,
    .accessibility-button,
    .back-to-top,
    .article-details-main__actions,
    .article-share,
    .related-articles,
    .breadcrumbs {
        display: none !important;
    }

    body,
    .article-details-content {
        background: #fff !important;
        color: #000 !important;
    }

    .article-details-main__body,
    .article-details-main__body h2,
    .article-details-main__body h3,
    .article-details-main__lead,
    .article-details-main__body blockquote {
        color: #000 !important;
        background: transparent !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .article-share a,
    .article-copy-link,
    .article-read-button,
    .article-print-button {
        transition: none;
    }
}


/* =========================================================
   STARTUP MANAGEMENT PAGE
========================================================= */

.startup-management-page {
    background: #0b1117;
}

.startup-management-hero {
  min-height: 260px;
  background-color: var(--primary-blue);
}

.startup-management-hero__title {
    justify-content: center;
}

.startup-management-hero__icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #14212a;
    background: var(--lime);
    font-size: 1.55rem;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.startup-management-catalog {
    padding: 82px 0 100px;
    background:
        radial-gradient(circle at 16% 5%, rgba(47,128,199,.14), transparent 28%),
        linear-gradient(180deg, #070b10 0%, #26343e 58%, #919191 100%);
}

.startup-management-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
    text-align: center;
}

.startup-management-heading span {
    display: block;
    color: #ccd5dc;
    font-size: .9rem;
}

.startup-management-heading h2 {
    margin: 0;
    color: var(--primary-blue-light);
    font-size: clamp(2rem, 4vw, 3.15rem);
}

.startup-management-search {
    max-width: 760px;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto 52px;
    padding: 0 18px;
    border: 2px solid rgba(255,255,255,.72);
    border-radius: 999px;
    background: rgba(7,18,27,.56);
    backdrop-filter: blur(8px);
}

.startup-management-search > i {
    color: var(--primary-blue-light);
}

.startup-management-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}

.startup-management-search input::placeholder {
    color: rgba(255,255,255,.72);
}

.startup-management-search__clear {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.1);
    cursor: pointer;
}

.startup-services-list {
    max-width: 760px;
    margin-inline: auto;
    display: grid;
    gap: 26px;
}

.startup-service-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 22px;
    color: #14212a;
    background: #f8fafc;
    box-shadow: 0 18px 46px rgba(0,0,0,.25);
    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;
}

.startup-service-card:hover,
.startup-service-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(205,220,41,.72);
    box-shadow: 0 26px 58px rgba(0,0,0,.34);
}

.startup-service-card[hidden] {
    display: none !important;
}

.startup-service-card__icon {
    display: grid;
    place-items: center;
    color: #fff;
    background:
        linear-gradient(145deg, var(--primary-blue-dark), var(--primary-blue));
    font-size: 2rem;
}

.startup-service-card__content {
    position: relative;
    min-width: 0;
    padding: 25px 82px 24px 24px;
}

.startup-service-card__speech {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 4px solid #f8fafc;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-blue);
    transform: translateY(-50%);
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
}

.startup-service-card h2 {
    margin: 0 0 8px;
    color: #152432;
    font-size: 1.25rem;
    line-height: 1.5;
}

.startup-service-card p {
    margin: 0 0 18px;
    color: #5d6973;
    font-size: .92rem;
    line-height: 1.8;
}

.startup-service-card__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 12px;
    color: #fff;
    background: var(--primary-blue-dark);
    font-weight: 800;
}

.startup-service-card__link:hover {
    color: #14212a;
    background: var(--lime);
}

.startup-services-empty {
    max-width: 560px;
    margin: 35px auto 0;
    padding: 42px 24px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 24px;
    color: #fff;
    text-align: center;
    background: rgba(7,18,27,.48);
}

.startup-services-empty i {
    color: var(--primary-blue-light);
    font-size: 3rem;
}

.startup-services-empty h2 {
    margin: 14px 0 6px;
}

.startup-services-empty p {
    margin: 0;
    color: #cad3da;
}

@media (max-width: 620px) {
    .startup-management-hero {
        min-height: 340px;
    }

    .startup-management-hero__icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 16px;
        font-size: 1.3rem;
    }

    .startup-management-catalog {
        padding: 64px 0 78px;
    }

    .startup-management-heading {
        flex-wrap: wrap;
    }

    .startup-management-search {
        margin-bottom: 38px;
    }

    .startup-service-card {
        grid-template-columns: 1fr;
    }

    .startup-service-card__icon {
        min-height: 90px;
    }

    .startup-service-card__content {
        padding: 64px 20px 22px;
        text-align: center;
    }

    .startup-service-card__speech {
        top: 0;
        right: 50%;
        transform: translate(50%, -50%);
    }

    .startup-service-card__link {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .startup-service-card,
    .startup-service-card__link {
        transition: none;
    }
}


/* =========================================================
   PROJECT IDEA FORM PAGE
========================================================= */

.project-idea-form-page {
    background: #0b1117;
}

.project-idea-form-hero {
    min-height: 260px;
    background-color: var(--primary-blue);
}

.project-idea-form-hero__title {
    justify-content: center;
}

.project-idea-form-hero__icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #14212a;
    background: var(--lime);
    font-size: 1.6rem;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.project-idea-form-section {
    padding: 78px 0 100px;
    background:
        radial-gradient(circle at 15% 4%, rgba(47,128,199,.14), transparent 28%),
        linear-gradient(180deg, #070b10 0%, #26343e 58%, #8a8a8a 100%);
}

.project-idea-form-container {
    max-width: 1080px;
}

.project-idea-form-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 42px;
    text-align: center;
}

.project-idea-form-intro span {
    display: block;
    color: #ccd5dc;
    font-size: .9rem;
}

.project-idea-form-intro h2 {
    margin: 0;
    color: var(--primary-blue-light);
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.project-form-progress {
    margin-bottom: 38px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    background: rgba(7,18,27,.5);
    box-shadow: 0 18px 42px rgba(0,0,0,.2);
}

.project-form-progress__bar {
    height: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
}

.project-form-progress__bar span {
    display: block;
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary-blue), var(--lime));
    transition: width .3s ease;
}

.project-form-progress__steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
}

.project-form-progress__steps li {
    display: grid;
    justify-items: center;
    gap: 8px;
    color: #adb8c0;
    text-align: center;
}

.project-form-progress__steps li > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: #fff;
    background: #14212a;
    font-weight: 800;
}

.project-form-progress__steps li small {
    line-height: 1.4;
}

.project-form-progress__steps li.is-active,
.project-form-progress__steps li.is-complete {
    color: #fff;
}

.project-form-progress__steps li.is-active > span {
    color: #14212a;
    border-color: var(--lime);
    background: var(--lime);
    box-shadow: 0 0 0 5px rgba(205,220,41,.12);
}

.project-form-progress__steps li.is-complete > span {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
}

.project-idea-form {
    padding: 34px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 28px;
    background: rgba(7,18,27,.58);
    box-shadow: 0 24px 58px rgba(0,0,0,.28);
    backdrop-filter: blur(8px);
}

.project-form-step {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.project-form-step[hidden] {
    display: none !important;
}

.project-form-step > legend {
    width: 100%;
    margin-bottom: 30px;
    padding: 0 70px 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 800;
}

.project-form-step > legend span {
    display: block;
    margin-bottom: 4px;
    color: var(--lime-light);
    font-size: .85rem;
    font-weight: 700;
}

.form-section-speech {
    position: absolute;
    top: -8px;
    right: 0;
}

.project-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.project-form-field {
    min-width: 0;
}

.project-form-field--wide {
    grid-column: 1 / -1;
}

.project-form-field label {
    display: block;
    margin-bottom: 9px;
    color: #fff;
    font-weight: 700;
}

.project-form-field label > span {
    color: var(--lime);
}

.project-form-field label small {
    display: block;
    margin-top: 4px;
    color: #c8d1d8;
    font-size: .8rem;
    font-weight: 500;
}

.project-form-field input,
.project-form-field textarea,
.project-form-field select,
.project-form-table input,
.project-form-table textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 12px;
    outline: 0;
    color: #fff;
    background: rgba(4,14,22,.62);
}

.project-form-field input,
.project-form-field select,
.project-form-table input {
    min-height: 50px;
    padding: 10px 13px;
}

.project-form-field textarea,
.project-form-table textarea {
    display: block;
    resize: vertical;
    min-height: 94px;
    padding: 12px 13px;
    line-height: 1.7;
}

.project-form-field select {
    cursor: pointer;
}

.project-form-field select option {
    color: #111;
    background: #fff;
}

.project-form-field input:focus,
.project-form-field textarea:focus,
.project-form-field select:focus,
.project-form-table input:focus,
.project-form-table textarea:focus {
    border-color: var(--lime);
    box-shadow: 0 0 0 4px rgba(205,220,41,.12);
}

.project-form-field input[aria-invalid="true"],
.project-form-field textarea[aria-invalid="true"],
.project-form-field select[aria-invalid="true"] {
    border-color: #ff7676;
    box-shadow: 0 0 0 4px rgba(255,118,118,.12);
}

.field-error {
    min-height: 22px;
    margin: 6px 0 0;
    color: #ffaaaa;
    font-size: .82rem;
}

.project-form-subsection + .project-form-subsection {
    margin-top: 38px;
}

.project-form-subsection > h3 {
    margin: 0 0 20px;
    padding-right: 12px;
    border-right: 4px solid var(--lime);
    color: var(--primary-blue-light);
    font-size: 1.35rem;
}

.project-form-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    background: rgba(4,14,22,.45);
}

.project-form-table-wrap:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 4px;
}

.project-form-table {
    width: 100%;
    min-width: 930px;
    border-collapse: collapse;
}

.project-form-table--two-columns {
    min-width: 720px;
}

.project-form-table--finance {
    min-width: 820px;
}

.project-form-table th,
.project-form-table td {
    padding: 13px;
    border: 1px solid rgba(255,255,255,.14);
    vertical-align: top;
}

.project-form-table thead th {
    color: #14212a;
    background: var(--lime);
    text-align: right;
    font-size: .88rem;
}

.project-form-table tbody th {
    width: 28%;
    color: #fff;
    background: rgba(47,128,199,.18);
    text-align: right;
    font-size: .9rem;
}

.project-form-table td {
    min-width: 190px;
}

.project-form-table input,
.project-form-table textarea {
    border-radius: 9px;
    background: rgba(7,18,27,.68);
}

.project-form-actions {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.17);
}

.project-form-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 13px;
    cursor: pointer;
    font-weight: 800;
}

.project-form-button--previous {
    justify-self: start;
    color: #fff;
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,.08);
}

.project-form-button--next,
.project-form-button--submit {
    justify-self: end;
    color: #fff;
    background: var(--primary-blue);
}

.project-form-button--previous:hover {
    color: #14212a;
    background: var(--lime);
    border-color: var(--lime);
}

.project-form-button--next:hover,
.project-form-button--submit:hover {
    color: #14212a;
    background: var(--lime);
}

.project-form-actions__step {
    color: #d3dce2;
    font-size: .88rem;
    text-align: center;
}

.project-form-success {
    margin-top: 28px;
    padding: 36px 24px;
    border: 1px solid rgba(205,220,41,.45);
    border-radius: 24px;
    color: #fff;
    text-align: center;
    background: rgba(7,18,27,.68);
}

.project-form-success i {
    color: var(--lime);
    font-size: 3rem;
}

.project-form-success h2 {
    margin: 14px 0 6px;
}

.project-form-success p {
    margin: 0;
    color: #ccd5dc;
}

@media (max-width: 900px) {
    .project-form-progress__steps {
        grid-template-columns: repeat(5, 140px);
        overflow-x: auto;
        justify-content: start;
        padding-bottom: 8px;
    }
}

@media (max-width: 680px) {
    .project-idea-form-hero {
        min-height: 340px;
    }

    .project-idea-form-hero__icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 16px;
        font-size: 1.3rem;
    }

    .project-idea-form-section {
        padding: 58px 0 76px;
    }

    .project-idea-form-intro {
        flex-wrap: wrap;
    }

    .project-form-progress,
    .project-idea-form {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .project-form-grid {
        grid-template-columns: 1fr;
    }

    .project-form-field--wide {
        grid-column: auto;
    }

    .project-form-step > legend {
        padding: 60px 0 16px;
    }

    .form-section-speech {
        top: 0;
        right: 50%;
        transform: translateX(50%);
    }

    .project-form-actions {
        grid-template-columns: 1fr 1fr;
    }

    .project-form-actions__step {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .project-form-button--previous,
    .project-form-button--next,
    .project-form-button--submit {
        width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 420px) {
    .project-form-actions {
        grid-template-columns: 1fr;
    }

    .project-form-actions__step {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-form-progress__bar span,
    .project-form-button {
        transition: none;
    }
}

/* =========================================================
   Project Idea Form Backend Integration Fixes
   Existing form design remains in place.
   ========================================================= */

.project-idea-page .project-form-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 28px;
    padding: 17px 19px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.8;
}

.project-idea-page .project-form-alert > i {
    margin-top: 5px;
    flex: 0 0 auto;
}

.project-idea-page .project-form-alert--error {
    border: 1px solid rgba(245, 101, 101, 0.38);
    background: rgba(245, 101, 101, 0.1);
    color: #ffd5d5;
}

.project-idea-page .project-form-alert ul {
    margin: 8px 0 0;
    padding-inline-start: 20px;
}

.project-idea-page .project-form-honeypot {
    position: absolute !important;
    inset-inline-start: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Keep each section speech button aligned with its legend. */
.project-idea-page .project-form-step {
    position: relative;
}

.project-idea-page .project-form-step > legend {
    max-width: calc(100% - 64px);
    padding-inline-end: 0;
}

.project-idea-page .form-section-speech {
    position: absolute;
    top: 22px;
    inset-inline-end: 22px;
    z-index: 2;
    margin: 0;
}

.project-idea-page .form-section-speech .speech-button {
    position: static;
}

/* Prevent speech buttons from floating over form fields. */
.project-idea-page .project-form-subsection {
    position: relative;
}

.project-idea-page .project-form-field [aria-invalid="true"] {
    border-color: #ff8383 !important;
    box-shadow: 0 0 0 4px rgba(255, 92, 92, 0.11) !important;
}

.project-idea-page .field-error {
    min-height: 22px;
    margin: 6px 0 0;
    color: #ffaaaa;
    font-size: 13px;
    line-height: 1.6;
}

.project-idea-page .project-form-button.is-loading {
    cursor: wait;
    opacity: 0.78;
}

.project-idea-page .project-form-button:disabled {
    cursor: not-allowed;
}

/* =========================================================
   Project Idea Success Page
   ========================================================= */

.project-idea-success-page {
    position: relative;
    display: flex;
    min-height: calc(100vh - 180px);
    align-items: center;
    justify-content: center;
    padding: 90px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(48, 166, 224, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(132, 216, 80, 0.07),
            transparent 28%
        ),
        #07111f;
}

.project-idea-success-page .project-idea-success-page__background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.project-idea-success-page .project-idea-success-page__container {
    position: relative;
    z-index: 1;
}

.project-idea-success-page .project-idea-success-page__card {
    position: relative;
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 58px 50px 52px;
    border: 1px solid rgba(111, 204, 249, 0.22);
    border-radius: 30px;
    background:
        linear-gradient(
            145deg,
            rgba(19, 42, 70, 0.97),
            rgba(10, 25, 43, 0.97)
        );
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.project-idea-success-page .project-idea-success-page__speech {
    position: absolute;
    top: 24px;
    inset-inline-end: 24px;
}

.project-idea-success-page .project-idea-success-page__icon {
    display: inline-flex;
    width: 90px;
    height: 90px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 50%;
    background: rgba(87, 207, 118, 0.13);
    color: #7bea97;
    font-size: 42px;
}

.project-idea-success-page .project-idea-success-page__title {
    margin: 0;
    color: #fff;
    font-family: "Changa", sans-serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.4;
}

.project-idea-success-page .project-idea-success-page__description {
    max-width: 620px;
    margin: 20px auto 0;
    color: #c9d4df;
    font-size: 17px;
    line-height: 2;
}

.project-idea-success-page .project-idea-success-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.project-idea-success-page .project-idea-success-page__button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1px solid rgba(105, 205, 252, 0.25);
    border-radius: 15px;
    background: linear-gradient(135deg, #27b8e8, #157fb8);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.project-idea-success-page
.project-idea-success-page__button--secondary {
    background: rgba(255, 255, 255, 0.045);
}

@media (max-width: 767px) {
    .project-idea-page .form-section-speech {
        top: 18px;
        inset-inline-end: 16px;
    }

    .project-idea-page .project-form-step > legend {
        max-width: calc(100% - 54px);
    }

    .project-idea-success-page {
        min-height: calc(100vh - 130px);
        padding: 60px 0;
    }

    .project-idea-success-page .project-idea-success-page__card {
        padding: 48px 22px 40px;
        border-radius: 24px;
    }

    .project-idea-success-page .project-idea-success-page__actions {
        flex-direction: column;
    }

    .project-idea-success-page .project-idea-success-page__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-idea-page .project-form-button,
    .project-idea-success-page .project-idea-success-page__button {
        transition: none;
    }
}

/* =========================================================
   EDUCATIONAL CENTER DETAILS PAGE
========================================================= */

.educational-center-details-page {
    background: #0b1117;
}

.educational-center-details-hero {
    min-height: 260px;
    background:var(--primary-blue);

}

.educational-center-details-hero__title {
    justify-content: center;
}

.educational-center-details-hero__icon {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #14212a;
    background: var(--lime);
    font-size: 1.55rem;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.educational-center-details {
    padding: 76px 0 100px;
    background:
        radial-gradient(circle at 14% 5%, rgba(47,128,199,.13), transparent 28%),
        linear-gradient(180deg, #070b10 0%, #26343e 58%, #858585 100%);
}

.educational-center-details__container {
    max-width: 1080px;
}

.center-profile {
    display: grid;
    gap: 44px;
}

.center-profile__identity {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    padding: 32px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 28px;
    background: rgba(7,18,27,.58);
    box-shadow: 0 22px 52px rgba(0,0,0,.26);
}

.center-profile__logo {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(0,0,0,.24);
}

.center-profile__logo span {
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
    border: 7px solid var(--primary-blue);
    border-radius: 50%;
    color: var(--primary-blue-dark);
    background: #fff;
    font-size: 2.4rem;
    font-weight: 900;
    box-shadow: 0 0 0 8px rgba(47,128,199,.1);
}

.center-profile__intro p {
    margin: 18px 0 0;
    color: #eef3f6;
    font-size: 1.02rem;
    line-height: 2;
}

.center-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.center-section-heading--compact {
    margin-bottom: 20px;
}

.center-section-heading span {
    display: block;
    color: #cbd5dc;
    font-size: .88rem;
}

.center-section-heading h2 {
    margin: 0;
    color: var(--primary-blue-light);
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
}

.center-quick-info,
.center-services,
.center-accessibility,
.center-gallery,
.center-contact-map,
.similar-centers {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 26px;
    background: rgba(7,18,27,.54);
    box-shadow: 0 20px 48px rgba(0,0,0,.23);
}

.center-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.center-info-item {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    color: #fff;
    background: rgba(255,255,255,.045);
}

.center-info-item > i {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-blue);
}

.center-info-item div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.center-info-item strong {
    color: var(--lime-light);
}

.center-info-item a {
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.center-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.center-service-card {
    min-width: 0;
    padding: 24px 20px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    text-align: center;
    background: rgba(255,255,255,.045);
    transition: transform .25s ease, border-color .25s ease;
}

.center-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(205,220,41,.65);
}

.center-service-card > i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 18px;
    color: #14212a;
    background: var(--lime);
    font-size: 1.4rem;
}

.center-service-card h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.08rem;
}

.center-service-card p {
    margin: 0;
    color: #cbd5dc;
    font-size: .88rem;
    line-height: 1.75;
}

.center-accessibility__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
}

.center-accessibility__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 15px;
    color: #fff;
    background: rgba(255,255,255,.045);
}

.center-accessibility__list i {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #14212a;
    background: var(--lime);
}

.center-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.center-gallery__item {
    position: relative;
    aspect-ratio: 1;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 18px;
    cursor: pointer;
    background: #17242d;
}

.center-gallery__item--featured {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 6;
}

.center-gallery__item::after {
    content: "\f00e";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(5,18,27,.56);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.8rem;
    opacity: 0;
    transition: opacity .25s ease;
}

.center-gallery__item:hover::after,
.center-gallery__item:focus-visible::after {
    opacity: 1;
}

.center-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.center-gallery__item:hover img,
.center-gallery__item:focus-visible img {
    transform: scale(1.06);
}

.center-contact-map__layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 22px;
}

.center-contact-panel {
    display: grid;
    gap: 12px;
}

.center-contact-action {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    color: #fff;
    background: var(--primary-blue-dark);
    font-weight: 800;
}

.center-contact-action:hover {
    color: #14212a;
    background: var(--lime);
}

.center-contact-action i {
    width: 34px;
    text-align: center;
}

.center-map-placeholder {
    min-height: 270px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(rgba(7,18,27,.62), rgba(7,18,27,.62)),
        url("../images/projects.jpg") center/cover no-repeat;
}

.center-map-placeholder i {
    color: var(--lime);
    font-size: 3.4rem;
}

.center-map-placeholder strong {
    font-size: 1.25rem;
}

.center-map-placeholder span {
    color: #d0d9df;
}

.similar-centers {
    margin-top: 44px;
}

.similar-centers__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.similar-center-card {
    min-width: 0;
    padding: 24px;
    border-radius: 20px;
    color: #14212a;
    text-align: center;
    background: #f8fafc;
    box-shadow: 0 16px 38px rgba(0,0,0,.22);
}

.similar-center-card__logo {
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    border: 5px solid var(--primary-blue);
    border-radius: 50%;
    color: var(--primary-blue-dark);
    font-size: 1.45rem;
    font-weight: 900;
}

.similar-center-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    line-height: 1.5;
}

.similar-center-card p {
    margin: 0 0 18px;
    color: #61707a;
    font-size: .86rem;
}

.similar-center-card a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 12px;
    color: #fff;
    background: var(--primary-blue-dark);
    font-weight: 800;
}

.similar-center-card a:hover {
    color: #14212a;
    background: var(--lime);
}

.center-gallery-lightbox[hidden] {
    display: none !important;
}

.center-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
}

.center-gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2,8,12,.9);
    backdrop-filter: blur(7px);
}

.center-gallery-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1050px, 100%);
    max-height: calc(100vh - 48px);
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    align-items: center;
    gap: 14px;
}

.center-gallery-lightbox figure {
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #07111a;
    box-shadow: 0 28px 70px rgba(0,0,0,.55);
}

.center-gallery-lightbox figure img {
    width: 100%;
    max-height: calc(100vh - 130px);
    object-fit: contain;
    background: #07111a;
}

.center-gallery-lightbox figcaption {
    padding: 12px 18px;
    color: #fff;
    text-align: center;
    background: #101c25;
}

.center-gallery-lightbox__close,
.center-gallery-lightbox__arrow {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    color: #fff;
    background: rgba(11,28,40,.82);
    cursor: pointer;
}

.center-gallery-lightbox__close {
    position: absolute;
    top: -18px;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
}

.center-gallery-lightbox__close:hover,
.center-gallery-lightbox__arrow:hover {
    color: #14212a;
    background: var(--lime);
    border-color: var(--lime);
}

body.center-gallery-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .center-profile__identity {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .center-services__grid,
    .similar-centers__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .center-contact-map__layout {
        grid-template-columns: 1fr;
    }

    .center-gallery__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .educational-center-details-hero {
        min-height: 350px;
    }

    .educational-center-details-hero__icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 16px;
        font-size: 1.25rem;
    }

    .educational-center-details {
        padding: 58px 0 76px;
    }

    .center-profile__identity {
        grid-template-columns: 1fr;
        padding: 22px 18px;
        text-align: center;
    }

    .center-profile__logo {
        width: min(220px, 70vw);
        margin-inline: auto;
    }

    .center-section-heading {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .center-quick-info,
    .center-services,
    .center-accessibility,
    .center-gallery,
    .center-contact-map,
    .similar-centers {
        padding: 22px 16px;
        border-radius: 20px;
    }

    .center-info-grid,
    .center-accessibility__list,
    .center-services__grid,
    .similar-centers__grid {
        grid-template-columns: 1fr;
    }

    .center-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .center-gallery__item--featured {
        aspect-ratio: 16 / 9;
    }

    .center-gallery-lightbox {
        padding: 14px;
    }

    .center-gallery-lightbox__dialog {
        grid-template-columns: 1fr;
    }

    .center-gallery-lightbox__arrow {
        position: absolute;
        top: 50%;
        z-index: 3;
        transform: translateY(-50%);
    }

    .center-gallery-lightbox__arrow--previous {
        right: 8px;
    }

    .center-gallery-lightbox__arrow--next {
        left: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .center-service-card,
    .center-gallery__item::after,
    .center-gallery__item img,
    .center-contact-action,
    .similar-center-card a {
        transition: none;
    }
}

.learning-card--coming-soon {
    position: relative;
}

.coming-soon-badge {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #dfff00;
    color: #111;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 6px 18px rgba(223, 255, 0, 0.24);
}

.learning-card--coming-soon .learning-card__link {
    cursor: not-allowed;
    opacity: 0.88;
}

@media (prefers-reduced-motion: reduce) {
    .coming-soon-badge {
        transition: none;
        animation: none;
    }
}



/* =========================================================
   Hero dynamic title fix
   ========================================================= */

.hero__story h1 span,
.hero__story h2 span {
    display: inline-block;
    white-space: nowrap;
}

[dir="rtl"] .hero__story h1,
[dir="rtl"] .hero__story h2 {
    direction: rtl;
}

/* =========================================================
   Footer social icons fix
   ========================================================= */

.footer-bottom .footer-social {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-bottom .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0;
}

[dir="rtl"] .footer-bottom .footer-social {
    flex-direction: row !important;
}

@media (max-width: 768px) {
    .footer-bottom .footer-social {
        justify-content: center;
    }
}

/* =========================================================
   Full clickable projects banner
   ========================================================= */

.projects-banner__inner {
    position: relative;
    cursor: pointer;
}

.projects-banner__overlay-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.projects-banner__inner > h2,
.projects-banner__inner > .projects-banner__link {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.projects-banner__speech {
    position: relative;
    z-index: 3;
}

.projects-banner__overlay-link:focus-visible {
    outline: 4px solid #ffffff;
    outline-offset: -6px;
    border-radius: inherit;
}


/* =========================================================
   Contact Page
   Scoped to .contact-page to avoid affecting other pages
   ========================================================= */
.contact-page{
  margin: 50px 0;
}
.contact-page .contact-hero__title {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-page .contact-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 26px;
}

.contact-page .contact-section {
    position: relative;
    padding: 80px 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(34, 137, 211, 0.08), transparent 28%),
        radial-gradient(circle at 90% 90%, rgba(138, 219, 82, 0.06), transparent 26%),
        #07111f;
    overflow: hidden;
}

.contact-page .contact-section::before,
.contact-page .contact-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.contact-page .contact-section::before {
    width: 260px;
    height: 260px;
    inset-inline-start: -120px;
    top: 100px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-page .contact-section::after {
    width: 360px;
    height: 360px;
    inset-inline-end: -180px;
    bottom: -150px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-page .contact-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.contact-page .contact-heading > div > span {
    display: block;
    margin-bottom: 8px;
    color: #74d1ff;
    font-size: 15px;
    font-weight: 700;
}

.contact-page .contact-heading h2 {
    margin: 0;
    color: #fff;
    font-family: "Changa", sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.25;
}

.contact-page .contact-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.7fr);
    gap: 28px;
    align-items: stretch;
}

.contact-page .contact-info-card,
.contact-page .contact-form-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(13, 27, 45, 0.92);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.contact-page .contact-info-card {
    padding: 32px;
    overflow: hidden;
    position: relative;
}

.contact-page .contact-info-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    inset-inline-end: -80px;
    bottom: -80px;
    border-radius: 50%;
    background: rgba(30, 139, 210, 0.08);
    pointer-events: none;
}

.contact-page .contact-info-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.contact-page .contact-info-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #168bc9, #0f5f91);
    color: #fff;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(22, 139, 201, 0.24);
}

.contact-page .contact-info-card__header span:not(.contact-info-card__icon) {
    display: block;
    margin-bottom: 4px;
    color: #75d2ff;
    font-size: 13px;
    font-weight: 700;
}

.contact-page .contact-info-card__header h2 {
    margin: 0;
    color: #fff;
    font-size: 25px;
    line-height: 1.35;
}

.contact-page .contact-info-card__description {
    margin: 0 0 26px;
    color: #c4cfdb;
    font-size: 15px;
    line-height: 1.9;
}

.contact-page .contact-info-list {
    display: grid;
    gap: 14px;
}

.contact-page .contact-info-item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.contact-page a.contact-info-item:hover {
    transform: translateY(-2px);
    border-color: rgba(89, 191, 246, 0.45);
    background: rgba(89, 191, 246, 0.07);
}

.contact-page .contact-info-item > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: rgba(31, 148, 213, 0.12);
    color: #65c9ff;
    font-size: 17px;
}

.contact-page .contact-info-item span {
    min-width: 0;
}

.contact-page .contact-info-item strong,
.contact-page .contact-info-item small {
    display: block;
}

.contact-page .contact-info-item strong {
    margin-bottom: 4px;
    color: #fff;
    font-size: 14px;
}

.contact-page .contact-info-item small {
    color: #b9c7d5;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.contact-page .contact-form-card {
    padding: 34px;
}

.contact-page .contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.7;
}

.contact-page .contact-alert > i {
    margin-top: 4px;
    flex: 0 0 auto;
}

.contact-page .contact-alert--success {
    border: 1px solid rgba(95, 207, 121, 0.32);
    background: rgba(95, 207, 121, 0.1);
    color: #c9f7d4;
}

.contact-page .contact-alert--error {
    border: 1px solid rgba(245, 101, 101, 0.35);
    background: rgba(245, 101, 101, 0.1);
    color: #ffd2d2;
}

.contact-page .contact-alert ul {
    margin: 8px 0 0;
    padding-inline-start: 20px;
}

.contact-page .contact-form {
    display: grid;
    gap: 20px;
}

.contact-page .contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-page .contact-form-group {
    display: grid;
    gap: 9px;
}

.contact-page .contact-form-group label {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.contact-page .contact-form-group label span {
    color: #ff7d7d;
}

.contact-page .contact-form-group input,
.contact-page .contact-form-group textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    background: rgba(3, 12, 23, 0.58);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.contact-page .contact-form-group input {
    height: 54px;
    padding: 0 16px;
}

.contact-page .contact-form-group textarea {
    min-height: 180px;
    padding: 16px;
    resize: vertical;
    line-height: 1.8;
}

.contact-page .contact-form-group input::placeholder,
.contact-page .contact-form-group textarea::placeholder {
    color: #78899a;
}

.contact-page .contact-form-group input:hover,
.contact-page .contact-form-group textarea:hover {
    border-color: rgba(104, 197, 247, 0.34);
}

.contact-page .contact-form-group input:focus,
.contact-page .contact-form-group textarea:focus {
    border-color: #4bb8f1;
    background: rgba(3, 12, 23, 0.78);
    box-shadow: 0 0 0 4px rgba(75, 184, 241, 0.12);
}

.contact-page .contact-form-group--full {
    grid-column: 1 / -1;
}

.contact-page .contact-captcha {
    display: flex;
    justify-content: flex-start;
    /*overflow-x: auto;*/
    padding-bottom: 2px;
}

.contact-page .contact-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.contact-page .contact-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-width: 180px;
    min-height: 52px;
    padding: 12px 24px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #168bc9, #0f6da5);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(18, 126, 184, 0.22);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.contact-page .contact-form-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 16px 32px rgba(18, 126, 184, 0.3);
}

.contact-page .contact-form-submit:active {
    transform: translateY(0);
}

.contact-page .contact-form-submit:focus-visible,
.contact-page .contact-info-item:focus-visible,
.contact-page .contact-form-group input:focus-visible,
.contact-page .contact-form-group textarea:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.contact-page .hidden-field {
    position: absolute !important;
    inset-inline-start: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* RTL/LTR-safe refinements */
.contact-page .contact-info-item,
.contact-page .contact-info-card__header,
.contact-page .contact-heading,
.contact-page .contact-form-submit {
    text-align: start;
}

/* Tablet */
@media (max-width: 991px) {
    .contact-page .contact-section {
        padding: 64px 0;
    }

    .contact-page .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-page .contact-info-card {
        order: 2;
    }

    .contact-page .contact-form-card {
        order: 1;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .contact-page .contact-hero__title {
        gap: 12px;
    }

    .contact-page .contact-hero__icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        font-size: 21px;
    }

    .contact-page .contact-section {
        padding: 48px 0;
    }

    .contact-page .contact-heading {
        align-items: flex-start;
    }

    .contact-page .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-page .contact-info-card,
    .contact-page .contact-form-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .contact-page .contact-form-actions {
        justify-content: stretch;
    }

    .contact-page .contact-form-submit {
        width: 100%;
    }

    .contact-page .g-recaptcha {
        transform-origin: right top;
    }
}

/* Small mobile */
@media (max-width: 390px) {
    .contact-page .contact-info-card__header {
        align-items: flex-start;
    }

    .contact-page .contact-info-card__icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 20px;
    }

    .contact-page .g-recaptcha {
        transform: scale(0.86);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .contact-page .contact-info-item,
    .contact-page .contact-form-submit,
    .contact-page .contact-form-group input,
    .contact-page .contact-form-group textarea {
        transition: none;
    }

    .contact-page .contact-info-item:hover,
    .contact-page .contact-form-submit:hover {
        transform: none;
    }
}

/* Print */
@media print {
    .contact-page .contact-form-card,
    .contact-page .contact-form-actions,
    .contact-page .contact-captcha,
    .contact-page .speech-button {
        display: none !important;
    }

    .contact-page .contact-layout {
        display: block;
    }

    .contact-page .contact-info-card {
        border: 1px solid #ccc;
        box-shadow: none;
        background: #fff;
    }

    .contact-page .contact-info-card,
    .contact-page .contact-info-card * {
        color: #000 !important;
    }
}

.default-article-content{
  margin: 100px 0;
}

/* =========================================================
   Search Page
   Every selector matches search/index.php exactly
   ========================================================= */
.search-page{
  margin: 100px 0
}
.search-page .search-page__hero-title {
    display: flex;
    align-items: center;
    gap: 18px;
}

.search-page .search-page__hero-title h1 {
    margin: 0;
}

.search-page .search-page__content {
    position: relative;
    padding: 84px 0 96px;
    background:
        radial-gradient(circle at 12% 18%, rgba(40, 154, 218, 0.07), transparent 30%),
        radial-gradient(circle at 88% 82%, rgba(123, 208, 74, 0.05), transparent 28%),
        #07111f;
    overflow: hidden;
}

.search-page .search-page__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
}

.search-page .search-page__heading {
    min-width: 0;
}

.search-page .search-page__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #74d4ff;
    font-size: 15px;
    font-weight: 800;
}

.search-page .search-page__title {
    margin: 0;
    color: #fff;
    font-family: "Changa", sans-serif;
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.search-page .search-page__count {
    flex: 0 0 auto;
    padding: 9px 16px;
    border: 1px solid rgba(108, 206, 251, 0.22);
    border-radius: 999px;
    background: rgba(72, 189, 244, 0.1);
    color: #7bd8ff;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.search-page .search-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.search-page .search-page__card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(101, 199, 246, 0.18);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(18, 40, 67, 0.97),
            rgba(10, 24, 42, 0.97)
        );
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.search-page .search-page__card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 201, 249, 0.44);
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.24);
}

.search-page .search-page__card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.search-page .search-page__card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025);
}

.search-page .search-page__card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.search-page .search-page__card:hover .search-page__card-media img {
    transform: scale(1.035);
}

.search-page .search-page__card-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            rgba(35, 91, 128, 0.34),
            rgba(17, 43, 68, 0.48)
        );
    color: #69d1ff;
    font-size: 50px;
}

.search-page .search-page__card-speech {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    z-index: 3;
}

.search-page .search-page__card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 24px 26px;
}

.search-page .search-page__card-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 22px;
    line-height: 1.45;
}

.search-page .search-page__card-description {
    display: -webkit-box;
    margin: 0 0 22px;
    overflow: hidden;
    color: #c3ced9;
    font-size: 15px;
    line-height: 1.9;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.search-page .search-page__card-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-top: auto;
    color: #73d3ff;
    font-size: 14px;
    font-weight: 800;
}

.search-page .search-page__empty {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    border: 1px solid rgba(101, 199, 246, 0.18);
    border-radius: 24px;
    background:
        linear-gradient(
            145deg,
            rgba(18, 40, 67, 0.94),
            rgba(10, 24, 42, 0.94)
        );
    text-align: center;
}

.search-page .search-page__empty-icon {
    display: flex;
    width: 78px;
    height: 78px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(69, 186, 241, 0.12);
    color: #70d4ff;
    font-size: 30px;
}

.search-page .search-page__empty h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 27px;
    line-height: 1.4;
}

.search-page .search-page__empty p {
    max-width: 580px;
    margin: 0;
    color: #bec9d4;
    font-size: 15px;
    line-height: 1.9;
}

.search-page .search-page__pagination {
    margin-top: 38px;
}

.search-page .search-page__card-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -6px;
}
.search-form__clear{
  margin-top: 10px;
}
@media (max-width: 1100px) {
    .search-page .search-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .search-page .search-page__content {
        padding: 58px 0 70px;
    }

    .search-page .search-page__top {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 30px;
    }

    .search-page .search-page__count {
        white-space: normal;
    }

    .search-page .search-page__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .search-page .search-page__card-body {
        padding: 22px 20px 24px;
    }

    .search-page .search-page__card-title {
        font-size: 20px;
    }

    .search-page .search-page__empty {
        min-height: 280px;
        padding: 38px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .search-page .search-page__card,
    .search-page .search-page__card-media img {
        transition: none;
    }

    .search-page .search-page__card:hover,
    .search-page .search-page__card:hover .search-page__card-media img {
        transform: none;
    }
}

/* =========================================================
   Maintenance Page
   Scoped under .maintenance-page
   ========================================================= */

.maintenance-page .maintenance-page__section {
    position: relative;
    display: flex;
    min-height: calc(100vh - 180px);
    align-items: center;
    justify-content: center;
    padding: 90px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(47, 164, 222, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(134, 218, 82, 0.07),
            transparent 28%
        ),
        #07111f;
}

.maintenance-page .maintenance-page__background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.maintenance-page .maintenance-page__background::before,
.maintenance-page .maintenance-page__background::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.maintenance-page .maintenance-page__background::before {
    width: 360px;
    height: 360px;
    inset-inline-start: -180px;
    top: 80px;
}

.maintenance-page .maintenance-page__background::after {
    width: 460px;
    height: 460px;
    inset-inline-end: -230px;
    bottom: -210px;
}

.maintenance-page .maintenance-page__container {
    position: relative;
    z-index: 1;
}

.maintenance-page .maintenance-page__card {
    position: relative;
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 58px 50px 52px;
    border: 1px solid rgba(112, 205, 250, 0.22);
    border-radius: 30px;
    background:
        linear-gradient(
            145deg,
            rgba(19, 42, 70, 0.97),
            rgba(10, 25, 43, 0.97)
        );
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.maintenance-page .maintenance-page__icon {
    display: inline-flex;
    width: 92px;
    height: 92px;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    border-radius: 26px;
    background: linear-gradient(135deg, #27b8e8, #157fb8);
    color: #fff;
    font-size: 38px;
    box-shadow: 0 16px 34px rgba(18, 137, 196, 0.28);
}

.maintenance-page .maintenance-page__speech {
    position: absolute;
    top: 24px;
    inset-inline-end: 24px;
}

.maintenance-page .maintenance-page__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #79d8ff;
    font-size: 15px;
    font-weight: 800;
}

.maintenance-page .maintenance-page__title {
    margin: 0;
    color: #fff;
    font-family: "Changa", sans-serif;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.28;
}

.maintenance-page .maintenance-page__description {
    max-width: 610px;
    margin: 22px auto 0;
    color: #c9d4df;
    font-size: 17px;
    line-height: 2;
}

.maintenance-page .maintenance-page__divider {
    width: 110px;
    height: 3px;
    margin: 30px auto 24px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        transparent,
        #5ecbfb,
        transparent
    );
}

.maintenance-page .maintenance-page__site-name {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.maintenance-page .maintenance-page__contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
    margin-top: 24px;
}

.maintenance-page .maintenance-page__contact a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    color: #d7e1ea;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.maintenance-page .maintenance-page__contact a:hover {
    transform: translateY(-2px);
    border-color: rgba(101, 205, 252, 0.42);
    background: rgba(101, 205, 252, 0.07);
}

.maintenance-page .maintenance-page__contact i {
    color: #70d4ff;
}

.maintenance-page .maintenance-page__contact a:focus-visible,
.maintenance-page .maintenance-page__speech:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .maintenance-page .maintenance-page__section {
        min-height: calc(100vh - 130px);
        padding: 60px 0;
    }

    .maintenance-page .maintenance-page__card {
        padding: 48px 24px 38px;
        border-radius: 24px;
    }

    .maintenance-page .maintenance-page__icon {
        width: 78px;
        height: 78px;
        margin-bottom: 22px;
        border-radius: 22px;
        font-size: 32px;
    }

    .maintenance-page .maintenance-page__speech {
        top: 18px;
        inset-inline-end: 18px;
    }

    .maintenance-page .maintenance-page__description {
        font-size: 15px;
        line-height: 1.9;
    }

    .maintenance-page .maintenance-page__contact {
        flex-direction: column;
        align-items: stretch;
    }

    .maintenance-page .maintenance-page__contact a {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maintenance-page .maintenance-page__contact a {
        transition: none;
    }

    .maintenance-page .maintenance-page__contact a:hover {
        transform: none;
    }
}

/* =========================================================
   404 Error Page
   All selectors are isolated under .frontend-error-page
   ========================================================= */

.frontend-error-page {
    position: relative;
    display: flex;
    min-height: calc(100vh - 180px);
    align-items: center;
    justify-content: center;
    padding: 90px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(48, 166, 224, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(132, 216, 80, 0.07),
            transparent 28%
        ),
        #07111f;
}

.frontend-error-page .frontend-error-page__background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.frontend-error-page .frontend-error-page__background::before,
.frontend-error-page .frontend-error-page__background::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.frontend-error-page .frontend-error-page__background::before {
    width: 380px;
    height: 380px;
    inset-inline-start: -190px;
    top: 80px;
}

.frontend-error-page .frontend-error-page__background::after {
    width: 480px;
    height: 480px;
    inset-inline-end: -240px;
    bottom: -220px;
}

.frontend-error-page .frontend-error-page__container {
    position: relative;
    z-index: 1;
}

.frontend-error-page .frontend-error-page__box {
    position: relative;
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 58px 50px 52px;
    border: 1px solid rgba(111, 204, 249, 0.22);
    border-radius: 30px;
    background:
        linear-gradient(
            145deg,
            rgba(19, 42, 70, 0.97),
            rgba(10, 25, 43, 0.97)
        );
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.frontend-error-page .frontend-error-page__speech {
    position: absolute;
    top: 24px;
    inset-inline-end: 24px;
}

.frontend-error-page .frontend-error-page__icon {
    display: inline-flex;
    width: 88px;
    height: 88px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 25px;
    background: linear-gradient(135deg, #27b8e8, #157fb8);
    color: #fff;
    font-size: 36px;
    box-shadow: 0 16px 34px rgba(18, 137, 196, 0.28);
}

.frontend-error-page .frontend-error-page__code {
    display: block;
    margin-bottom: 8px;
    color: #79d8ff;
    font-family: "Changa", sans-serif;
    font-size: clamp(54px, 8vw, 92px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 2px;
}

.frontend-error-page .frontend-error-page__title {
    margin: 0;
    color: #fff;
    font-family: "Changa", sans-serif;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.35;
}

.frontend-error-page .frontend-error-page__description {
    max-width: 610px;
    margin: 20px auto 0;
    color: #c9d4df;
    font-size: 17px;
    line-height: 2;
}

.frontend-error-page .frontend-error-page__divider {
    width: 110px;
    height: 3px;
    margin: 30px auto 26px;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            transparent,
            #5ecbfb,
            transparent
        );
}

.frontend-error-page .frontend-error-page__home-link {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid rgba(105, 205, 252, 0.25);
    border-radius: 15px;
    background: linear-gradient(135deg, #27b8e8, #157fb8);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 13px 28px rgba(18, 137, 196, 0.24);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.frontend-error-page .frontend-error-page__home-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 17px 34px rgba(18, 137, 196, 0.32);
}

.frontend-error-page .frontend-error-page__home-link:focus-visible,
.frontend-error-page .frontend-error-page__speech:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .frontend-error-page {
        min-height: calc(100vh - 130px);
        padding: 60px 0;
    }

    .frontend-error-page .frontend-error-page__box {
        padding: 48px 24px 40px;
        border-radius: 24px;
    }

    .frontend-error-page .frontend-error-page__speech {
        top: 18px;
        inset-inline-end: 18px;
    }

    .frontend-error-page .frontend-error-page__icon {
        width: 76px;
        height: 76px;
        border-radius: 22px;
        font-size: 31px;
    }

    .frontend-error-page .frontend-error-page__description {
        font-size: 15px;
        line-height: 1.9;
    }

    .frontend-error-page .frontend-error-page__home-link {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .frontend-error-page .frontend-error-page__home-link {
        transition: none;
    }

    .frontend-error-page .frontend-error-page__home-link:hover {
        transform: none;
    }
}

/* =========================================================
   Article attachments and additional image galleries
   Shared by center.php, article.php, default.php and project.php
========================================================= */

.article-attachments {
    width: 100%;
    margin-top: 42px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 26px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.10),
            rgba(255, 255, 255, 0.045)
        );
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(10px);
}

.article-attachments__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.article-attachments__heading > div {
    min-width: 0;
}

.article-attachments__heading span {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 700;
    opacity: 0.72;
}

.article-attachments__heading h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.35;
}

.article-attachments__heading .article-attachments__count {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2498d4;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(36, 152, 212, 0.28);
    opacity: 1;
}

.article-attachments__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.article-attachment-card {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease;
}

.article-attachment-card:hover {
    transform: translateY(-3px);
    border-color: rgba(36, 152, 212, 0.55);
    background: rgba(255, 255, 255, 0.12);
}

.article-attachment-card__icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(36, 152, 212, 0.16);
    color: #42afe5;
    font-size: 27px;
}

.article-attachment-card__content {
    min-width: 0;
}

.article-attachment-card__content h3 {
    margin: 0 0 7px;
    font-size: 17px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.article-attachment-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    opacity: 0.72;
}

.article-attachment-card__action {
    min-height: 44px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    background: #2498d4;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.article-attachment-card__action:hover {
    color: #ffffff;
    background: #147daf;
    transform: translateY(-1px);
}

.article-images-gallery {
    width: 100%;
    margin-top: 42px;
}

.article-images-gallery__heading {
    margin-bottom: 20px;
}

.article-images-gallery__heading h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
}

.article-images-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.article-images-gallery__item {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.article-images-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-images-gallery__item:hover img {
    transform: scale(1.04);
}

@media (max-width: 991px) {
    .article-attachments__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-images-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .article-attachments {
        margin-top: 32px;
        padding: 22px 16px;
        border-radius: 21px;
    }

    .article-attachment-card {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 13px;
        padding: 15px;
    }

    .article-attachment-card__icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 23px;
    }

    .article-attachment-card__action {
        grid-column: 1 / -1;
        width: 100%;
    }

    .article-images-gallery__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Light-page fallback, when a details template uses a white card/background. */
.article-details-main .article-attachments,
.default-article-card .article-attachments,
.center-profile .article-attachments {
    color: inherit;
}

.article-details-main .article-attachment-card,
.default-article-card .article-attachment-card,
.center-profile .article-attachment-card {
    color: inherit;
}
