/* ── Proje teması: header, footer, ana sayfa, giriş/kayıt ve portal düzeni ──
   Eskiden assets/styles/app.css içinde Bootstrap'ın sonuna gömülüydü.
   Yükleme sırası: bootstrap.min.css → theme.css (assets/app.js). */

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: "Google Sans Flex",sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "slnt" 0,"wdth" 100,"GRAD" 0,"ROND" 0;
    letter-spacing: 0.03rem;
}

@media (min-width: 1921px) {
    html {
        font-size: 18px;
    }
}

@media (max-width: 1399.98px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 1199.98px) {
    html {
        font-size: 14px;
    }
}

/* Tablet ve telefon: kök boyut 14 px'in altına inmez (rem tabanlı metinler telefonda 8–10 px'e düşüyordu) */
@media (max-width: 991.98px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 767.98px) {
    html {
        font-size: 14px;
    }
}

body {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

button,
a,
input,
textarea,
select {
    font-family: "Google Sans Flex",sans-serif;
}

.site-main {
    flex: 1 0 auto;
    display: flex;
    flex-wrap: wrap;
    row-gap: 3.125rem;
    padding-bottom: 19.6875rem;
}

.portal-opened .site-main {
    padding-bottom: 9.375rem;
}

@media (min-width: 1555px) {
    .container {
        max-width: 1440px;
    }
}

@media (min-width: 1921px) {
    .container {
        max-width: 1600px;
    }
}

.site-elipse {
    content: "";
    width: 68.75rem;
    height: 68.75rem;
    position: absolute;
    right: -47.6875rem;
    top: -12.125rem;
    border-radius: 68.75rem;
    opacity: .1;
    background: var(--color-accent-600);
    filter: blur(7.8125rem);
    pointer-events: none;
    z-index: -1;
}

.fade-left {
    transform: translateX(-50px);
}

.fade-up {
    transform: translateY(30px);
}

.fade-right {
    transform: translateX(50px);
}

.global-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3.125rem 1rem 1rem 1rem;
}

.global-content .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.global-content .section-title {
    width: 100%;
    color: var(--color-accent-600);
    text-align: center;
}

.global-content .section-title h2,
.global-content .section-title .h2 {
    font-size: 2.375rem;
    font-weight: 700;
    line-height: 3.5rem;
    letter-spacing: 0.07875rem;
}

.global-content .sub-title {
    width: 100%;
    color: var(--color-primary-900);
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.045rem;
}

.global-content .small-text {
    width: 100%;
    max-width: 56.25rem;
    text-align: center;
    padding-top: 1.625rem;
}

.global-content .small-text small,
.global-content .small-text .small {
    color: #6b5c8a;
    font-size: 1rem;
    line-height: 1.625rem;
    letter-spacing: 0.03rem;
}

.global-content .single-page-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.global-content .single-page-content .article {
    width: 100%;
    padding: 3.125rem;
    background: #fff;
    border-radius: 1.875rem;
    box-shadow: 0 1px 0 0 #fff inset,0 4px 4px 0 rgba(0,0,0,.05) inset,0 4px 64px 0 rgba(var(--color-primary-rgb), .05);
    margin-top: 1.875rem;
    font-size: 0.875rem;
    line-height: 1.625rem;
}

.global-content .single-page-content .buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6.25rem;
    padding-top: 1.875rem;
}

.global-content .single-page-content .buttons .control-btn {
    border-radius: 10px;
    padding: 1rem;
    gap: 0.625rem;
    border: none;
    font-size: 0.875rem;
    transition: all .3s ease;
}

.global-content .single-page-content .buttons .control-btn:hover {
    filter: brightness(1.7);
}

.chat-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease,visibility .25s ease;
}

.chat-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.message-bubble {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1050;
    display: none;
}

.message-bubble .bubble {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(0deg, var(--color-primary-900), var(--color-accent-600));
    color: #fff;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: transform .2s ease,background-color .2s ease;
    animation: bubbleEntrance .6s cubic-bezier(0.175, 0.885, 0.32, 1.275) .5s backwards;
}

.message-bubble .bubble:hover {
    transform: scale(1.08);
}

.message-bubble .message-baloon {
    width: 37.5rem;
    position: absolute;
    right: 0;
    bottom: 4.375rem;
    background-color: #fff;
    border-radius: 1rem;
    padding: 1rem;
    display: none;
    flex-direction: column;
    transform-origin: bottom right;
}

@media (max-width: 767.98px) {
    .message-bubble .message-baloon {
        width: calc(100vw - 3rem);
        min-height: 60vh;
    }
}

.message-bubble .message-baloon form {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.message-bubble .message-baloon .message-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.message-bubble .message-baloon .message-text textarea {
    flex: 1;
    resize: none;
    min-height: 40vh;
}

.message-bubble .message-baloon .message-send {
    margin-top: 0.75rem;
}

.portal-opened .message-bubble {
    display: block;
}

@keyframes bubbleEntrance {
    0% {
        opacity: 0;
        transform: scale(0) translate(50px, 50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translate(0, 0);
    }
}

.site-header {
    width: 100%;
    display: grid;
    grid-template-columns: [left-start] 1fr [center-start] auto [right-start] 1fr [right-end];
    align-items: center;
    padding: 1.625rem 3rem;
    transition: all .3s ease;
    position: relative;
}

@media (max-width: 767.98px) {
    .site-header {
        padding: 0.5625rem 1rem;
    }
}

.site-header .header-logo {
    width: 100%;
    max-width: 14.0625rem;
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.4375rem;
    grid-column: left-start;
    justify-self: start;
}

.site-header .header-logo .logo {
    width: 100%;
    max-width: 14.0625rem;
    transition: all .3s ease;
}

@media (max-width: 767.98px) {
    .site-header .header-logo .logo {
        max-width: 11.25rem;
    }
}

.site-header .header-logo .logo img {
    width: 100%;
    transition: all .3s ease;
}

.site-header .header-logo .description {
    width: 100%;
    color: var(--color-primary-900);
    font-size: 0.875rem;
    text-align: center;
    transition: all .3s ease;
}

@media (max-width: 1199.98px) {
    .site-header .header-logo .description {
        display: none;
    }
}

.site-header .header-nav {
    grid-column: center-start;
    justify-self: center;
}

.site-header .header-nav ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    column-gap: 1rem;
}

@media (max-width: 1199.98px) {
    .site-header .header-nav ul {
        width: 100vw;
        min-height: 50vh;
        position: absolute;
        left: 0;
        top: 100%;
        background: var(--color-primary-900);
        z-index: 999;
        flex-wrap: wrap;
        flex-direction: column;
        display: none;
        align-items: center;
        justify-content: space-between;
        padding: 10vh 0;
    }
}

@media (max-width: 1199.98px) {
    .site-header .header-nav ul li {
        width: 100%;
        border-bottom: 1px solid hsla(0,0%,100%,.3);
        text-align: center;
        padding: 1.375rem;
    }
}

@media (max-width: 1199.98px) {
    .site-header .header-nav ul li:last-child {
        border-bottom: none;
    }
}

.site-header .header-nav ul li a {
    text-decoration: none;
    padding: 1.375rem;
    color: #340954;
    border-radius: 0.625rem;
    transition: all .2s;
}

@media (max-width: 1199.98px) {
    .site-header .header-nav ul li a {
        padding: 1.375rem;
        font-size: 2rem;
        color: #fff;
    }
}

.site-header .header-nav ul li:hover a {
    background: var(--color-primary-900);
    color: #fff;
    box-shadow: 0 10px 10px rgba(var(--color-primary-rgb), .15);
}

.site-header .header-nav .menu-toggle {
    width: 2.25rem;
    height: 1.875rem;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1040;
    display: none;
}

@media (max-width: 1199.98px) {
    .site-header .header-nav .menu-toggle {
        display: flex;
    }
}

.site-header .header-nav .menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary-900);
    border-radius: 2px;
    transition: all .3s ease-in-out;
    transform-origin: left center;
}

.portal-opened .site-header .header-nav {
    display: none;
}

.site-header .user-area {
    grid-column: right;
    justify-self: end;
}

.site-header .user-area .login-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    padding: 1.375rem;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--color-primary-600) 0%, var(--color-accent-600) 100%);
    box-shadow: 0 0.25rem 0.625rem 0 rgba(var(--color-accent-rgb), .1);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s;
    position: relative;
    overflow: hidden;
}

.site-header .user-area .login-button img {
    width: 1.25rem;
    z-index: 2;
}

.site-header .user-area .login-button div {
    z-index: 2;
}

@media (max-width: 767.98px) {
    .site-header .user-area .login-button div span {
        display: none;
    }
}

.site-header .user-area .login-button::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    right: 100%;
    top: 0;
    background: linear-gradient(90deg, var(--color-accent-600) 0%, var(--color-primary-600) 100%);
    transition: all .2s;
    filter: blur(10px);
}

.site-header .user-area .login-button:hover {
    box-shadow: 0 0.625rem 1.25rem 0 rgba(var(--color-accent-rgb), .3);
}

.site-header .user-area .login-button:hover::before {
    right: 0;
}

.portal-opened .site-header .user-area .login-button {
    display: none;
}

.site-header .user-area .user-collapse {
    min-width: 15.625rem;
    padding: 1rem;
    display: none;
    flex-direction: column;
    border-radius: 1rem;
    position: relative;
    z-index: 1000;
}

.site-header .user-area .user-collapse .username {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    user-select: none;
    z-index: 2;
}

.site-header .user-area .user-collapse .username .icon {
    width: 3rem;
    height: 3rem;
    background: var(--color-primary-900);
    border-radius: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
}

.site-header .user-area .user-collapse .username .name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary-900);
    margin-right: auto;
}

.site-header .user-area .user-collapse .username::after {
    flex-shrink: 0;
    content: "";
    width: 1rem;
    height: 1rem;
    background: url("../images/caret-txo0MXZ.svg") no-repeat center;
    transition: all .3s ease;
}

.site-header .user-area .user-collapse .sub-list {
    width: 100%;
    padding-top: 5rem;
    background: linear-gradient(81deg, var(--color-primary-100) 0%, #FFF 100%);
    box-shadow: 0 4px 10px 0 rgba(var(--color-accent-rgb), .1);
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 1rem;
    opacity: 0;
    transition: all .3s ease;
}

.site-header .user-area .user-collapse .sub-list .list {
    width: 100%;
    list-style: none;
    padding: 0.625rem 0;
    margin: 0;
    display: none;
    gap: 0.625rem;
    flex-direction: column;
}

.site-header .user-area .user-collapse .sub-list .list li {
    padding: 0 1rem;
}

.site-header .user-area .user-collapse .sub-list .list li a {
    font-size: 1.125rem;
    text-decoration: none;
    color: var(--color-accent-600);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.625rem;
    padding: 0.625rem 0;
}

.site-header .user-area .user-collapse .sub-list .list li a .link-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-header .user-area .user-collapse .sub-list .list li a.exit {
    color: #ff4e4e;
}

.site-header .user-area .user-collapse .sub-list .list li a:hover {
    background: rgba(var(--color-primary-rgb), .1);
}

.site-header .user-area .user-collapse.is-active .username::after {
    transform: rotate(-180deg);
}

.site-header .user-area .user-collapse.is-active .sub-list {
    opacity: 1;
}

.portal-opened .site-header .user-area .user-collapse {
    display: flex;
}

.is-sticky .site-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    padding: 1rem 3rem;
}

@media (max-width: 767.98px) {
    .is-sticky .site-header {
        padding: 0.5625rem 1rem;
    }
}

.is-sticky .site-header .header-logo .logo {
    max-width: 9.375rem;
}

.is-sticky .site-header .header-logo .description {
    max-height: 1px;
    opacity: 0;
}

.is-sticky .site-header .header-nav ul li a {
    padding: 1rem;
    font-size: 0.875rem;
}

.is-sticky .site-header .user-area .login-button {
    padding: 1rem;
    font-size: 0.875rem;
}

.is-sticky .site-header .user-area .user-collapse .username .name {
    font-size: 0.875rem;
}

.is-sticky .site-header .user-area .user-collapse .username .icon {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
}

.is-sticky .site-header .user-area .user-collapse .sub-list {
    padding-top: 4rem;
    box-shadow: none;
}

.is-sticky .site-header .user-area .user-collapse .sub-list .list li a {
    font-size: 0.875rem;
}

.site-header.menu-opened .header-nav ul {
    display: flex;
}

.site-header.menu-opened .header-nav .menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
}

.site-header.menu-opened .header-nav .menu-toggle span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.site-header.menu-opened .header-nav .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
}

.site-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    align-self: stretch;
    background: var(--color-surface-dark);
    padding: 3.125rem 0;
    position: relative;
    flex-shrink: 0;
}

.site-footer::before {
    content: "";
    width: 53.5rem;
    height: 3.3125rem;
    position: absolute;
    left: 50%;
    top: -1.25rem;
    transform: translateX(-50%);
    background: url("../images/footer-bg-CLS2agz.svg") no-repeat center top;
    background-size: contain;
    animation: waveMotion 4s ease-in-out infinite;
    transform-origin: bottom center;
    pointer-events: none;
}

@keyframes waveMotion {
    0% {
        transform: translateX(-50%) translateY(0) scaleY(1);
    }
    50% {
        transform: translateX(-50%) translateY(-0.5rem) scaleY(1.08);
    }
    100% {
        transform: translateX(-50%) translateY(0) scaleY(1);
    }
}

.site-footer::after {
    content: "";
    width: 55rem;
    height: 3.3125rem;
    position: absolute;
    left: 50%;
    top: -1.25rem;
    transform: translateX(-50%);
    background: url("../images/footer-bg-CLS2agz.svg") no-repeat center top;
    background-size: contain;
    opacity: .4;
    z-index: -1;
    animation: waveMotionSecondary 6s ease-in-out infinite;
    transform-origin: bottom center;
    pointer-events: none;
}

@keyframes waveMotionSecondary {
    0% {
        transform: translateX(-48%) translateY(0) scaleY(1);
    }
    50% {
        transform: translateX(-52%) translateY(-0.75rem) scaleY(1.15);
    }
    100% {
        transform: translateX(-48%) translateY(0) scaleY(1);
    }
}

.site-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3.125rem 0;
}

@media (max-width: 767.98px) {
    .site-footer .footer-content {
        flex-direction: column;
        gap: 1.875rem;
    }
}

.site-footer .footer-content .footer-logo {
    width: 100%;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.site-footer .footer-content .footer-logo .description {
    color: #fff;
    font-size: 1rem;
}

.site-footer .footer-content .footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 767.98px) {
    .site-footer .footer-content .footer-nav {
        flex-direction: column;
        gap: 1.875rem;
    }
}

.site-footer .footer-content .footer-nav .menu {
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0.625rem;
}

.site-footer .footer-content .footer-nav .menu li {
    list-style: none;
}

.site-footer .footer-content .footer-nav .menu li a {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.03375rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.625rem 0.9375rem;
    gap: 0.625rem;
    text-decoration: none;
    transition: all .3s ease;
    border-radius: 0.5rem;
}

.site-footer .footer-content .footer-nav .menu li a::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 0.5rem;
    background: var(--color-accent-600);
}

.site-footer .footer-content .footer-nav .menu li a:hover {
    background: hsla(0,0%,100%,.1);
    color: var(--color-accent-600);
}

.site-footer .footer-content .footer-nav .login-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem;
    border-radius: 10px;
    background: var(--gradient-accent);
    box-shadow: 0 0.25rem 0.625rem 0 rgba(var(--color-accent-rgb), .1);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s;
    position: relative;
    overflow: hidden;
}

.site-footer .footer-content .footer-nav .login-button img {
    width: 1.25rem;
    z-index: 2;
}

.site-footer .footer-content .footer-nav .login-button span {
    z-index: 2;
}

.site-footer .footer-content .footer-nav .login-button::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    right: 100%;
    top: 0;
    background: linear-gradient(90deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);
    transition: all .2s;
    filter: blur(10px);
}

.site-footer .footer-content .footer-nav .login-button:hover {
    box-shadow: 0 0.625rem 1.25rem 0 rgba(var(--color-accent-rgb), .3);
}

.site-footer .footer-content .footer-nav .login-button:hover::before {
    right: 0;
}

.site-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: 32px;
    background: #7c5c86;
}

@media (max-width: 767.98px) {
    .site-footer .footer-bottom {
        flex-direction: column;
    }
}

.site-footer .footer-bottom .copyright {
    padding: 0.625rem 0.9375rem;
    font-size: 0.875rem;
    color: #fff;
}

.site-footer .footer-bottom .links {
    display: flex;
    padding: 0.625rem;
    justify-content: center;
    align-items: center;
}

.site-footer .footer-bottom .links a {
    padding: 0.625rem 0.9375rem;
    font-size: 0.875rem;
    color: #fff;
    text-decoration: none;
}

.home-slider {
    width: 100%;
    display: flex;
    position: relative;
}

.home-slider .slide {
    width: 100%;
    min-height: calc(100vh - 200px);
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 767.98px) {
    .home-slider .slide {
        flex-direction: column;
        gap: 2rem;
    }
}

.home-slider .slide .content-text {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeInUp 2s ease forwards;
}

@media (max-width: 767.98px) {
    .home-slider .slide .content-text {
        text-align: center;
    }
}

.home-slider .slide .content-text .title h1,
.home-slider .slide .content-text .title .h1 {
    color: #29232a;
    font-size: 2.3125rem;
    font-weight: 800;
}

.home-slider .slide .content-text .title h1 .purple,
.home-slider .slide .content-text .title .h1 .purple {
    color: var(--color-accent-600);
}

.home-slider .slide .content-text .sub-title {
    color: #625f66;
    font-size: 1.125rem;
    line-height: 2rem;
}

.home-slider .slide .content-image {
    animation: fadeInUp 1.3s ease .2s forwards;
    opacity: 0;
}

@media (max-width: 767.98px) {
    .home-slider .slide .content-image {
        display: none;
    }
}

.home-slider .slide .content-image img {
    width: 100%;
    animation: floatImage 4s ease-in-out infinite alternate;
}

.home-slider .scroll-down {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #757575;
    font-size: 1rem;
    font-weight: 500;
    gap: 0.625rem;
    position: absolute;
    left: 0;
    bottom: 2vh;
    transition: all 1s ease;
    animation: fadeInUp .8s ease .4s forwards;
    opacity: 0;
}

.home-slider .scroll-down img {
    font-size: 1.5rem;
    animation: bounceMouse 2s ease-in-out infinite;
}

.is-sticky .home-slider .scroll-down {
    bottom: 5vh;
    opacity: 0 !important;
}

.home-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.home-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.home-section .section-title {
    width: 100%;
    color: var(--color-accent-600);
    text-align: center;
}

.home-section .section-title h2,
.home-section .section-title .h2 {
    font-size: 2.375rem;
    font-weight: 700;
    line-height: 3.5rem;
    letter-spacing: 0.07875rem;
}

.home-section .sub-title {
    width: 100%;
    color: var(--color-primary-900);
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.045rem;
}

.home-section .small-text {
    width: 100%;
    max-width: 56.25rem;
    text-align: center;
    padding-top: 1.625rem;
}

.home-section .small-text small,
.home-section .small-text .small {
    color: #6b5c8a;
    font-size: 1rem;
    line-height: 1.625rem;
    letter-spacing: 0.03rem;
}

.home-section.about {
    padding: 5.3125rem 0;
}

.home-section.about .card-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 3.125rem 0;
}

.home-section.about .card-list .col {
    display: flex;
}

@media (max-width: 991.98px) {
    .home-section.about .card-list .col {
        flex: 0 0 100%;
    }
}

.home-section.about .card-list .card {
    width: 100%;
    height: 100%;
    min-height: 18.75rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: var(--color-accent-50);
    border-radius: 1rem;
    border: none;
    padding: 2rem 1rem;
    row-gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: all .6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.home-section.about .card-list .card::before {
    content: "";
    width: 37.5rem;
    height: 37.5rem;
    position: absolute;
    top: -17.5rem;
    left: -17.5rem;
    background: radial-gradient(circle at 100% 100%, transparent 22.5rem, var(--color-accent-100) 22.5rem);
    pointer-events: none;
    z-index: 1;
    transition: all .3s ease;
}

.home-section.about .card-list .card::after {
    content: "";
    width: 7rem;
    height: 7rem;
    position: absolute;
    left: -4.375rem;
    top: -4.75rem;
    background: var(--color-primary-900);
    border-radius: 100%;
    z-index: 2;
    transition: all .3s ease;
}

.home-section.about .card-list .card .icon {
    width: 4.25rem;
    height: 4.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    aspect-ratio: 1/1;
    border-radius: 3.5rem;
    background: linear-gradient(180deg, var(--color-accent-600) 0%, #C6007D 100%);
    z-index: 3;
    transition: all .3s ease;
}

.home-section.about .card-list .card .icon img {
    width: 2rem;
    height: 2rem;
    object-fit: cover;
}

.home-section.about .card-list .card .headline {
    color: var(--color-primary-900);
    text-align: center;
    letter-spacing: 0.045625rem;
    z-index: 3;
}

.home-section.about .card-list .card .headline h3,
.home-section.about .card-list .card .headline .h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.home-section.about .card-list .card .description {
    color: var(--color-primary-900);
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.033125rem;
    z-index: 3;
}

.home-section.about .card-list .card:hover {
    transform: scale(1.1);
    z-index: 2;
}

.home-section.about .card-list .card:hover::before {
    transform: scale(2.1) rotate(32deg) translateY(-4%);
    opacity: .5;
    filter: blur(0.0625rem);
}

.home-section.about .card-list .card:hover::after {
    transform: scale(2.1) rotate(30deg) translate(-10%, -10%);
    opacity: 0;
}

.home-section.about .card-list .card:hover .icon {
    transform: scale(1.3) translateY(-10px);
}

.home-section.about .card-list.is-visible .card {
    opacity: 1;
    transform: translate(0, 0);
}

.home-section.why {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 6.25rem;
}

.home-section.why .content {
    width: 100%;
    display: flex;
    padding-top: 4rem;
    row-gap: 2rem;
    column-gap: 1rem;
    align-items: center;
}

@media (max-width: 991.98px) {
    .home-section.why .content {
        flex-wrap: wrap;
    }
}

.home-section.why .content .col {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 991.98px) {
    .home-section.why .content .col {
        flex: 0 0 100%;
    }
}

.home-section.why .content .icon-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.home-section.why .content .icon-list .item {
    display: flex;
    gap: 2rem;
    align-self: stretch;
}

.home-section.why .content .icon-list .item .text-area h3,
.home-section.why .content .icon-list .item .text-area .h3 {
    color: var(--color-primary-900);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.625rem;
    letter-spacing: 0.045rem;
}

.home-section.why .content .icon-list .item .text-area .text {
    color: #340954;
    font-size: 1rem;
    line-height: 1.625rem;
    letter-spacing: 0.03rem;
}

.home-section.why .content .flat-list {
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #dcdcdc;
}

.home-section.why .content .flat-list .headline {
    color: var(--color-accent-600);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.625rem;
    letter-spacing: 0.045rem;
    padding-bottom: 0.625rem;
}

.home-section.why .content .flat-list .list {
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    padding: 0;
    margin: 0;
}

.home-section.why .content .flat-list .list li {
    display: flex;
    padding: 1rem 1.25rem;
    align-items: center;
    gap: 0.625rem;
    align-self: stretch;
    border-radius: 0.625rem;
    background: #f9f9f9;
    color: var(--color-primary-900);
    font-size: 1rem;
    line-height: 1.625rem;
    letter-spacing: 0.03rem;
}

.home-section.why .content .flat-list .list li::before {
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    background: url("../images/check-icon-711Cus0.svg") no-repeat center;
}

.home-section.why .content.unvisible.is-visible .col {
    opacity: 1;
    transform: translate(0, 0);
}

.home-section.contact .contact-info {
    width: 100%;
    display: flex;
    gap: 1.25rem;
    padding-top: 3rem;
}

@media (max-width: 767.98px) {
    .home-section.contact .contact-info {
        flex-direction: column;
        gap: 30px;
    }
}

.home-section.contact .contact-info .contact-info-item {
    width: 100%;
    display: flex;
    gap: 1rem;
    background: rgba(169,161,170,.0901960784);
    padding: 1.25rem;
    border-radius: 1rem;
    position: relative;
}

.home-section.contact .contact-info .contact-info-item::before {
    content: "";
    width: 80%;
    height: 10px;
    background: rgba(var(--color-accent-rgb), .0784313725);
    position: absolute;
    left: 10%;
    top: -10px;
    border-radius: 10px 10px 0 0;
}

.home-section.contact .contact-info .contact-info-item .icon {
    flex: 0 0 2.375rem;
}

.home-section.contact .contact-info .contact-info-item .icon img {
    width: 100%;
}

.home-section.contact .contact-info .contact-info-item .content {
    display: flex;
    flex-direction: column;
    gap: 0.1875rem;
}

.home-section.contact .contact-info .contact-info-item .content .title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary-900);
    line-height: 2.375rem;
}

.home-section.contact .contact-info .contact-info-item .content .text {
    font-size: 0.9375rem;
    color: #29232a;
}

.home-section.contact .contact-info .contact-info-item .content a {
    color: var(--color-accent-600);
}

.dark-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-bar .container {
    background-color: var(--color-primary-900);
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    padding: 4.875rem 2rem;
}

.dark-bar .container::after {
    content: "";
    width: 31.25rem;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary-900), transparent);
    position: absolute;
    right: 0;
    top: 0;
    aspect-ratio: 1/1;
}

.dark-bar .container::before {
    content: "";
    width: 31.25rem;
    height: 100%;
    background: url("../images/dark-bar-bg-U4tfDq_.jpg") no-repeat center;
    background-size: cover;
    position: absolute;
    right: 0;
    top: 0;
    aspect-ratio: 1/1;
    opacity: .4;
}

.dark-bar .container .headline {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    z-index: 2;
    position: relative;
}

.dark-bar .container .headline .title {
    width: 100%;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.06rem;
}

.dark-bar .container .headline .small-text {
    width: 100%;
    color: #fff;
    font-size: 1rem;
}

.dark-bar .container .button-area {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-top: 1.625rem;
    gap: 1rem;
    z-index: 2;
    position: relative;
}

.dark-bar .container .button-area button {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    padding: 0.9375rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.625rem 0 rgba(var(--color-accent-rgb), .1);
    border: none;
    text-decoration: none;
    transition: all .3s ease;
}

.dark-bar .container .button-area button:hover {
    filter: brightness(1.3);
}

.dark-bar .container .button-area .whatsapp-btn {
    background: linear-gradient(90deg, #00CE90 0%, #00CE3A 100%);
}

.dark-bar .container .button-area .info-form-btn {
    background: linear-gradient(90deg, var(--color-primary-600) 0%, var(--Theme-Color-2, var(--color-accent-600)) 100%);
}

.dark-bar.unvisible {
    opacity: 0;
    transform: translateY(-30px);
}

.dark-bar.unvisible.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.875rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-0.875rem);
    }
}

@keyframes bounceMouse {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(0.375rem);
    }
    60% {
        transform: translateY(0.1875rem);
    }
}

.sign {
    width: 50rem;
    padding: 3.125rem 2rem 5.3125rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 3.125rem;
    border-radius: 2.5rem;
    background: linear-gradient(74deg, var(--color-primary-900) 0%, var(--color-primary-700) 100%);
    box-shadow: 0 0.1875rem 0.25rem 0 hsla(0,0%,100%,.3) inset,0 4px 34px 0 rgba(var(--color-primary-rgb), .4);
    position: relative;
    overflow: hidden;
}

.sign .headline {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    z-index: 2;
}

.sign .headline h2,
.sign .headline .h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 3.5rem;
    letter-spacing: 0.06rem;
    color: #fff;
    margin: 0;
    padding: 0;
}

.sign .headline small,
.sign .headline .small {
    text-align: left;
    font-size: 1rem;
    letter-spacing: 0.03rem;
    color: hsla(0,0%,100%,.7);
}

.sign .form-sign-in {
    width: 21.25rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 2;
}

/* Kayıt sayfası: geniş kart, iki sütunlu alanlar */
.sign--wide .form-sign-in {
    width: 100%;
}

.sign--wide .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.5rem;
}

.sign--wide .form-grid .form-group--new-row {
    grid-column-start: 1;
}

@media (max-width: 767.98px) {
    .sign--wide .form-grid {
        grid-template-columns: 1fr;
    }
}

.sign .form-sign-in .form-group .form-label {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    font-family: "Google Sans Flex",sans-serif;
}

.sign .form-sign-in .form-group .form-control {
    display: flex;
    padding: 1rem;
    font-family: "Google Sans Flex",sans-serif;
    background: #fff;
    border-radius: 0.5rem;
    border: none;
    letter-spacing: 0.03125rem;
}

/* Select: ok ikonu background-image ile geldiği için `background` kısaltması kullanılmaz */
.sign .form-sign-in .form-group .form-select {
    padding: 1rem 2.25rem 1rem 1rem;
    font-family: "Google Sans Flex",sans-serif;
    background-color: #fff;
    border-radius: 0.5rem;
    border: none;
    letter-spacing: 0.03125rem;
}

.sign .form-sign-in .form-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.sign .form-sign-in .form-footer .forgot-link {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all .3s ease;
    padding: 1rem 0;
}

.sign .form-sign-in .form-footer .forgot-link:hover {
    padding: 1rem;
    background: hsla(0,0%,100%,.3);
}

.sign .form-sign-in .form-footer .submit-btn {
    display: flex;
    padding: 1rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.5rem;
    background: #7aff55;
    box-shadow: 0 0.875rem 2.125rem 0 rgba(122,255,85,.4);
    border: none;
    transition: all .3s ease;
}

.sign .form-sign-in .form-footer .submit-btn:hover {
    padding: 1rem 1.25rem;
    filter: brightness(1.7);
}

.sign::after {
    content: "";
    width: 28.25rem;
    height: 25.8125rem;
    position: absolute;
    right: -5.4375rem;
    top: -0.0625rem;
    background-image: url("../images/sign-bg-1-RG4uUSE.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left;
    animation-name: shapePulseTop;
    animation-duration: 6s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    pointer-events: none;
}

.sign::before {
    content: "";
    width: 28.25rem;
    height: 25.8125rem;
    position: absolute;
    right: -5rem;
    bottom: -6.3125rem;
    background-image: url("../images/sign-bg-2-VvGyqaV.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom left;
    animation-name: shapePulseBottom;
    animation-duration: 8s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    pointer-events: none;
}

@keyframes shapePulseTop {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(0.625rem, -0.5rem) scale(1.04);
    }
}

@keyframes shapePulseBottom {
    0%,
    100% {
        transform: rotate(58deg) translate(0, 0) scale(1);
    }
    50% {
        transform: rotate(58deg) translate(-0.75rem, 0.5rem) scale(1.05);
    }
}

.portal {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.portal .portal-wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-content: flex-start;
}

.portal .portal-wrapper .portal-nav {
    width: 100%;
}

.portal .portal-wrapper .portal-nav .headline {
    font-size: 1.5rem;
    padding: 1rem;
    color: var(--color-primary-900);
    display: none;
}

.portal .portal-wrapper .portal-nav .headline small,
.portal .portal-wrapper .portal-nav .headline .small {
    color: #625f66;
}

@media (max-width: 991.98px) {
    .portal .portal-wrapper .portal-nav .headline {
        display: block;
    }
}

.portal .portal-wrapper .portal-nav .desktop-list {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0.625rem;
    padding: 1rem;
    border-radius: 1rem;
    background: var(--color-primary-900);
    box-shadow: 0 0.25rem 1rem 0 rgba(255,208,246,.45) inset,0 4px 14px 0 rgba(var(--color-accent-rgb), .3);
    list-style: none;
    margin: 0;
}

.is-sticky .portal .portal-wrapper .portal-nav .desktop-list {
    border-radius: 0;
    padding: 0;
}

@media (max-width: 991.98px) {
    .portal .portal-wrapper .portal-nav .desktop-list {
        display: none;
    }
}

.portal .portal-wrapper .portal-nav .desktop-list li {
    flex: 1;
    display: flex;
}

.portal .portal-wrapper .portal-nav .desktop-list li a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 1rem;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    transition: all .3s ease;
    text-decoration: none;
}

.is-sticky .portal .portal-wrapper .portal-nav .desktop-list li a {
    font-size: 0.75rem;
    border-radius: 0;
}

.portal .portal-wrapper .portal-nav .desktop-list li a:hover {
    background: hsla(0,0%,100%,.9);
    color: var(--color-primary-900);
    box-shadow: 0 0.25rem 1rem 0 #fff inset,0 4px 14px 0 rgba(var(--color-accent-rgb), .3);
}

.portal .portal-wrapper .portal-nav .desktop-list li.active a {
    border-bottom: 1px solid #aa09bc;
    background: linear-gradient(88deg, #70007F 0%, var(--color-accent-600) 100%);
    box-shadow: 0 0.25rem 1rem 0 rgba(var(--color-primary-rgb), .4),0 4px 18px 0 rgba(255,0,213,.25) inset;
}

.portal .portal-wrapper .portal-nav .desktop-list li.active a:hover {
    color: #fff;
}

.portal .portal-wrapper .portal-nav .mobile-list {
    display: none;
    padding: 0;
    border-radius: 1rem;
    background: var(--color-primary-900);
    box-shadow: 0 0.25rem 1rem 0 rgba(255,208,246,.45) inset,0 4px 14px 0 rgba(var(--color-accent-rgb), .3);
    flex-direction: column;
    list-style: none;
}

@media (max-width: 991.98px) {
    .portal .portal-wrapper .portal-nav .mobile-list {
        display: flex;
    }
}

.portal .portal-wrapper .portal-nav .mobile-list li {
    width: 100%;
    border-top: 1px solid hsla(0,0%,100%,.1);
}

.portal .portal-wrapper .portal-nav .mobile-list li:first-child {
    border-top: none;
}

.portal .portal-wrapper .portal-nav .mobile-list li a {
    display: flex;
    color: #fff;
    text-decoration: none;
    font-size: 1.125rem;
    padding: 1.625rem 1rem;
}

.portal .portal-wrapper .portal-nav .mobile-list li.active {
    cursor: pointer;
}

@media (min-width: 992px) {
    .is-sticky .portal .portal-wrapper .portal-nav {
        position: fixed;
        top: 6rem;
        left: 0;
        z-index: 999;
    }
}

.portal .portal-wrapper .portal-content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    padding-bottom: 2.875rem;
    gap: 2rem;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 1px 0 0 #fff inset,0 4px 4px 0 rgba(0,0,0,.05) inset,0 10px 10px rgba(var(--color-primary-rgb), .05);
}

.portal .portal-wrapper .portal-content .page-title {
    width: 100%;
    flex-basis: 100%;
    flex-shrink: 0;
    text-align: center;
    padding: 1rem 0 1.5625rem 0;
    border-bottom: 1px solid rgba(var(--color-primary-rgb), .1);
}

.portal .portal-wrapper .portal-content .page-title h1,
.portal .portal-wrapper .portal-content .page-title .h1 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary-900);
    padding: 0;
    margin: 0;
}

.portal .portal-wrapper .portal-content .article {
    font-size: 0.9375rem;
    color: #340954;
    line-height: 1.75rem;
}

.portal .video-portal-card {
    width: 100%;
    display: flex;
    justify-content: center;
    align-self: center;
}

.portal .video-portal-card .video-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Her oturum: üstte ikon + başlık + açıklama, altında eylem çubuğu */
.portal .video-portal-card .video-list .video-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.625rem;
    gap: 1.125rem;
    border-bottom: 1px solid rgba(var(--color-primary-rgb), .1);
}

.portal .video-portal-card .video-list .video-item:last-child {
    border-bottom: none;
}

.portal .video-portal-card .video-list .video-item .media-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.portal .video-portal-card .video-list .video-item .media-content .video-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.portal .video-portal-card .video-list .video-item .media-content .video-details .video-title h2,
.portal .video-portal-card .video-list .video-item .media-content .video-details .video-title .h2 {
    color: var(--color-primary-900);
    font-size: 1.125rem;
    font-weight: 700;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem;
}

/* Eylem çubuğu: ana eylem solda, ikincil bağlantılar ortada, Sil en sağda; hepsi aynı yükseklikte */
.portal .video-portal-card .video-list .video-item .action-group {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.75rem;
}

.portal .video-portal-card .video-list .video-item .action-group .control-btn,
.portal .video-portal-card .video-list .video-item .action-group .btn-guideline,
.portal .video-portal-card .video-list .video-item .action-group .btn-delete {
    min-height: 3rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

.portal .video-portal-card .video-list .video-item .action-group .action-group__delete {
    display: flex;
    margin: 0 0 0 auto;
}

.portal .video-portal-card .video-list .video-item .action-group .action-group__notice {
    align-self: center;
    white-space: normal;
}

/* Dar ekran: buton sayısı duruma göre 1–4 arası değişir. Her buton yarım satır ister; satırda tek kalan
   büyüyüp tam genişliği alır, ikili olanlar yan yana durur. Ana eylem ve Sil her zaman tam satırdır. */
@media (max-width: 600px) {
    .portal .video-portal-card .video-list .video-item .action-group > * {
        flex: 1 1 calc(50% - 0.375rem);
    }

    .portal .video-portal-card .video-list .video-item .action-group .control-btn,
    .portal .video-portal-card .video-list .video-item .action-group .action-group__notice,
    .portal .video-portal-card .video-list .video-item .action-group .action-group__delete {
        flex-basis: 100%;
    }

    /* Yönerge ile Onam Formu yan yana kalsın, ana eylem ve Sil tam satırlar olarak onların altına insin */
    .portal .video-portal-card .video-list .video-item .action-group .control-btn,
    .portal .video-portal-card .video-list .video-item .action-group .action-group__notice {
        order: 1;
    }

    .portal .video-portal-card .video-list .video-item .action-group .action-group__delete {
        order: 2;
    }

    .portal .video-portal-card .video-list .video-item .action-group .action-group__delete {
        margin: 0;
    }

    .portal .video-portal-card .video-list .video-item .action-group .action-group__delete .btn-delete {
        flex: 1;
    }

    .portal .video-portal-card .video-list .video-item .action-group .btn-guideline,
    .portal .video-portal-card .video-list .video-item .action-group .btn-delete {
        padding: 0.75rem 0.5rem;
        font-size: 0.8125rem;
    }
}

.portal .video-portal-card .video-list .video-item .action-group .control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    color: #fff;
    gap: 0.625rem;
    border-radius: 0.625rem;
    border: none;
    font-size: 0.875rem;
    transition: all .3s ease;
}

.portal .video-portal-card .video-list .video-item .action-group .control-btn:hover {
    filter: brightness(1.4);
}

.portal .video-portal-card .video-list .video-item .action-group .control-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    filter: none;
}

.portal .video-portal-card .video-list .video-item .action-group .control-btn.upload {
    background: var(--gradient-primary);
    text-decoration: none;
}

.portal .video-portal-card .video-list .video-item .action-group .control-btn.upload img {
    width: 1.125rem;
}

.portal .video-portal-card .video-list .video-item .action-group .control-btn.play {
    background: linear-gradient(90deg, #A515C2 0%, var(--color-accent-600) 100%);
}

.portal .video-portal-card .video-list .video-item .action-group .control-btn.play img {
    width: 0.875rem;
}

.portal .video-portal-card .video-list .video-item .video-modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .3s ease;
}

.portal .video-portal-card .video-list .video-item .video-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.portal .video-portal-card .video-list .video-item .video-modal .modal-backdrop {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);
    z-index: 1;
}

.portal .video-portal-card .video-list .video-item .video-modal .modal-content {
    width: calc(100% - 60px);
    position: relative;
    max-width: 80rem;
    background: #000;
    border-radius: 1rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0,0,0,.5);
    z-index: 2;
    transform: translateZ(0);
}

@media (max-width: 1199.98px) {
    .portal .video-portal-card .video-list .video-item .video-modal .modal-content {
        max-width: 80vw;
    }
}

.portal .video-portal-card .video-list .video-item .video-modal .modal-content .video-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mobil/tablet: ekran genişliğine yay, kapatma düğmesine yer bırakmak için yüksekliği sınırla;
   dikey videolar kırpılmadan ortalanır (contain). */
.portal .video-portal-card .video-list .video-item .video-modal .modal-content .video-wrapper video {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 0.625rem;
}

/* Masaüstü: video kendi boyutunda gösterilir, popup'tan büyükse sığacak kadar küçülür; hiç büyütülmez
   (küçük çözünürlüklü video 1280 px'e gerilip bulanıklaşmasın). */
@media (min-width: 992px) {
    .portal .video-portal-card .video-list .video-item .video-modal .modal-content .video-wrapper video {
        width: auto;
        max-width: 100%;
        max-height: 85vh;
    }
}

.portal .video-portal-card .video-list .video-item .video-modal .modal-content .modal-close {
    width: 2.5rem;
    height: 2.5rem;
    background: hsla(0,0%,100%,.3);
    border-radius: 2.5rem;
    border: none;
    color: #fff;
    position: absolute;
    left: 50%;
    top: -3.75rem;
    margin-left: -1.5625rem;
    font-size: 1.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 991.98px) {
    .portal .video-portal-card .video-list .video-item .video-modal .modal-content .modal-close {
        width: 4.375rem;
        height: 4.375rem;
        margin-left: -2.1875rem;
        top: -5.625rem;
    }
}

.portal .video-portal-card .video-upload {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.portal .video-portal-card .video-upload .form-item {
    width: 100%;
    display: flex;
    padding: 1rem 1.25rem;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    gap: 1rem;
    border-radius: 0.625rem;
    border: 1px solid #d9d7da;
    box-shadow: 0 2px 7px 0 rgba(0,0,0,.1);
    cursor: pointer;
    transition: all .2s ease;
    position: relative;
    font-size: 0.875rem;
}

.portal .video-portal-card .video-upload .form-item .file-input {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

.portal .video-portal-card .video-upload .form-item .video-details {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 1rem;
}

.portal .video-portal-card .video-upload .form-item .video-details .icon {
    width: 1.25rem;
}

.portal .video-portal-card .video-upload .form-item .video-details .icon img {
    width: 100%;
}

.portal .video-portal-card .video-upload .submit-btn {
    width: fit-content;
    display: flex;
    padding: 1rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.5rem;
    background: #7aff55;
    box-shadow: 0 0.875rem 2.125rem 0 rgba(122,255,85,.4);
    border: none;
    transition: all .3s ease;
    font-size: 0.875rem;
}

.portal .video-portal-card .video-upload .submit-btn:hover {
    padding: 1rem 1.25rem;
    filter: brightness(1.7);
}

.portal .unit-section {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

@media (max-width: 991.98px) {
    .portal .unit-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .portal .unit-section {
        grid-template-columns: 1fr;
    }
}

.portal .unit-section .unit-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.625rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    gap: 1rem;
    transition: all .3s ease;
    color: inherit;
    text-decoration: none;
}

.portal .unit-section .unit-card .card-thumbnail {
    width: 100%;
    max-height: 12.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
}

.portal .unit-section .unit-card .card-thumbnail img {
    width: 100%;
    height: 100%;
    max-height: 12.5rem;
    object-fit: cover;
    display: block;
}

.portal .unit-section .unit-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portal .unit-section .unit-card .card-body .unit-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary-900);
    text-align: center;
    padding: 1rem 0;
}

.portal .unit-section .unit-card .card-body .unit-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    text-align: center;
}

.portal .unit-section .unit-card .card-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.portal .unit-section .unit-card:hover {
    transform: scale(1.05);
    border-color: #fff;
    box-shadow: 0 1rem 2rem rgba(var(--color-primary-rgb), .1);
}

.portal .unit-section .unit-card:focus-visible {
    outline: 2px solid var(--color-primary-600);
    outline-offset: 2px;
}

.portal .unit-section .unit-card--empty:hover {
    transform: none;
    border-color: var(--color-border);
    box-shadow: none;
}

:root {
    --bs-warning: #ff6b00;
    --bs-warning-rgb: 255, 107, 0;
}

.btn-warning {
    --bs-btn-bg: #ff6b00;
    --bs-btn-border-color: #ff6b00;
    --bs-btn-hover-bg: #e05e00;
    --bs-btn-hover-border-color: #e05e00;
    --bs-btn-active-bg: #c45200;
    --bs-btn-active-border-color: #c45200;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-active-color: #ffffff;
}

.text-warning {
    color: #ff6b00 !important;
}
