html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden  !important;
}
/* Page enter animation */
.page-enter {
    opacity: 0;
    transform: translateY(40px);
    animation: pageFadeUp 0.6s ease-out forwards;
}

@keyframes pageFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-second > div.row{
    justify-content: center !important;
    flex-wrap: wrap-reverse !important;
}
/* Features Section - Card Centered Design */
.features-section {
    background: linear-gradient(135deg, #3C8DBC 0%, #5CB5E8 50%, #2E3192 100%);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.features-left {
    text-align: right;
}

.features-right {
    text-align: left;
}

.features-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.card-image-wrapper {
    position: relative;
    max-width: 400px;
    width: 100%;
    animation: floatCard 3s ease-in-out infinite;
}

.card-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(92, 181, 232, 0.4);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.card-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: pulseGlow 2s ease-in-out infinite;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3C8DBC, #5CB5E8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(60, 141, 188, 0.3);
}

.features-left .feature-icon {
    margin-left: auto;
}

.features-right .feature-icon {
    margin-right: auto;
}

.feature-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #152440;
    margin-bottom: 0.5rem;
}

.feature-description {
    font-family: 'Noto Sans Armenian', sans-serif;
    font-size: 1rem;
    color: #5a5668;
    line-height: 1.6;
    margin: 0;
}

/* Animations */
@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px) perspective(1000px) rotateY(-5deg);
    }
    50% {
        transform: translateY(-15px) perspective(1000px) rotateY(-5deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features-left,
    .features-right {
        text-align: center;
    }

    .features-left .feature-icon,
    .features-right .feature-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .card-image-wrapper {
        max-width: 300px;
        order: -1;
    }

    .features-section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .feature-card {
        padding: 1.5rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    .card-image-wrapper {
        max-width: 250px;
    }
}

        
.jcard .profile_img {
    position: relative;       /* ::before overlay-ի համար */
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Gray overlay */
.jcard .profile_img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background-color: rgba(128, 128, 128, 0.5); /* 50% grey */
    pointer-events: none;  /* overlay չի խանգարում mouse events-ին */
}

.jcontainer{
    position: relative;
    margin: 0px auto;
    display: flex;
    max-width: 90%;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}
.image{
    position: relative;
    max-width: 200px;
    width: 100%;
    margin: 0px auto 30px;
    cursor: pointer;
    overflow: hidden;
}
.image h2{
    position: absolute;
    display: flex;
    margin: 0px;
    top: 72%;
    color: black;
    left: 16%;
    font-size: 26px;
    transition: all .3s linear;
}
.image:hover h2{
    opacity: 0;
}
.profile_img{
    width: 200px;
    height: 200px;
    border-radius: 14px;
    /*background: conic-gradient(from 35deg,#000,#434343);*/
    /*background-image: url("../img/rosneft.jpg");*/
    background-size: 170% 200%;
    /*background-position: 20% 75%;*/
}
.outer_slide{
    position: absolute;
    max-width: 100%;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    color: #fff;
    transition: all .3s linear;
    /*! transform: translate(69%,66%) scale(0.5) rotate(45deg); */
    /*! transform: translate(-69%,66%) scale(0.5) rotate(-45deg); */
    /* transform: translate(-69%,-66%) scale(0.5) rotate(-45deg); */
    /*! transform: translate(69%,-66%) scale(0.5) rotate(45deg); */
    /* transform:unset; */

}
.i1 .outer_slide{
    transform: translate(69%,66%) scale(0.5) rotate(45deg);
}
.i2 .outer_slide{
    transform: translate(-80%,80%) scale(0.5) rotate(-45deg);
}
.i3 .outer_slide{
    transform: translate(-80%,-80%) scale(0.5) rotate(-45deg);
}
.i4 .outer_slide{
    transform: translate(69%,-66%) scale(0.5) rotate(45deg);
}
.image:hover .outer_slide{
    transform: unset;
}
.outer_slide::after{
    position: absolute;
    content: "";
    max-width: 100%;
    width: 100%;
    height: 100%;
    background-color: #000;
    top: 0;
    left: 0;
    border-radius: 14px;
    opacity: 0.3;
}
.outer_slide h3{
    position: relative;
    z-index: 1;
    font-size: 25px;
    left: 14%;
}
.outer_slide p{
    position: relative;
    z-index: 1;
    font-size: 15px;
    padding: 0px 31px;
}
/* .image1:hover .outer_slide{
  transform:unset;
} */

/*.btn{*/
/*    position: relative;*/
/*    padding: 10px;*/
/*    background: #fff;*/
/*    outline: none;*/
/*    border: 2px solid #000;*/
/*    border-radius: 8px;*/
/*    font-size: 15px;*/
/*    cursor: pointer;*/
/*    left: 33%;*/
/*}*/
/* @media(max-width:1300px){
    .container{
        max-width: 90%;
    }
} */


/*--------------------------------------------------------------------------------------*/

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
    height: 10px;
}
::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #c2c9d2;
}


section.loop-images {
    position: relative;
    /*height: 100svh;*/
    max-height: 100svh;
    width: 100%;
    padding: 1%;
    background-color: var(--bg);
    overflow: hidden;
    &.section2 {
        height: min-content;
    }
}
.loop-images {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.carousel-track {
    --left: -300rem;
    min-width: calc(10rem * var(--total));
    height: 30rem;
}
.carousel-track .carousel-item {
    position: absolute;
    width: 30rem;
    height: 30rem;
    left: 100%;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    transform-style: preserve-3d;
    animation: scroll-left var(--time) linear infinite;
    animation-delay: calc(var(--time) / var(--total) * (var(--i) - 1) - var(--time));
    will-change: left;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        background-color: white;
        transform: rotateY(-45deg);
        transition: 0.5s ease-in-out;
        mask: linear-gradient(black 70%, transparent 100%);
    }
}
.carousel-track .carousel-item:hover img {
    transform: rotateY(0deg) translateY(-1rem);
}
/*.carousel-track:hover .carousel-item {
animation-play-state: paused;
}*/
@keyframes scroll-left {
    to {
        left: var(--left);
    }
}
.image-motion {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-position: center;
    transform: rotatex(90deg);
    transform-origin: 50% 0;
    picture {
        display: block;
        width: 100%;
        height: 100%;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            background-color: white;
        }
    }
}



/********** Template CSS **********/
:root {
    --primary: #14295D;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}
.newCont {
    display: grid;
    justify-items: center;
    color: #ffffff;
    padding: 40px;
}

h1 {
    margin-bottom: 24px;
}

/* ========== CARD LAYOUT ========== */
.ncards {
    display: flex;
    padding: 2% 10% ;
    gap: 20px;
    flex-wrap: wrap;
}

.ncard {
    background-image: linear-gradient(to bottom right, #5CB5E8, #3559B0) !important;
    background-repeat: no-repeat;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    flex: 1;
    /*background: #5CB5E8;*/
    padding: 24px;
    border-radius: 20px;
    transition: 0.3s ease;
    cursor: pointer;
}

/* Dim all cards on container hover */
.ncards:hover .ncard {
    opacity: 0.4;
    transform: scale(0.96);
}

/* Highlight hovered card */
.ncards .ncard:hover {
    opacity: 1;
    transform: scale(1.05);
}

.ncard h3 {
    margin-top: 0;
    color: white;
}

.ncard p {
    margin-top: 5px;
    opacity: 0.8;
    line-height: 1.5;
}


.topSection > *{
    width: fit-content !important;
}
.lang-switcher {
    width: fit-content !important;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 20px 0;
}

.lang-flag svg {
    width: 40px;
    height: auto;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.lang-flag svg:hover {
    transform: scale(1.15);
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}
h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}
.navbar a img{
    /*max-width: 30%;*/
    max-width: 65px !important;
}
@media (max-width: 1600px) {

}
@media (max-width: 1200px) {}
@media (max-width: 992px) {}
@media (max-width: 768px) {}
@media (max-width: 576px) {}
@media (max-width: 360px) {}
.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #A27751;
    border: 1px solid #A27751;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}
.menu-element{
    color: #14295D !important;

    transition: width 0.3s ease;
}
.menu-element:hover,.menu-element:active{
    font-family: 'Barlow', sans-serif;

    transform: translateY(-5px);
    /*font-weight: 600 !important;*/

}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    font-family: 'Barlow', sans-serif;
   /*font-weight: 700 !important;*/
}

@media (max-width: 1200px) {
    .navbar-light .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 21 59 / 42%);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}

/*@media (min-width: 320px) and (max-width: 575px) {*/
/*    nav{*/
/*        padding: 0 !important;*/
/*    }*/
/*    nav a img{*/
/*        width: 50px !important;*/
/*    }*/
/*    nav a h1{*/
/*        font-size: 20px !important;*/
/*    }*/
/*    .about-part img{*/
/*        display: none !important;*/
/*    }*/
/*}*/

/*!* Phones (portrait & landscape) *!*/
/*@media (min-width: 576px) and (max-width: 767px) {*/
/*}*/
/*!* Tablets (portrait) *!*/
/*@media (min-width: 768px) and (max-width: 991px) {*/
/*}*/

/*!* Tablets (landscape / small laptops) *!*/
/*@media (min-width: 992px) and (max-width: 1199px) {*/
/*}*/

/*!* Standard desktops *!*/
/*@media (min-width: 1200px) and (max-width: 1399px) {*/
/*}*/

/*!* Large desktops *!*/
/*@media (min-width: 1400px) {*/
/*}*/