@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f8f8f8;
    --bg-secondary: #f3f3f3;
    --text: #4a4a4a;
    --text-secondary: #6b6d70;
    --text-accent: #f26f21;

    --header-text: #fff;
    --header-bg: #000;
    
    --footer-text: #fff;
    --footer-bg: #000;

    --err: #ef4444;

    --featured-label: #cd610f;
    --premium-label: #0e37a9;
    --label: #fff;

    --ok: green;
}

body {
    padding-top: 68px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: var(--text);
    background-color: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    display: block;
    width: 100%;
}

.container {
    max-width: 1200px;
    padding: 0 16px;
    margin: 0 auto;
}
/* ###### */
.brg {
    cursor: pointer;
    width: 30px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    display: none;
}
.brg div {
    width: 100%;
    height: 2px;
    border-radius: 4px;
    background-color: var(--header-text);
}
.header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    color: var(--header-text);
    width: 100%;
}
.header .container {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.logo img {
    display: block;
    width: 100px;
}
.header ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.header li a {
    text-decoration: none;
    font-size: 14px;
    color: inherit;
    transition: filter 0.2s ease-out;
    &:hover {
        text-decoration: underline;
    }
}
.header-regions {
    height: 36px;
    color: inherit;
    text-decoration: none;
    padding: 0 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--bg);
    background-color: var(--text-accent);

    transition: filter 0.2s ease-out;
    &:hover {
        filter: brightness(1.1);
    }
}
.header-regions svg {
    width: 16px;
    height: 16px;
}
@media (max-width: 768px) {
    .brg {
        display: flex;
    }
    .header-regions {
        margin-left: auto;
    }
    .header nav {
        display: none;
    }
}
/* ###### */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    margin-top: auto;
}
.footer .container {
    padding: 48px 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 32px;
}
.footer-info h2 {
    font-size: 24px;
    color: transparent;
    background: var(--text-accent);
    background-clip: text;
    margin-bottom: 16px;
}
.footer-info p {
    font-size: 14px;
    margin-bottom: 16px;
}
.footer-nav h3 {
    font-size: 16px;
    margin-bottom: 16px;
}
.footer-nav ul  {
    list-style: none;
    display: grid;
    gap: 8px;
}
.footer-nav svg {
    display: inline-block;
    width: 16px;
    height: 16px;
}
.footer-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease-out;

    &:hover {
        color: var(--text-accent);
    }
}
.footer-rights {
    font-size: 12px;
    grid-column: span 4;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 64px;
    gap: 16px;
}
.footer-rights a {
    color: inherit;
}
.footer-rights p:nth-child(2) {
    justify-self: end;
}
.footer-rights-bot {
    grid-column: span 2;
    text-align: center;
}
@media (max-width: 768px) {
    .footer .container {
        grid-template-columns: 1fr;
        gap: 32px;
        justify-items: start;
    }
    .footer-rights {
        margin-top: 32px;
        grid-column: span 1;
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-rights-bot {
        grid-column: span 1;
    }
    .footer-rights p:nth-child(2) {
        justify-self: center;
    }
}
/* ###### */
.nav {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 60px 16px;
    background-color: var(--bg);
    color: var(--text);
    transform: translateX(-100%);
    transition: transform 0.4s ease-out;
}
.nav.open {
    transform: translateX(0);
}
.nav-close {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.nav ul {
    list-style: none;
    display: grid;
    gap: 20px;
    text-align: center;
}
.nav a {
    color: inherit;
    text-decoration: none;
}
/* ###### */
.text h1,
.text h2,
.text h3,
.text h4 {
    font-family: "Inter", sans-serif;
}
.text .container {
    padding: 40px 16px;
    line-height: 1.4;
}
.text h1 {
    font-size: 32px;
    margin-bottom: 16px;
}
.text h2 {
    font-size: 22px;
    margin-bottom: 8px;
    margin-top: 32px;
}
.text h3 {
    font-size: 18px;
    margin-bottom: 8px;
    margin-top: 32px;
}
.text p {
    font-size: 16px;
}
.text p + p {
    margin-bottom: 16px;
}
.text p + ul {
  margin-top: 12px;
  margin-bottom: 12px;
}
.text ul {
    list-style-position: inside;
    margin-top: 12px;
    margin-bottom: 12px;
    padding-left: 4px;
}
.text a {
    color: inherit;
}
.text .rtl-text {
    direction: rtl;
    text-align: right;
}
.text img {
    display: block;
    margin: 0 auto 24px;
    max-width: 300px;
    border-radius: 8px;
}

.text-info {
    margin-top: 24px;
    padding: 16px;
    border-radius: 8px;
    background-color: var(--bg-secondary);
}
/* ##### */


.regions .container {
    padding: 20px 16px;
}
.regions h1 {
    font-size: 30px;
    margin-bottom: 24px;
}
.regions-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.regions-box {
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--text);
}
.regions-box h2 {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.regions-box h2 span {
    padding: 2px 10px;
    font-size: 12px;
    background-color: var(--bg-secondary);
    border-radius: 20px;
}
.regions-item {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 16px 1fr;
    column-gap: 12px;
    row-gap: 4px;
}
.regions-item svg {
    width: 16px;
    height: 16px;
    grid-row: span 2;
}
.regions-item h3 {
    font-size: 14px;
}
.regions-item p {
    font-size: 14px;
    color: var(--text-secondary);
}
@media (max-width: 768px) {
    .regions-wrap {
        grid-template-columns: 1fr;
    }
}
/* ##### */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    width: 100%;
    height: 100%;
    background-color: rgba(114, 114, 114, 0.6);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    display: none;
}
.popup.show {
    display: flex;
}
.popup-wrap {
    padding: 24px;
    background-color: var(--bg);
    border-radius: 16px;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
}
.popup h2 {
    display: flex;
    align-items: center;
    font-size: 18px;
    gap: 12px;
    margin-bottom: 16px;
}
.popup h2 svg {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    color: var(--err);
}
.popup h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}
.popup svg {
    width: 16px;
    height: 16px;
    color: var(--err);
}
.popup p {
    font-size: 14px;
    color: var(--text-secondary);
}
.popup p + p {
    margin-top: 12px;
}
.popup a {
    font-weight: bold;
    color: inherit;
}
.popup button,
.popup .goto-link  {
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    display: block;
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    margin-top: 16px;
    background-color: var(--text-accent);
    color: var(--bg);
    font-size: 14px;

    transition: filter 0.2s ease-out;
    &:hover {
        filter: brightness(1.1);
    }
}
/* ################################################### */
/* ################################################### */
/* ################################################### */

.hero .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
    padding: 40px 16px;
}
.hero img {
    display: block;
    max-width: 400px;
    max-height: 450px;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 20px;
}
.hero h1 {
    font-size: 48px;
    max-width: 450px;
}
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero h1 {
        font-size: 38px;
    }
}
/* ### */
.grid .container {
    padding: 40px 16px;
}
.grid h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 24px;
}
.grid .desc {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.grid-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    justify-items: center;
}
.grid-item {
    position: relative;
    background-color: var(--bg-secondary);
    max-width: 200px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;

    transition: box-shadow 0.2s ease-out;
    &:hover {
        box-shadow: 0 0 10px 0 var(--text-secondary);
    }
}

.grid-item img {
    display: block;
    width: 100%;
    object-fit: cover;
}
.grid-item h3 {
    font-size: 18px;
    padding: 12px;
    text-align: center;
}
/* ##### */
.article-detail {
    padding: 40px 16px;
}
.article-detail .container {
    max-width: 900px;
}
.article-detail-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.article-detail-image {
    position: sticky;
    top: 20px;
}
.article-detail-image img {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.article-detail-content h1 {
    font-size: 36px;
    margin-bottom: 24px;
    line-height: 1.2;
}
.article-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
}
.read-more-btn {
    display: inline-block;
    background-color: var(--text-accent);
    color: var(--bg);
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: filter 0.2s ease-out, transform 0.2s ease-out;
}
.read-more-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .article-detail-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .article-detail-image {
        position: relative;
    }
    .article-detail-content h1 {
        font-size: 28px;
    }
}
/* ##### */
.features {
    padding: 80px 0;
    background-color: var(--bg);
}
.features-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 64px;
    color: var(--text);
}
.features-list {
    display: grid;
    gap: 64px;
}
.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.feature-item.reverse .feature-content {
    order: 1;
}
.feature-item.reverse .feature-image {
    order: 2;
}
.feature-image {
    padding: 10px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.feature-image img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    display: block;
}
.feature-content {
    display: grid;
    gap: 16px;
}
.feature-content h2 {
    font-size: 32px;
    color: var(--text);
    margin: 0;
}
.feature-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}
.feature-link {
    display: inline-block;
    color: var(--text-accent);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 0;
    position: relative;
    width: fit-content;
    transition: gap 0.2s ease-out;
}
.feature-link::after {
    content: '→';
    margin-left: 8px;
    transition: margin-left 0.2s ease-out;
}
.feature-link:hover {
    text-decoration: underline;
}
.feature-link:hover::after {
    margin-left: 12px;
}
@media (max-width: 768px) {
    .features {
        padding: 48px 0;
    }
    .features-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    .features-list {
        gap: 48px;
    }
    .feature-item,
    .feature-item.reverse {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .feature-item.reverse .feature-content {
        order: 2;
    }
    .feature-item.reverse .feature-image {
        order: 1;
    }
    .feature-image img {
        height: 250px;
    }
    .feature-content h2 {
        font-size: 24px;
    }
    .feature-content p {
        font-size: 16px;
    }
}
/* ##### */
.faq {
    background-color: var(--bg-secondary);
    padding: 60px 0;
}
.faq .container {
    max-width: 900px;
}
.faq h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text);
}
.faq-list {
    display: grid;
    gap: 16px;
}
.faq-item {
    background-color: var(--bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    transition: background-color 0.2s ease-out;
}
.faq-question:hover {
    background-color: var(--bg-secondary);
}
.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}
.faq-icon {
    font-size: 28px;
    font-weight: 300;
    color: var(--text-accent);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.3s ease-out, color 0.2s ease-out;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--text-accent);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 24px;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px 24px;
}
.faq-answer p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}
@media (max-width: 768px) {
    .faq {
        padding: 40px 0;
    }
    .faq h2 {
        font-size: 28px;
        margin-bottom: 32px;
    }
    .faq-question {
        padding: 16px 20px;
    }
    .faq-question h3 {
        font-size: 16px;
    }
    .faq-item.active .faq-answer {
        padding: 0 20px 16px 20px;
    }
}
/* ###### */
.categories {
    background-color: var(--bg-secondary);
}
.categories .container{
    padding: 40px 16px;
}
.categories h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 24px;
}
.categories-box {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.categories-item {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    gap: 12px;
    padding: 12px 24px;
    color: var(--bg);
    background-color: var(--text-accent);
    border-radius: 8px;
    transition: filter 0.2s ease-out;

    &:hover {
        filter: brightness(1.1);
    }
}

.categories-item svg {
    width: 24px;
    height: 24px;
}

/* Carousel styles */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    position: relative;
    width: 100%;
}

.carousel-slide {
    width: 100%;
    display: none; /* hide all slides by default */
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.carousel-slide.active {
    display: block; /* show only the active slide */
}

.carousel-container {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease-out, transform 0.2s ease-out;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(74, 74, 74, 0.3);
    cursor: pointer;
    transition: background-color 0.2s ease-out, transform 0.2s ease-out;
}

.carousel-dot.active {
    background-color: var(--text-accent);
    transform: scale(1.3);
}

.carousel-dot:hover {
    background-color: rgba(74, 74, 74, 0.5);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s ease-out, transform 0.2s ease-out;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

@media (hover: none) {
    .carousel-prev,
    .carousel-next {
        background: rgba(0, 0, 0, 0.6);
    }
}
/* ##### */
.help .container {
    padding: 120px 16px 20px;
}
.help h1 {
    font-size: 30px;
    margin-bottom: 24px;
}
.help-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.help-item {
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--text);
}
.help-item h2 {
    font-size: 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.help-item h2 svg {
    color: var(--text);
    width: 20px;
    height: 20px;
}
.help-item p {
    font-size: 16px;
    color: var(--text-secondary);
}
.help-link {
    border-radius: 8px;
    border: 1px solid var(--text);
    padding: 8px 12px;
    display: block;
    font-size: 14px;
    margin-top: 16px;
    text-decoration: none;
    color: var(--text);

    transition: background-color 0.2s ease-out, color 0.2s ease-out;
    &:hover {
        color: var(--bg);
        background-color: var(--text-accent);
    }
}
.help-link-2 {
    margin-top: 16px;
    text-decoration: none;
    display: grid;
    grid-template-columns: 20px 1fr;
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--text);

    transition: border-color 0.2s ease-out;
    &:hover {
        border-color: var(--text-accent);
    }
}
.help-link-2 svg {
    color: var(--text-accent);
    grid-row: span 2;
    width: 20px;
    height: 20px;
}
.help-link-2 h3 {
    font-size: 16px;
    color: var(--text);
}
.help-link-2 p {
    font-size: 14px;
    color: var(--text-secondary);
}
.help-faq {
    margin-top: 32px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--text);
}
.help-faq h2 {
    font-size: 24px;
}
.help-faq h3 {
    font-size: 16px;
    margin-bottom: 8px;
    margin-top: 24px;
}
.help-faq p {
    font-size: 14px;
    color: var(--text-secondary);
}
@media (max-width: 768px) {
    .help-box {
        grid-template-columns: 1fr;
    }
}
/* ##### */
.featured-badge {
    position: absolute;
    z-index: 1;
    top: 4px;
    left: 4px;
    font-size: max-content;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
    color: var(--label);
    background-color: var(--featured-label);
    box-shadow: 0 0 5px 0 var(--label);
}
.premium-badge {
    position: absolute;
    z-index: 1;
    top: 4px;
    right: 4px;
    font-size: max-content;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
    color: var(--label);
    background-color: var(--premium-label);
    box-shadow: 0 0 5px 0 var(--label);
}
.view-all {
    display: block;
    width: max-content;
    text-align: center;
    margin: 24px auto 0;
    text-decoration: none;
    color: var(--bg);
    background-color: var(--text-accent);
    padding: 12px 24px;
    border-radius: 8px;
    transition: filter 0.2s ease-out;
    &:hover {
        filter: brightness(1.1);
    }
}
/* ########## */
.hero-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}
.hero-btn-1 {
    cursor: pointer;
    padding: 8px 32px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    gap: 8px;
    color: var(--bg);
    background: var(--text-accent);
    border-radius: 6px;
    text-decoration: none;
    transition: filter 0.2s ease-out;
    text-decoration: none;

    &:hover {
        filter: brightness(1.1);
    }
}
.hero-btn-1 svg {
    width: 16px;
    height: 16px;
}
.hero-btn-2 {
    cursor: pointer;
    padding: 8px 32px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    gap: 8px;
    color: var(--text);
    border-radius: 6px;
    border: 1px solid var(--text-accent);
    text-decoration: none;
    transition: background-color 0.2s ease-out, color 0.2s ease-out;

    &:hover {
        color: var(--bg);
        background-color: var(--text-accent);
    }
}

/* Modal Carousel */
.modal-carousel {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 300;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-carousel.show {
    display: flex;
}

.modal-carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.modal-carousel-wrapper {
    position: relative;
    z-index: 301;
    width: 100%;
    max-width: 600px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.carousel-full {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
}

.carousel-full .carousel-container {
    position: relative;
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    grid-column: 1;
    grid-row: 1;
}

.carousel-full .carousel-item {
    min-width: 100%;
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.carousel-full .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 11;
    transition: background 0.2s ease-out, transform 0.2s ease-out;
}

.carousel-full .carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(calc(-50%)) scale(1.1);
}

.carousel-full .carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-full .carousel-prev {
    left: 16px;
}

.carousel-full .carousel-next {
    right: 16px;
}

.carousel-full .carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    grid-column: 1;
    grid-row: 2;
}

.carousel-full .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.2s ease-out, transform 0.2s ease-out;
}

.carousel-full .carousel-dot.active {
    background-color: #fff;
    transform: scale(1.4);
}

.carousel-full .carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.modal-carousel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 302;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease-out, transform 0.2s ease-out;
}

.modal-carousel-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-carousel-close svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .modal-carousel-wrapper {
        max-width: 100%;
        height: 100%;
    }
    
    .carousel-full .carousel-item {
        max-height: 80vh;
    }
    
    .carousel-full .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-full .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .carousel-full .carousel-prev {
        left: 12px;
    }
    
    .carousel-full .carousel-next {
        right: 12px;
    }
}

/* ##### */
.carrier .container {
    padding: 120px 16px 20px;
}
.carrier h1 {
    font-size: 30px;
    margin-bottom: 24px;
}
.carrier-box {
    padding: 16px;
    border: 1px solid var(--text);
    border-radius: 8px;
}
.carrier-box h2 {
    font-size: 24px;
    margin-bottom: 24px;
}
.carrier-item {
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--text);
    display: grid;
    grid-template-columns: 20px 1fr max-content;
    align-items: center;
    column-gap: 12px;
    row-gap: 4px;
}
.carrier-item svg {
    width: 20px;
    height: 20px;
    color: var(--ok);
    grid-row: span 2;
}
.carrier-item h3 {
    font-size: 16px;
}
.carrier-item p {
    font-size: 14px;
    color: var(--text-secondary);
}
.carrier-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--label);
    background-color: var(--text-accent);
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}
/* ##### */