* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #90C461;
    --secondary-color: #763A1A;
    --background-color: #eceaea;
}

html {
    scroll-behavior: smooth;
    transition: 0.5s;
}

body {
    font-family: "Noto Sans Armenian", sans-serif;
}


.container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

/* Top Bar - Կանաչ շերտ */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.contact-info {
    gap: 20px;
    display: flex;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info a {
    text-decoration: none;
    color: var(--background-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    font-size: 16px;
}

/* Main Nav - Սպիտակ շերտ */
.main-nav {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    z-index: 99;
    width: 100%;
    transition: 0.5s;
}

.logo img {
    height: 50px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s;
    font-size: calc(4px + 1vw);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Գործողությունների բլոկ (Կոճակ և Դրոշ) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-actions-media {
    display: none;
}

.register-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: calc(1px + 1vw) calc(10px + 1vw);
    font-size: calc(3px + 1vw);
    border-radius: 25px;
    letter-spacing: 1px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.register-btn:hover {
    transform: scale(1.05);
    background-color: var(--primary-color);
}

.lang-switcher img {
    display: block;
    border: 1px solid #ddd;
    cursor: pointer;
}


/* Ընդհանուր սեկցիայի ոճը */
.hero-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Տեքստի հատված */
.hero-content {
    flex: 1;
    /* Զբաղեցնում է հասանելի տարածքի կեսը */
}

.hero-content h1 {
    font-size: calc(17px + 1vw);
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content p {
    font-size: calc(5px + 1vw);
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Կոճակի ոճը */
.hero-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    padding: calc(1px + 1vw) calc(10px + 1vw);
    font-size: calc(3px + 1vw);
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(147, 198, 105, 0.3);
    transition: 0.3s;
}

.hero-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Նկարի հատված */
.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 70%;
    height: auto;
}




.container-grid {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.courses-section {
    padding: 90px 0;
    background-color: var(--background-color);
}

.section-title {
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-size: calc(17px + 1vw);
    position: relative;
}

/* Ցանցի (Grid) կարգավորումը */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

/* Քարտի ոճը */
.course-card {
    background: linear-gradient(145deg, #ffffff, var(--background-color));
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-icon {
    margin-bottom: 20px;
    width: fit-content;
    opacity: 0.8;
}

.course-icon img {
    object-fit: cover;
    object-position: center;
    max-width: 50px;
    max-height: 50px;
}

.course-card h3 {
    color: var(--secondary-color);
    font-size: calc(10px + 1vw);
    margin-bottom: 5px;
}

.course-card .type {
    font-size: calc(4px + 1vw);
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.course-card .duration {
    font-size: calc(4px + 1vw);
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Կոճակների դասավորությունը քարտի մեջ */
.card-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-green {
    background-color: #93c669;
    color: white;
    border: none;
    padding: 8px calc(7px + 1vw);
    font-size: calc(1px + 1vw);
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 1px;

}

.btn-outline {
    background-color: transparent;
    color: #93c669;
    border: 1px solid #93c669;
    padding: 8px calc(7px + 1vw);
    font-size: calc(1px + 1vw);
    border-radius: 20px;
    cursor: pointer;
}

.container-features {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.features-section {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.features-title {
    color: var(--secondary-color);
    font-size: calc(17px + 1vw);
    margin-bottom: 50px;
    text-align: left;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon img {
    max-width: 100%;
    height: auto;
}

.feature-item h3 {
    color: var(--secondary-color);
    font-size: calc(10px + 1vw);
    margin-bottom: 15px;
    font-weight: bold;
}

.feature-item p {
    color: var(--secondary-color);
    font-size: calc(5px + 1vw);
    line-height: 1.5;
    max-width: 80%;
}


.container-packages {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-packages .section-title {
    margin-bottom: 25px;
}

.packages-section {
    padding: 60px 0;
    background-color: #fdfdfd;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: calc(7px + 1vw);
    margin-bottom: 40px;
    max-width: 800px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

/* Ընդհանուր քարտի ոճը */
.package-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-radius: 15px;
    min-height: 180px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.package-card:hover {
    transform: translateY(-5px);
}

/* Ֆոնի գույները */
.bg-gray {
    background-color: #f2f2f2;
}

.bg-green {
    background-color: #e8f5e9;
}

.package-card:nth-child(6n+1),
.package-card:nth-child(6n+2),
.package-card:nth-child(6n+3) {
    flex-direction: row;
}

.package-card:nth-child(6n+4),
.package-card:nth-child(6n+5),
.package-card:nth-child(6n+6) {
    flex-direction: row-reverse;
}


.package-card:nth-child(6n+4) .pkg-btn,
.package-card:nth-child(6n+5) .pkg-btn,
.package-card:nth-child(6n+6) .pkg-btn {
    align-self: flex-start;
}


.pkg-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.pkg-img img {
    max-height: 120px;
    width: auto;
    object-fit: cover;
    object-position: center;
}

.pkg-content {
    flex: 1.5;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.pkg-content h3 {
    color: var(--secondary-color);
    font-size: calc(7px + 1vw);
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Փոքրիկ կանաչ կոճակը */
.pkg-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px calc(7px + 1vw);
    font-size: calc(1px + 1vw);
    border-radius: 10px;
    width: fit-content;
    cursor: pointer;
    font-weight: bold;
    align-self: flex-end;
}


.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* Տեքստի ոճավորում */
.about-content {
    flex: 1.2;
}

.about-title {
    color: #7a553a;
    font-size: calc(17px + 1vw);
    margin-bottom: 25px;
    font-weight: bold;
}

.about-text {
    color: var(--secondary-color);
    font-size: calc(5px + 1vw);
    line-height: 1.8;
    text-align: justify;
}

/* Նկարի ոճավորում */
.about-image-container {
    flex: 1.1;
    display: flex;
    justify-content: flex-end;
}

.about-image {
    position: relative;
    width: 100%;
    max-width: 90%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    pointer-events: none;
}



.gift-section {
    padding: 80px 0;
    background-color: #f8faf7;
}

/* Վերին տեքստի ոճերը */
.gift-header {
    margin-bottom: 50px;
}

.main-title {
    color: var(--secondary-color);
    font-size: calc(17px + 1vw);
    margin-bottom: 15px;
}

.main-subtitle {
    color: var(--secondary-color);
    font-size: calc(5px + 1vw);
    max-width: 900px;
    line-height: 1.6;
}

.container-gift {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.gift-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.gift-image {
    flex: 1;
}

.gift-image img {
    max-width: 100%;
    height: auto;
}

.gift-content {
    flex: 1.2;
}

.gift-content h3 {
    color: var(--secondary-color);
    font-size: calc(17px + 1vw);
    margin-bottom: 20px;
}

.gift-content p {
    color: var(--secondary-color);
    font-size: calc(5px + 1vw);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Կոճակի հատուկ ոճը */
.gift-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: calc(1px + 1vw) calc(10px + 1vw);
    font-size: calc(3px + 1vw);
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(147, 198, 105, 0.4);
    transition: all 0.3s ease;
}

.gift-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 198, 105, 0.5);
}


.container-news {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.news-section {
    padding: 60px 0;
    background-color: #fff;
}

.news-main-title {
    color: var(--secondary-color);
    font-size: calc(17px + 1vw);
    margin-bottom: 50px;
    font-weight: bold;
}

.news-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.news-card {
    /* border: 1px solid; */
    flex: 1 1 25%;
    max-width: 25%;
    background: #fff;
    padding: 20px;
}


.news-card:nth-child(9n + 1),
.news-card:nth-child(9n + 6),
.news-card:nth-child(9n + 7) {
    flex: 2 1 45%;
    max-width: 45%;
}

.news-img {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}

.news-img video {
    width: 100%;
    height: 100%;
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

/* Տեքստի ոճավորումը քարտի մեջ */
.news-info h3 {
    color: var(--secondary-color);
    font-size: calc(7px + 1vw);
    margin-bottom: 7px;
    line-height: 1.4;
}

.news-info p {
    color: var(--secondary-color);
    font-size: calc(2px + 1vw);
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: underline;
    font-size: calc(2px + 1vw);
    font-weight: bold;
}

/* "Տեսնել ավելին" կոճակը */
.news-footer {
    margin-top: 20px;
}

.view-all-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: calc(1px + 1vw) calc(10px + 1vw);
    font-size: calc(3px + 1vw);
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.view-all-btn:hover {
    background-color: var(--primary-color);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}



.testimonials-section {
    padding: 60px 0;
    background-color: #fff;
}

.container-testi {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Սլայդերի ընդհանուր դասավորությունը */
.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    margin-top: 40px;
}

.video-grid {
    width: 100%;
    display: flex;
    overflow: hidden;
}

/* Վիդեո քարտի ոճը */
.video-card {
    max-width: 33.3%;
    flex: 1 0 33.3%;
    padding: 0 10px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    cursor: pointer;
    transform: translateX(0%);
    transition: 0.5s;
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

/* Play կոճակը նկարի մեջտեղում */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(40px + 1vw);
    height: calc(40px + 1vw);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: calc(10px + 1vw);
    color: #333;
}

/* Սլաքների ոճը */
.slider-arrow {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: calc(12px + 1vw);
    cursor: pointer;
    transition: transform 0.2s;
    padding: 10px;
}

.main-footer {
    background-color: #f8faf7;
    padding: 60px 0 20px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

/* Լոգոյի մասը */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo h2 {
    color: #7a553a;
    font-size: 22px;
}

.footer-logo img {
    height: 40px;
    object-fit: cover;
}

.footer-col p,
.footer-links li,
.contact-list li,
.contact-list li a {
    color: var(--secondary-color);
    font-size: calc(4px + 1vw);
    margin-bottom: 8px;
    list-style: none;
    text-decoration: none;
}

/* Վերնագրերի տակ գտնվող կանաչ գիծը */
.footer-col h3 {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 5px;
}

.footer-line {
    width: 40px;
    height: 2px;
    background-color: #93c669;
    margin-bottom: 20px;
}

/* Հղումներ */
.footer-links {
    padding: 0;
}

.footer-links a {
    text-decoration: none;
    color: #7a553a;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #93c669;
}

/* Սոց. ցանցերի սկավառակները */
.social-icons-foot {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons-foot a {
    width: calc(25px + 1vw);
    height: calc(25px + 1vw);
    background-color: var(--primary-color);
    /* Բաց կանաչ */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: calc(7px + 1vw);
    transition: 0.3s;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Copyright շերտ */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #7a553a33;
}

.footer-bottom p {
    font-size: 12px;
    color: #7a553a;
    opacity: 0.8;
}


body:has(.active-loading) {
    overflow: hidden;
}

.active-loading {
    opacity: 1 !important;
    pointer-events: auto !important;

}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    user-select: none;
    transition: opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
}

.loader-container {
    position: relative;
    width: 150px;
    height: 150px;
}

/* Անգույն նկարը */
.img-bg {
    width: 100%;
    filter: grayscale(100%);
    opacity: 0.3;
    /* Թեթև երևալու համար */
}

/* Գունավոր շերտի կոնտեյները */
.active-loading .color-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    overflow: hidden;
    animation: fillAnimation 2s infinite linear;
}

/* Գունավոր նկարը */
.img-color {
    width: 150px;
    height: 150px;
    position: absolute;
    bottom: 0;
}

/* Անիմացիան */
@keyframes fillAnimation {
    0% {
        height: 0%;
    }

    100% {
        height: 100%;
    }
}






.battle-hero {
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
}

.battle-hero h1 {
    text-align: center;
    color: var(--secondary-color);
    font-size: calc(17px + 1vw);
}

.battle-hero p {
    text-align: center;
    line-height: 1.6;
    margin: 20px 0 0;
    font-size: calc(5px + 1vw);
    color: var(--secondary-color);
}


.media-section {
    padding: 40px 0;
}


.media-block {
    max-width: 1300px;
    margin: auto;
    position: relative;
    padding: 0 20px;
}

.arrow {
    width: fit-content;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.arrow.left-side {
    left: 0;
}

.arrow.right-side {
    right: 0;
}

.arrow button {
    background: transparent;
    color: var(--secondary-color);
    border: transparent;
    font-size: calc(12px + 1vw);
}

.slide_area {
    width: 95%;
    margin: auto;
    display: flex;
    overflow: hidden;
}

.slide_item {
    max-width: 30%;
    flex: 1 0 25%;
    height: 230px;
    padding: 10px;
    transform: translateX(0);
    transition: 0.7s;
}

.media_content {
    width: 100%;
    height: 100%;
    background: var(--background-color);
    border-radius: 20px;
    overflow: hidden;
}

.media_content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.media_content.video_ video {
    width: 100%;
    height: 100%;
}






/* POPUP BATTLE AREA */

/* Քո հիմնական սլայդերի աշխատանքի ապահովում առանց Swiper կլասների */
.slide_area {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Անհետացնել scrollbar-ը Firefox-ում */
}

.slide_area::-webkit-scrollbar {
    display: none;
    /* Անհետացնել scrollbar-ը Chrome/Safari-ում */
}

.slide_item {
    flex-shrink: 0;
    cursor: pointer;
}

/* --------------------------------- */
/* Code Battle Մոդալ Պատուհան (Popup) */
/* --------------------------------- */
.code-battle-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.98);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.code-battle-popup.active {
    display: flex;
}

.cb-close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 38px;
    cursor: pointer;
    z-index: 10001;
}

.cbPopupSlider {
    width: 100%;
    height: 100%;
    max-width: 450px;
    max-height: 85vh;
}


.cb-popup-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.cb-media-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cb-media-wrapper img,
.cb-media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cb-video-mute-btn {
    position: absolute;
    bottom: 30px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.code-battle-popup .swiper-button-next,
.code-battle-popup .swiper-button-prev {
    color: #fff;
}

/* Կետերի դիրքը */
.code-battle-popup .swiper-pagination {
    bottom: 25px !important;
}

/* Չակտիվ կետերի տեսքը */
.code-battle-popup .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
    width: 8px;
    height: 8px;
    transition: transform 0.2s, background 0.2s;
}

/* Ակտիվ կետի տեսքը (Ինստագրամի պես սպիտակ ու մեծ) */
.code-battle-popup .swiper-pagination-bullet-active {
    background: #ffffff !important;
    transform: scale(1.2);
}

/* Battle join popup  */

/* Պոպապի ֆոնը */
.registration-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Ակտիվ վիճակ */
.registration-popup.active {
    opacity: 1;
    pointer-events: auto;
}

/* Ֆորմայի կոնտեյները */
.reg-popup-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.registration-popup.active .reg-popup-content {
    transform: translateY(0);
}

/* Փակելու կոճակը */
.reg-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--secondary-color);
}

.reg-title {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--secondary-color);
    font-weight: 600;
}

.reg-subtitle {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Ինպուտների խմբերը */
.input-group {
    margin-bottom: 13px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--secondary-color);
    font-weight: 500;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary-color);
}

/* Ուղարկելու կոճակը */
.reg-submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.reg-submit-btn:hover {
    background: var(--secondary-color);
}



.page {
    display: block !important;
}

.news-footer-page {
    display: flex;
    justify-content: center;
}



/* Մոդալի հիմնական կոնտեյներ */
.bottom-sheet {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: flex-end;
}

.bottom-sheet.active {
    display: flex;
}

/* Մութ ֆոնը */
.bottom-sheet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bottom-sheet.active .bottom-sheet-overlay {
    opacity: 1;
}

/* Բուն պատուհանը, որը բարձրանում է տակից */
.bottom-sheet-content {
    position: relative;
    width: 100%;
    height: 85vh;
    background: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transform: translateY(100%);
    transition: 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
}

.bottom-sheet.active .bottom-sheet-content {
    transform: translateY(0);
}

/* Հեդեր և Փակման կոճակ */
.bottom-sheet-header {
    display: flex;
    justify-content: flex-end;
    padding: 15px 20px 5px;
}

.close-sheet-btn {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    color: var(--secondary-color);
}

/* Մոդալի պարունակությունը */
.bottom-sheet-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 25px 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    color: var(--secondary-color);
}

/* Մեդիա կոնտեյներ (ձախ մաս) */
.sheet-media-side {
    position: relative;
    width: 100%;
    height: 400px;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    transition: height 0.4s ease;
}

/* Սլայդերի ներքին տարրերը */
.sheet-slider {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Թաքցնել սքրոլը */
}

.sheet-slider::-webkit-scrollbar {
    display: none;
}

.sheet-slider-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
}

.sheet-slider-item img,
.sheet-slider-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Տեքստի մաս (աջ մաս) */
.sheet-text-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sheet-text-side h2 {
    font-size: calc(10px + 1vw);
    color: var(--secondary-color);
}
.sheet-text-side h4 {
    font-size: calc(7px + 1vw);
}

/* Տեքստի սահմանափակում 2 տողով */
.sheet-text-p {
    margin: 15px 0;
    font-size: calc(2px + 1vw);
    line-height: 1.8;
    color: var(--secondary-color);
}

.sheet-text-p.truncated {
    display: -webkit-box;
    --webkit-line-clamp: 2;
    --webkit-box-orient: vertical;
    overflow: hidden;
}

/* «...» կամ «Կարդալ ավելին» կոճակը */
.read-more-trigger {
    color: #007bff;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
    margin-top: 5px;
}


/* Մեծ էկրանների համար սլայդերի կոնտեյները */
.sheet-media-side {
    position: relative;
    width: 100%;
    height: 450px;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
}

/* Սլայդերի հիմնական շերտը */
.sheet-slider {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.sheet-slider::-webkit-scrollbar {
    display: none;
}

.sheet-slider-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sheet-slider-item img,
.sheet-slider-item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Որ նկարը կամ վիդեոն չկտրվի, այլ ամբողջությամբ երևա */
    background: #000;
}

/* Սլայդերի Կոճակները (Arrows) */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, opacity 0.3s;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 1);
}

.slider-arrow.prev {
    left: 15px;
}

.slider-arrow.next {
    right: 15px;
}

.slider-arrow.hidden {
    display: none;
}

.messageElement {
    width: 10%;
    padding: 15px 15px 15px 20px;
    position: fixed;
    left: 5%;
    top: 10%;
    font-size: calc(7px + 1vw);
    z-index: 9999;
    white-space: nowrap;
    overflow: hidden;
    transition: 0.5s;
    color: rgb(255, 255, 255);
}


.messageElement.success {
    border-left: 3px solid rgb(40, 130, 35);
    background: rgb(100, 200, 55);
    animation-name: messageEffect;
    animation-duration: 3s;
    animation-fill-mode: both;
}

.messageElement.error {
    border-left: 3px solid rgb(130, 40, 35);
    background: rgb(200, 100, 55);
    animation-name: messageEffect;
    animation-duration: 3s;
    animation-fill-mode: both;
}

@keyframes messageEffect {
    0% {
        width: 0%;
    }

    35% {
        width: 90%;
    }

    100% {
        width: 0%;
    }
}