@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
:root{--system-font:"Work Sans", sans-serif;--primary:#D7DED1;--accent:#F6F2EF;--shadow:rgba(0,0,0,0.2) 0 0 10px;--light-blue:#F8FAFC;--black:#0E1C36;--white:#fff;--dark-blue:#0E1C36;--big-shadow:#C9D4D9 0 0 90px;--grey:#A1A1A1;--silver:#F5F5F5;}

iframe {vertical-align: middle;}
body,html{overflow-x:hidden;font-family:var(--system-font);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;min-height: 100%; color: #0E1C36;}
.small-shadow {box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);}
.primary-text {color: var(--primary);}
.white-text, .light-text {color: var(--white);}
.primary {background-color: var(--primary);}
.accent {background-color: var(--accent);}
.white {background-color: var(--white);}
.black {background-color: var(--black);}
.black-text {color: var(--black);}
.silver {background-color: var(--silver);}
.mh100p {min-height: 100%;}
.mask {background-color: var(--black); opacity: 0.6;position: absolute;top:0;left:0;width: 100%; height: 100%;}
body{font-family:var(--system-font);font-size:16px;font-weight:500;-webkit-animation:fadeinout .3s ease-in 1 forwards;animation:fadeinout .3s ease-in 1 forwards;}
@-webkit-keyframes fadeinout{0%{opacity:0}
100%{opacity:1}
;}
@keyframes fadeinout{0%{opacity:0}
100%{opacity:1}
;}

.cormorant-infant {font-family: "Cormorant Infant", serif;}
.flex-col{float:none !important;flex-direction:row;}
.work-sants {font-family: "Work Sans", sans-serif;}
.flex-row{display:flex;}
.flex1 {flex: 1;}
.v-center{top:50%;position:relative;transform:translateY(-50%);}
.vcenter-items {align-items: center;}
.lngbar{position:absolute;top:15px;right:60px;z-index:30;-o-transition:all .2s linear;-moz-transition:all .2s linear;-webkit-transition:all .2s linear;transition:all .2s linear;}
.lngbar .lng{width:30px;height:30px;text-align:center;line-height:30px;color:var(--white);font-weight:600;background-color:var(--accent); font-size: 0.9em;}
.lngbar ul{list-style:none;position:absolute;top:30px;left:0;background-color:var(--silver);width:30px;text-align:center;opacity:0;height:0px;overflow:hidden;-o-transition:all .2s ease;-moz-transition:all .2s ease;-webkit-transition:all .2s ease;}
.lngbar ul.open{opacity:100;-o-transition:all .2s ease;-moz-transition:all .2s ease;-webkit-transition:all .2s ease;height:auto;}
.lngbar ul li{color:#000;cursor:pointer;height:30px;line-height:30px;-o-transition:all .2s ease;-moz-transition:all .2s ease;-webkit-transition:all .2s ease;}
.lngbar ul li:hover{color:var(--black);background-color:var(--primary);-o-transition:all .2s ease;-moz-transition:all .2s ease;-webkit-transition:all .2s ease;}
.lngbar ul li:hover a{color:var(--white);}
.lngbar ul li a{text-decoration:none;color:#000;font-size:0.8em;font-weight:400;}
.lngbar .select{border-color:var(--primary) transparent;border-style:solid solid none;border-width:5px 5px medium;height:5px;right:-12px;position:absolute;top:12px;width:0;text-decoration:none;color:var(--black);}
.editable {display: contents;}
.cmspage .wraper {margin: auto;}
.cmspage p {margin-bottom: 10px;}
.cmspage ul, .cmspage ol {margin-bottom: 10px; padding-left: 20px; line-height: 1.5;}
.cmspage h2 {margin-bottom: 30px;}
.cmspage h3 {margin-bottom: 15px; font-size: 1.4em; font-weight: 700;}
.cmspage table {border: solid 1px var(--silver); border-collapse: collapse; width: 100%; margin-bottom: 20px;}
.cmspage table  td {padding: 10px; border: solid 1px var(--silver);}


.menu-call{width:30px;position:relative;z-index:101;cursor:pointer;padding-top:8px;padding-bottom:8px;}
.menu-call span{width:100%;height:2px;background-color:var(--color-primary);top:0;right:0;display:block;-moz-transition:all .2s linear;-webkit-transition:all .2s linear}
.menu-call span:before{content:'';height:2px;width:100%;margin-bottom:5px;display:block;background-color:var(--black);position:absolute;top:0;-moz-transition:all .2s linear;-webkit-transition:all .2s linear}
.menu-call span:after{content:'';height:2px;width:100%;margin-top:5px;display:block;background-color:var(--black);position:absolute;bottom:0;-moz-transition:all .2s linear;-webkit-transition:all .2s linear}
.menu-call.open span{-o-transition:all .2s linear;-moz-transition:all .2s linear;-webkit-transition:all .2s linear;width:0}
.menu-call.open span:before,.menu-call.open span:after{content:'';height:2px;width:100%;display:block;position:absolute;top:8px;-webkit-transform:rotate(45deg);-moz-transition:all .2s linear;-webkit-transition:all .2s linear}
.menu-call.open span:before{transform:rotate(45deg);}
.menu-call.open span:after{transform:rotate(-45deg);margin-top:0;}
.menu-call span:before,.menu-call span:after,.menu-call.open span:before,.menu-call.open span:after{background-color:var(--color-primary);}
.mobile-menu{text-align:center;display:block;position:fixed;width:100%;height:100%;background-color:var(--white);z-index:99;transform:perspective(50em) rotateX(-90deg);transform-origin:50% 0;-o-transition:all 1s ease;-moz-transition:all 1s ease;-webkit-transition:all 1s ease;transition:all 1s ease;}
.mobile-menu.open{display:block;left:0;right:0;transform:perspective(50em) rotatey(0deg);height:100vh;-o-transition:all 1s ease;-moz-transition:all 1s ease;-webkit-transition:all 1s ease;transition:all 1s ease}
/* .mobile-menu.open *{opacity:100;-o-transition:all 1s ease;-moz-transition:all 1s ease;-webkit-transition:all 1s ease;transition:all 1s ease} */
/* .mobile-menu *{opacity:0;-o-transition:all 1s ease;-moz-transition:all 1s ease;-webkit-transition:all 1s ease;transition:all 1s ease} */
/* .mobile-menu ul{color:var(--color-black-blue);list-style:none;padding-top:50px;display:flex;flex-direction:column;gap:40px;align-items:start;}
.mobile-menu ul li > ul{padding:10px;display:none;} */
.mobile-menu nav ul {display: flex;flex-direction: column; gap: 2.5rem;margin-top: 40px;}

.home-baners ul.slick-dots {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    right: 2vw;
    top: 50%;
    gap: 5px;
    transform: translateY(-50%);
}
.home-baners ul.slick-dots li button{
 display: none;
}

.home-baners ul.slick-dots li {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    border: 2px solid #D2DDE1;
    color:#D2DDE1;
}
.home-baners ul.slick-dots li.slick-active  {
  
    color: var(--white);
    background: #748AA1;
    border-color: #748AA1;
}
.home-baners img {
    min-width: 100%;
    height: 72vh;
    object-fit: cover;
}

.products-grid .row {
    display: flex;
    gap: 20px 0;
    flex-wrap: wrap;
}
.products-grid article:hover:before {
    content: ""; /* Required for pseudo-elements */
    position: absolute; /* Position relative to the .product-title */
    top: 20px;
    left: -1px; /* Align it to the left edge of the title */
    width: 7px; /* Width of the line */
    height: 50px; /* Make it as tall as the title element */
    background-color: #7296a6; /* The blue color of the line (adjust as needed) */
    /* You might want to add border-radius for slightly rounded corners if desired */
    /* border-radius: 3px; */
}

.products-grid .row {
            display: flex;
            flex-wrap: wrap;
            
            justify-content: flex-start;
           
        }

        /* CHANGED: Now targeting [class*="col"] 
           This selects any element with a class containing "col" 
           (e.g., col-25, col-50, column-grid, etc.) 
        */
        .products-grid [class*="col"] {
            /* flex: 1 1 260px; */
            background: white;
            border-radius: 16px;
            padding: 24px;
            position: relative;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            border: 1px solid transparent;
            transition: all 0.3s ease;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            margin-left: 1%;
            flex: auto;
        }

        .products-grid [class*="col"] .title {
            margin-bottom: 6px;
            z-index: 2;
            padding-right: 10px;
        }

        .products-grid [class*="col"] .title p {
            font-family: "Cormorant Infant", serif;
            font-size: 24px;
            line-height: 1.1;
            text-decoration: none;
            display: block;
            font-weight: 800;
        }

        .products-grid [class*="col"] .descr {
            size: 12px;
           text-transform: capitalize;
            z-index: 2;
        }

        .products-grid [class*="col"] .date {
            display: none; 
            font-size: 12px;
            color: #889bb5;
            margin-bottom: 4px;
            z-index: 2;
        }

        /* --- PREVIEW / READ MORE LINK --- */
        .products-grid .read-more, 
        .products-grid .apply {
            margin-top: auto;
            z-index: 2;
            position: relative;
            
            /* CHANGED: Hidden by default */
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px); /* Slide up effect */
            transition: all 0.3s ease;
        }

        /* CHANGED: Appear on hover */
        .products-grid [class*="col"]:hover .read-more {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        
        .products-grid .apply, .products-grid .read-more  {
            display: none;
        }

        /* --- IMAGE STYLING --- */
        .products-grid [class*="col"] .img {
            position: absolute;
            bottom: 0px;
            right: 0px;
            width: 130px;
            height: 110px;
            z-index: 1;
            
            /* Hidden by default */
            opacity: 0;
            visibility: hidden;
            transform: scale(0.9);
            transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        }
        
        /* Show on hover */
        .products-grid [class*="col"]:hover .img {
            opacity: 1;
            visibility: visible;
            transform: scale(1.3);
        }

        .products-grid [class*="col"] .img .title {
            display: block;
            width: 100%;
            height: 100%;
        }

        .products-grid [class*="col"] .img img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

          /* Smooth fade-in animation for the modal */
        .modal-enter {
            animation: fadeIn 0.3s ease-out forwards;
        }
        #modalOverlay {
            z-index: 100;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }


.allNews article {
    box-shadow: var(--shadow);
    border-radius: 20px;
    padding: 20px;
}
.allNews article img {
   width: 100%;
}

.allNews article .title {
    text-align: center;
    font-family: "Cormorant Infant", serif;
    font-size: 30px;
    margin-block: 5px;
    text-transform: capitalize;
}
.allNews article .apply {
    display: none;
}
.allNews article .read-more {
    border-radius: 20px;
    padding-block: 5px;
    padding-inline: 20px;
    margin-top: 10px;
   width: fit-content;
   margin-inline: auto;
   background-color: var(--primary);
   text-transform: uppercase;
}
.allNews article .read-more:hover {
    background: var(--accent);
}

.allNews article .date {
    font-size: 12px;
}


@media (max-width: 1024px) {

    .mobile-menu nav ul {display: flex;flex-direction: column; gap:10px;margin-top:0}

    .responsive-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .responsive-row.row *[class*="col-"]{
        width: 100%;
        margin-left: 0;
    }

    .allNews .row {
        display: flex;
                flex-direction: column;
                align-items: center;
                gap: 20px;
            }

    .allNews .row *[class*="col-"]{
        width: 100%;
        margin-left: 0;
    }

    .products-grid  .row > [class*="col-"] {
        flex: 0 0 47%;
        max-width: 47%;
    }
    .products-grid  .row > [class*="col-"]:nth-child(2n+1) {
        margin-left: 0;
    }
    .home-baners img {
        height: 90vh;
    }

    .wraper {min-width: auto;}
}

@media (max-width:900px){


}

@media (max-width:760px){
 .products-grid  .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .products-grid  .row > [class*="col-"] {
        margin-left: 0;
    }

}
