/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
}

.wrapper {
    background: #a9e4f7;
    background: linear-gradient(to right, #232526, #414345);
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    padding: 50px 0;
}

.row {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.row:last-child {
    margin-bottom: 0px;
}

.row .container {
    width: 48%;
    min-width: 450px;
    max-width: 650px;
    box-shadow: 0 0 0px 4px rgba(18, 18, 18, 0.47);
}

.container:hover {
    box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.47);
}



.row img {
    cursor: pointer;
    display: block;
    width: 100%;
}

.row .caption {
    cursor: pointer;
}

.row h2 {
    display: inline;
    background: rgba(51, 51, 51, 0.5);
    padding: 15px;
    letter-spacing: 2px;
    font-weight: 100;
    font-size: 22px;
    cursor: pointer;
}

.row p {
    display: inline;
    background: rgba(51, 51, 51, 0.7);
    padding: 10px;
    margin-top: 20px;
    font-weight: 100;
    font-size: 14px;
    cursor: pointer;
}

@media only screen and (min-width: 1900px) {
    .row {
        width: 60%;
    }
}

@media only screen and (max-width: 1200px) {
    .row {
        margin-top: 0;
        margin-bottom: 0;
        flex-direction: column;
    }

    .row .container {
        width: 60%;
        min-width: 650px;
        margin: 40px 0;
    }

    .row:nth-of-type(1) .container {
        width: 41%;
        min-width: 450px;
    }
}

@media only screen and (max-width: 850px) {
    .row {
        margin-top: 0;
        margin-bottom: 0;
        flex-direction: column;
    }

    .container {
        margin: 210px 0;
    }

    .row .container {
        min-width: 450px;
    }

    .row:nth-of-type(1) .container {
        min-width: 350px;
    }

    .effect10 p {
        width: 80%;
    }

    .effect13 .caption p {
        margin-top: 30px;
    }

    .effect6 .caption h2 {
        font-size: 20px !important;
    }

    .effect6 .caption p {
        font-size: 12px !important;
    }
}




/* 
    ===== Effect 1 =====
*/
.effect1 {
    overflow: hidden;
    -webkit-clip-path: circle(50% at 50% 50%);
            clip-path: circle(50% at 50% 50%);
    position: relative;
}

.effect1 img {
    position: relative;
}

/*Line*/
.effect1 .caption:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 49%;
    width: 3px;
    height: 0;
    background-color: #fff;
    transition: top .5s, height .5s;
}

.effect1:hover .caption:before, .effect1:active .caption:before {
    top: 0;
    height: 100%;
}

/*Left & Right Side*/
.effect1 .leftSide,
.effect1 .rightSide {
    position: absolute;
    top: 0;
    left: -125%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .2) 100%);
    transition: left .7s;
}

.effect1 .rightSide {
    left: 125%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .2) 100%);
}

.effect1:hover .leftSide,
.effect1:active .leftSide {
    left: 0;
}

.effect1:hover .rightSide,
.effect1:active .rightSide {
    left: 49%;
}

/* Text */
.effect1 .leftInfo,
.effect1 .rightInfo {
    opacity: 0;
    font-size: 30px;
    position: absolute;
    top: 50%;
    transition: opacity .6s, left .6s;
}

.effect1 .leftInfo {
    color: black;
    transform: translate(-100%, -50%);
    left: 0;
}

.effect1 .rightInfo {
    transform: translateY(-50%);
    left: 100%;
}

.effect1:hover .leftInfo,
.effect1:active .leftInfo
{
    opacity: 1;
    left: 47%;
}

.effect1:hover .rightInfo,
.effect1:active .rightInfo {
    opacity: 1;
    left: 53%;
}




/* 
    ===== Effect 2 =====
*/
.effect2 {
    overflow: hidden;
    -webkit-clip-path: circle(50% at 50% 50%);
            clip-path: circle(50% at 50% 50%);
    position: relative;
}

.effect2 img {
    filter: saturate(0);
    transform: scale(1) rotate(20deg);
    transition: transform 1s;
}

.effect2:hover img {
    filter: none;
    transform: scale(1.3) rotate(0deg);
}

/* Hover Element */
.effect2 .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(29, 29, 29, 0.53);
    transform: rotate(90deg);
    transform-origin: 0 0;

    line-height: 70px;
    text-align: center;
    font-size: 1.4em;
    font-style: italic;
    transition: transform .7s;
}

.effect2:hover .caption {
    transform: rotate(0deg);
}




/* === Effect 3 === */
.effect3 {
    overflow: hidden;
    -webkit-clip-path: circle(50% at 50% 50%);
            clip-path: circle(50% at 50% 50%);
    position: relative;
}

.effect3 img {
    filter: saturate(0);
    transition: transform .8s, filter .8s;
}

.effect3:hover img {
    filter: none;
    transform: translateY(-70px);
}

/* Hover Element */
.effect3 .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0px;
    background: transparent;

    line-height: 70px;
    text-align: center;
    font-size: 1.4em;

    transition: height .8s;
}

.effect3:hover .caption {
    height: 70px;
}





/* 
    ===== Effect 4 =====
*/
.effect4 {
    position: relative;
    overflow: hidden;
}

.effect4 img {
    margin-left: 30px;
    transform: scale(1.2);
    transition: margin-left .7s;
}

.effect4:hover img {
    margin-left: 0;
}

/* Text */
.effect4 .caption h2,
.effect4 .caption p {
    position: absolute;
    bottom: -20px;
    transform: rotate(90deg);
    transform-origin: 100% 100%;
    transition: all .7s;
}

.effect4 .caption h2 {
    width: 400px;
    right: -100px;
}

.effect4 .caption p {
    margin-top: 0;
    width: 300px;
    right: -60px;
}

.effect4:hover .caption h2 {
    bottom: 50%;
    right: 0;
    transform: rotate(0deg);
    transform-origin: 100% 100%;
}

.effect4:hover .caption p {
    bottom: 32%;
    right: 0;
    transform: rotate(0deg);
    transform-origin: 100% 100%;

    -webkit-animation-name: effect4Move;

            animation-name: effect4Move;
    -webkit-animation-duration: .8s;
            animation-duration: .8s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    -webkit-animation-delay: .9s;
            animation-delay: .9s;
}

@-webkit-keyframes effect4Move {
    0% {
        width: 300px;
    }

    100% {
        width: 410px;
    }
}

@keyframes effect4Move {
    0% {
        width: 300px;
    }

    100% {
        width: 410px;
    }
}




/* 
    ===== Effect 5 =====
*/
.effect5 {
    position: relative;
    overflow: hidden;
}

.effect5 img {
    transition: transform .4s;
}

.effect5:hover img {
    transform: scale(1.2);
}

/*  Hover Element */
.effect5 .hoverElement {
    background-color: rgba(0, 0, 0, 0.51);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;

    /*MASK*/
    -webkit-mask-image: url(images/nature-sprite.png);
    mask-image: url(images/nature-sprite.png);
    -webkit-mask-size: 2300% 100%;
    mask-size: 2300% 100%;
    -webkit-animation: effect5Animation2 0.6s steps(22) forwards;
            animation: effect5Animation2 0.6s steps(22) forwards;
}

.effect5:hover .hoverElement {
    -webkit-animation: effect5Animation 0.6s steps(22) forwards;
            animation: effect5Animation 0.6s steps(22) forwards;
}

@-webkit-keyframes effect5Animation {
    0% {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }

    100% {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
}

@keyframes effect5Animation {
    0% {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }

    100% {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
}

@-webkit-keyframes effect5Animation2 {
    0% {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }

    100% {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
}

@keyframes effect5Animation2 {
    0% {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }

    100% {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
}

/* Text */
.effect5 h2 {
    width: 370px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    background-color: transparent;
    transition: transform .8s, opacity .8s;
}

.effect5:hover h2 {
    opacity: 1;
}





/* === Effect 6 === */
.effect6 {
    position: relative;
    overflow: hidden;
}

/* Images */
.effect6 img {}

.effect6:hover .firstImg {
    -webkit-animation-name: scaleImg;
            animation-name: scaleImg;
    -webkit-animation-duration: .7s;
            animation-duration: .7s;
    -webkit-animation-fill-mode: backwards;
            animation-fill-mode: backwards;
}

@-webkit-keyframes scaleImg {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes scaleImg {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.effect6 .secondImg {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .7s;
}

.effect6:hover .secondImg {
    opacity: 1;
    -webkit-animation-name: scaleImg;
            animation-name: scaleImg;
    -webkit-animation-duration: .7s;
            animation-duration: .7s;
    -webkit-animation-fill-mode: backwards;
            animation-fill-mode: backwards;
}

/* Text */
.effect6 .caption h2 {
    font-size: 27px;
    position: absolute;
    right: 0;
    top: -180px;
    transition: top 1.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.effect6 .caption p {
    text-align: right;
    font-size: 15px;
    position: absolute;
    bottom: -180px;
    right: 0;
    transition: bottom 1.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.effect6:hover .caption h2 {
    top: 25%;
}

.effect6:hover .caption p {
    bottom: 30%;
}





/* 
    ===== Effect 7 =====
*/
.effect7 {
    position: relative;
    overflow: hidden;
    perspective: 40em;
}

/* Hover Element */
.effect7 .caption {
    content: "";
    display: block;
    background-color: #262626;
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;

    outline: 1px solid rgba(255, 255, 255, 0.72);
    outline-offset: -15px;

    transform: rotateX(-90deg);
    transform-origin: 50% 50%;
    opacity: 0;
    transition: transform 0.8s ease-in-out, opacity .8s;
}

.effect7:hover .caption {
    transform: rotateX(0);
    opacity: 0.7;
}

/* Text */
.effect7 .caption h2,
.effect7 .caption p {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    text-align: center;
    opacity: 0;
    z-index: 9;
    transition: all .4s .2s, opacity .4s .2s;
}

.effect7 .caption h2 {
    top: 10%;
    width: 400px;
}

.effect7 .caption p {
    top: 90%;
    width: 300px;
}

.effect7:hover .caption h2 {
    top: 28%;
    opacity: 1;
}

.effect7:hover .caption p {
    top: 58%;
    opacity: 1;
}





/* 
    ===== Effect 8 =====
*/
.effect8 {
    position: relative;
    overflow: hidden;
}

.effect8 img {
    transition: all 1s;
}

.effect8:hover img {
    transform: scale(1.3);
}

/* Button */
.effect8 .btn {
    border: none;
    outline: none;
    padding: 10px 35px;
    background-color: rgba(255, 156, 21, 0.8);
    cursor: pointer;
    color: black;
    font-size: 18px;
    white-space: nowrap;
    margin-top: 20px;
    margin-right: 40px;
    transition: all .5s;
}

.effect8 .btn:hover {
    background: rgba(255, 156, 21, 1);
}

/* Text */
.effect8 h2 {
    position: absolute;
    right: 0px;
    top: 20%;
    text-align: right;
    transform: translateX(700px) scale(0.1);
    transition: transform 1.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.effect8 .btn {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translateX(800px);
    transition: transform 1.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.effect8:hover h2 {
    transform: translateX(0px) scale(1);
}

.effect8:hover .btn {
    left: 50%;
    transform: translateX(-50%);
    -webkit-animation: btnWidth 1.2s forwards;
            animation: btnWidth 1.2s forwards;
}

@-webkit-keyframes btnWidth {
    0% {
        padding: 10px 35px;
        opacity: .2;
    }

    50% {
        padding: 10px 100%;
    }

    100% {
        padding: 10px 35px;
        opacity: 1;
    }
}

@keyframes btnWidth {
    0% {
        padding: 10px 35px;
        opacity: .2;
    }

    50% {
        padding: 10px 100%;
    }

    100% {
        padding: 10px 35px;
        opacity: 1;
    }
}




/* 
    ===== Effect 9 =====
*/
.effect9 {
    position: relative;
}

.effect9 img {
    transition: filter .6s;
}

.effect9:hover img {
    filter: grayscale(8);
}

/* Hover Element */
.effect9 .caption {
    background-color: rgba(0, 0, 0, 0.31);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    width: 0;
    overflow: hidden;
    transition: width .9s;
}

.effect9:hover .caption {
    width: 100%;
}

/* Text */
.effect9 .caption h2,
.effect9 .caption p {
    opacity: 0;
    position: absolute;
    white-space: nowrap;
    overflow: hidden;
    transition: transform .9s, opacity .9s;
}

.effect9 .caption h2 {
    background: rgb(131, 58, 180);
    background: linear-gradient(90deg, rgba(131, 58, 180, .4) 0%, rgba(253, 29, 29, .4) 50%, rgba(252, 176, 69, .4) 100%);
    top: 33%;
    transform: translateX(700px);
}

.effect9 .caption p {
    background: rgba(255, 255, 255, 0.41);
    color: black;
    top: 51%;
    left: 20px;
    transform: translateX(-700px);
}

.effect9:hover .caption h2,
.effect9:hover .caption p {
    transform: translateX(0px);
    opacity: 1;
}





/* 
    ===== Effect 10 =====
*/
.effect10 {
    position: relative;
    overflow: hidden;
}

/* Shine effect */
.effect10 .caption:before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    display: block;
    width: 50%;
    height: 100%;
    z-index: 9;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .2) 100%);
    transform: skewX(-25deg);
    transition: left .6s;
}

.effect10:hover .caption:before {
    left: 125%;
}

/* Text */
.effect10 h2,
.effect10 p {
    position: absolute;
    left: 0;
    transform: translateX(-700px) scale(0.1) skewX(95deg);
}

.effect10 h2 {
    font-size: 18px;
    width: 320px;
    top: 20%;
    border-right: 12px solid #085d0b;
    transition: transform .6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.effect10 p {
    top: 45%;
    border-right: 12px solid #1a8d1e;
    transition: transform 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.effect10:hover h2,
.effect10:hover p {
    transform: translateX(0px) scale(1) skewX(0deg);
}




/* 
    ===== Effect 11 =====
*/
.effect11 {
    position: relative;
    overflow: hidden;
}

/* Fake elements (_mask) - Their role is to detect hover on image (left & right side) */
.effect11 .leftSide_mask,
.effect11 .rightSide_mask {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 9;
}

.effect11 .leftSide_mask {
    left: 0;
    right: 50%;
}

.effect11 .rightSide_mask {
    left: 50%;
    right: 0;
}

.effect11 .leftSide_mask:hover ~ .rightSide {
    transform: rotateY(0deg);
}

.effect11 .rightSide_mask:hover ~ .leftSide {
    transform: rotateY(0deg);
}

/* Hover Elements */
.effect11 .leftSide,
.effect11 .rightSide {
    background-color: rgba(0, 0, 0, 0.38);
    position: absolute;
    top: 0;
    bottom: -1px;
    transform: rotateY(90deg);
    transition: transform .4s;
}

.effect11 .leftSide {
    left: 0;
    right: 50%;
    transform-origin: top left;
}

.effect11 .rightSide {
    left: 50%;
    right: -1px;
    transform-origin: top right;
}

/* Text*/
.effect11 .leftSide h2,
.effect11 .rightSide h2 {
    background-color: transparent;
}

.effect11 h2 {
    font-size: 17px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}




/* 
    ===== Effect 12 =====
*/
.effect12 {
    position: relative;
    overflow: hidden;
}

.effect12 .firstImg {
    transition: transform .8s;
}

.effect12:hover .firstImg {
    transform: scale(1.2)
}

.effect12 .secondImg,
.effect12 .thirdImg {
    position: absolute;
    top: 0;
    z-index: 3;
    filter: saturate(0);
    transition: transform 1.6s;
}

.effect12 .secondImg {
    left: 0;
    -webkit-clip-path: polygon(0 0, 50% 0, 50% 100%, 0% 100%);
            clip-path: polygon(0 0, 50% 0, 50% 100%, 0% 100%);
}

.effect12 .thirdImg {
    right: 0;
    -webkit-clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
            clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.effect12:hover .secondImg {
    transform: translateX(-700px) skewX(40deg);
}

.effect12:hover .thirdImg {
    transform: translateX(700px) skewX(-40deg);
}




/* 
    ===== Effect 13 =====
*/
.effect13 {
    position: relative;
    overflow: hidden;
}

.effect13 img {
    transition: filter .8s;
}

.effect13:hover img {
    filter: grayscale(.8) blur(1px);
}

/* Text */
.effect13 .caption h2 {
    position: absolute;
    top: 25%;
    left: 0;
    transform: translateX(-600px);
    transition: transform .6s;
}

.effect13 .caption p {
    position: absolute;
    top: 40%;
    right: -50px;
    width: 460px;

    transform: rotate(-90deg);
    transform-origin: 100% 100%;
    transition: transform .6s;
}

.effect13:hover .caption h2,
.effect13:hover .caption p {
    transform: rotate(0deg);
}


/*  end  */




*{box-sizing:border-box;}
body {
      margin: 0;
      padding: 0;
      font-family: sans-serif;
      background: #f9f9f9;
    }

    /* Header Bar */
    .header-bar {
      width: 100%;
      background-color: #222;
      color: white;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.5rem 1rem;
      flex-wrap: wrap;
    }
    
    .logged-in .header-bar{margin-top:30px;}

    .header-bar .logo {
      font-weight: bold;
      font-size: 1.2rem;
    }

    .header-bar .menu {
      display: flex;
      gap: 1.5rem;
      justify-content: center;
      flex: 1;
    }

    .header-bar .menu a {
      color: white;
      text-decoration: none;
      font-size: 0.95rem;
    }

    .header-bar .icons {
      display: flex;
      gap: 1rem;
    }

    .header-bar .icons span {
      cursor: pointer;
      font-size: 1.1rem;
    }

    /* Header */
    header {
      width: 100%;
      padding: 1rem;
      background-color: #333;
      color: #fff;
      text-align: center;
    }

 

    /* 3-column grid layout */
    .grid-layout {
      display: grid;
      grid-template-columns: 100%;
      gap: 1rem;
      margin: 2rem 0;
    }

    .column {
      background-color: #e0e0e0;
      padding: 1rem;
      border-radius: 8px;
      text-align: center;
    }

    /* Center column: two inner sections */
    .center-sections {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      margin-top: 2rem;
    }

    .section {
      display: flex;
      gap: 1rem;
      align-items: center;
      justify-content: space-between;
      background-color: #f0f0f0;
      padding: 1rem;
      border-radius: 8px;
    }

    .section.reverse {
      flex-direction: row-reverse;
    }

    .section img {
      width: 50%;
      height: auto;
      border-radius: 8px;
    }

    .section .text {
      width: 50%;
      text-align: justify;
      padding: 0 1rem;
    }

    /* 4x2 block above footer */
    .above-footer {
      background-color: #eee;
      padding: 2rem 1rem;
    }

    .above-footer-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .above-footer-grid .item {
      background-color: #ccc;
      padding: 1rem;
      border-radius: 6px;
      text-align: center;
    }

    /* Footer */
    footer {
      width: 100%;
      background-color: #333;
      color: #fff;
      padding: 2rem 1rem 1rem;
    }

    .footer-content {
      display: grid;
      grid-template-columns: 40% 20% 20% 20%;
      gap: 1rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-section {
      background-color: #444;
      padding: 1rem;
      border-radius: 6px;
      text-align: center;
    }

    /* Responsive layout */
    @media (max-width: 768px) {
      .grid-layout {
        grid-template-columns: 1fr;
      }

      .section,
      .section.reverse {
        flex-direction: column;
      }

      .section img,
      .section .text {
        width: 100%;
        text-align: center;
        padding: 0;
      }

      .header-bar {
        flex-direction: column;
        gap: 0.5rem;
      }

      .header-bar .menu {
        flex-wrap: wrap;
        justify-content: center;
      }

      .above-footer-grid {
        grid-template-columns: 1fr 1fr;
      }

      .footer-content {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 480px) {
      .above-footer-grid {
        grid-template-columns: 1fr;
      }
    }
    
     

    /* Navbar */
    .fs_h_navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem;
      position: absolute;
      top: 0;
      right: 0;
      left: 0;
      z-index: 10;
      background: transparent;
    }
    .fs_h_logo {
      font-size: 1.4rem;
      font-weight: bold;
      color: var(--text-color);
      white-space: nowrap;
    }
    .fs_h_menu {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .fs_h_menu a {
      text-decoration: none;
      color: var(--text-color);
      font-weight: 500;
      white-space: nowrap;
      transition: color 0.3s;
    }
    .fs_h_menu a:hover {
      color: var(--green-color);
    }

    /* Hero Section */
    .fs_h_hero {
      background-color: var(--primary-color);
      padding-top: 4rem;
      min-height: 60vh;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-color);
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .fs_h_hero h1 {
      z-index: 1;
      font-size: 2.5rem;
      padding: 0 1rem;
    }

    /* Latest Posts */
    .fs_h_latest_posts {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      padding: 1rem;
      margin-top: 1rem;
      flex: 1;
    }
    .fs_h_latest_right,
    .fs_h_latest_left {
      display: grid;
      gap: 1rem;
    }
    .fs_h_latest_right {
      grid-template-columns: 1fr;
    }
    .fs_h_latest_left {
      grid-template-columns: 1fr;
    }
    .fs_h_post {
      position: relative;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      background: #fff;
    }
    .fs_h_post img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .fs_h_overlay {
      position: absolute;
      bottom: 0;
      right: 0;
      left: 0;
      background: rgba(0, 0, 0, 0.5);
      color: #fff;
      padding: 0.5rem;
    }
    .fs_h_meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.8rem;
      margin-top: 0.3rem;
    }
    .fs_h_meta i {
      margin-left: 0.3rem;
    }

    @media (min-width: 768px) {
      .fs_h_latest_posts {
        flex-direction: row;
      }
      .fs_h_latest_right {
        flex: 1;
        grid-template-rows: repeat(2, auto);
      }
      .fs_h_latest_left {
        flex: 2;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, auto);
      }
    }

    /* New Section */
    .fs_h_new_section {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 2rem 1rem;
      opacity: 0;
      transform: translateY(50px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    .fs_h_new_section.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .fs_h_new_content {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      max-width: 1200px;
      width: 100%;
    }
    .fs_h_animation {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .fs_h_text {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .fs_h_text p {
      margin-bottom: 1rem;
      line-height: 1.6;
    }
    .fs_h_button {
      background-color: var(--green-color);
      color: #fff;
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: 4px;
      text-decoration: none;
      width: fit-content;
      transition: background 0.3s;
    }
    .fs_h_button:hover {
      background-color: #27ae60;
    }
    @media (min-width: 768px) {
      .fs_h_new_content {
        flex-direction: row;
      }
    }

    /* Footer */
    footer {
      position: relative;
      overflow: hidden;
      background: var(--footer-bg-image) no-repeat center center fixed;
      background-size: cover;
      margin-top: auto;
      /* حداقل ارتفاع تا فضای مناسبی برای افکت پارالاکس داشته باشیم */
      min-height: 400px;
      display: flex;
      align-items: center;
    }
    /* لایه انیمیشن گرادیانت */
    .footer-bg-animation {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        to right,
        var(--footer-overlay-color1) 0%,
        var(--footer-overlay-color2) 50%,
        var(--footer-overlay-color1) 100%
      );
      background-size: 200% 200%;
      animation: gradientBG 15s ease infinite;
      opacity: 0.85;
      z-index: 1;
    }
    @keyframes gradientBG {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }
    /* محتوای فوتر */
    .footer-content {
      position: relative;
      z-index: 2;
      width: 100%;
      padding: 3rem 1rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
      color: var(--footer-text);
    }
    .footer-logo-container {
      grid-column: span 2;
      text-align: center;
    }
    .footer-logo-container img {
      max-width: 150px;
      border-radius: 50%;
      border: 3px solid var(--footer-text);
    }
    .footer-column {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .footer-column h3 {
      margin-bottom: 0.5rem;
      font-size: 1.2rem;
      position: relative;
      padding-bottom: 0.5rem;
    }
    .footer-column h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 50px;
      height: 2px;
      background: var(--footer-overlay-color2);
      border-radius: 2px;
    }
    .footer-column p {
      font-size: 0.9rem;
      line-height: 1.5;
    }
    .footer-links ul,
    .footer-services ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links ul li,
    .footer-services ul li {
      margin-bottom: 0.5rem;
    }
    .footer-links ul li a,
    .footer-services ul li a {
      text-decoration: none;
      color: var(--footer-text);
      transition: color 0.3s;
      font-size: 0.9rem;
    }
    .footer-links ul li a:hover,
    .footer-services ul li a:hover {
      color: var(--link-hover);
    }
    .footer-contact div {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.9rem;
    }
    .footer-contact div i {
      font-size: 1.2rem;
      color: var(--footer-overlay-color2);
    }
    .footer-newsletter form {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin-top: 0.5rem;
    }
    .footer-newsletter input[type="email"] {
      padding: 0.5rem;
      border: none;
      border-radius: 4px;
      font-size: 0.9rem;
    }
    .footer-newsletter button {
      padding: 0.5rem;
      border: none;
      border-radius: 4px;
      background: var(--footer-overlay-color2);
      color: var(--footer-text);
      font-size: 0.9rem;
      cursor: pointer;
      transition: background 0.3s;
    }
    .footer-newsletter button:hover {
      background: #1c5980;
    }
    .footer-social {
      display: flex;
      gap: 0.7rem;
      margin-top: 0.5rem;
    }
    .footer-social a {
      color: var(--footer-text);
      font-size: 1.4rem;
      transition: color 0.3s;
    }
    .footer-social a:hover {
      color: var(--link-hover);
    }
    .footer-bottom {
      text-align: center;
      margin-top: 2rem;
      font-size: 0.8rem;
      color: var(--link-hover);
      border-top: 1px solid rgba(236, 240, 241, 0.2);
      padding-top: 1rem;
      grid-column: 1 / -1;
    }
    
    
    .fixed-bar {
    position: fixed;
    height:30px;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    color: white;
    padding: 10px 20px;
    font-family: tahoma;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size:12px;
    box-sizing:border-box
}


 .fixed-bar{box-sizing: border-box;}
#fb_menu{width:auto;display:flex;float:right; }  
#fb_menu a{padding:5px;color:#fff;text-decoration:none}
#fb_logout{color:#fff;}



  body { font-family: sans-serif; line-height: 1.6; background: #f9f9f9; display: flex; flex-direction: column; }

  .fs_container { order: 1; display: flex; flex-wrap: wrap; margin: 90px 20px 20px; min-height: 1300px; z-index: 1; }

  .fs_content { order: 2; flex: 2; min-width: 300px;  max-width: 800px;padding: 10px; }

  .fs_sidebar:first-of-type { order: 1; flex: 1; min-width: 200px; background: #f0f0f0; padding: 10px; }

  .fs_sidebar:last-of-type { order: 3; flex: 1; min-width: 200px; background: #f0f0f0; padding: 10px; }

  .fs_post-title { font-size: 1.8em; margin-bottom: 10px; }
  .fs_post-meta { font-size: 0.9em; color: #555; margin-bottom: 10px; }
  .fs_post-thumbnail img { width: 90px; height: 90px; object-fit: cover; margin-bottom: 10px; }
  .fs_post-excerpt { margin-bottom: 15px; }
  .fs_post-content { margin-bottom: 20px; }
  .fs_post-content img{width: 100% !important;
  height: auto !important;}

  .fs_header { order: 0; background: #222; color: #fff; position: relative; z-index: 20; width: 100%; }
  .fs_header.fixed { position: fixed; top: 0; right: 0; left: 0; }
  .fs_navbar { display: flex; align-items: center; justify-content: space-between; padding: 15px; }
  .fs_logo { font-size: 1.5em; font-weight: bold; }
  .fs_menu { list-style: none; display: flex; }
  .fs_menu > li { position: relative; margin: 0 10px; }
  .fs_menu > li > a { color: #fff; text-decoration: none; padding: 8px 12px; display: block; }
  .fs_menu li ul, .fs_menu li .fs_megamenu { display: none; position: absolute; top: 100%; right: 0; background: #444; width: 100%; }
  .fs_menu li ul li a { padding: 10px; color: #fff; display: block; text-decoration: none; }
  .fs_menu li:hover > ul { display: block; }
  .fs_menu li .fs_megamenu { width: 100vw; right: 0; padding: 20px; display: none; flex-wrap: wrap; background: #444; }
  .fs_menu li:hover .fs_megamenu { display: flex; }
  .fs_megamenu .fs_column { flex: 1; margin: 0 10px; }
  .fs_megamenu .fs_column h4 { margin-bottom: 10px; }
  .fs_megamenu .fs_column a { color: #fff; display: block; margin-bottom: 5px; text-decoration: none; }

  .fs_search-btn { background: #444; color: #fff; border: none; border-radius: 5px; padding: 5px 10px; cursor: pointer; }

  .fs_footer { order: 2; background: #222; color: #fff; text-align: center; padding: 15px; }

  #fs_backToTop { display: none; position: fixed; bottom: 40px; left: 40px; background: #333; color: #fff; border: none; border-radius: 50%; width: 45px; height: 45px; font-size: 20px; cursor: pointer; z-index: 200; }

  #fs_progressBar { position: fixed; top: 0; left: 0; height: 4px; background: #ff9800; width: 0%; z-index: 999; }

  #fs_scrollCircleContainer { position: fixed; bottom: 40px; right: 40px; width: 60px; height: 60px; z-index: 200; }
  #fs_scrollCircleContainer svg { transform: rotate(-90deg); transform-origin: center; }
  #fs_scrollCircleBg { stroke: #ddd; fill: none; stroke-width: 5; }
  #fs_scrollCircle { stroke: #ff9800; fill: none; stroke-width: 5; stroke-linecap: round; transition: stroke-dashoffset 0.2s ease-out; }

  .fs_search-overlay { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(0,0,0,0.6); z-index: 10000; }
  .fs_search-overlay.active { display: flex; align-items: center; justify-content: center; }
  .fs_search-box { display: flex; width: 60%; border-radius: 50px; background-color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.3); overflow: hidden; }
  .fs_search-box input { flex: 1; border: none; padding: 10px 15px; outline: none; border-radius: 50px; font-size: 16px; }
  .fs_search-box button { background-color: #333; color: #fff; border: none; border-radius: 50px; padding: 10px 20px; cursor: pointer; }

  @media (max-width: 768px) {
    .fs_container { flex-direction: column; }
    .fs_menu { flex-direction: column; }
    .fs_menu > li { margin: 5px 0; }
    .fs_megamenu { flex-direction: column; }

    .fs_content { order: 1; }
    .fs_sidebar:first-of-type { order: 2; }
    .fs_sidebar:last-of-type { order: 3; }
  }
  
  
    .fs_table tr td{padding:3px;font-size:14px;}
  .fs_table tr:nth-child(even) {
  background-color: #f2f2f2; /* رنگ ردیف‌های زوج */
}

.fs_table tr:nth-child(odd) {
  background-color: #ffffff; /* رنگ ردیف‌های فرد */
}

.post-item{max-width:500px;height:auto;overflow:hidden;border:2px solid #000;}







/* cuboid txt */
.coboid_txt {
  font-family: "Roboto Mono";
  font-size: 30px;
  padding: 30px 0 0 30px;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  font-weight: 700;
  color: #fff;
  background-image: radial-gradient(#e85e3c, #7c1717);
  background-repeat: no-repeat;
  height: 100vh;
}

.t3xts {
  line-height: 1;
  position: relative;
  perspective: 1000px;
  text-transform: uppercase;
}

.t3xt {
  transform-style: preserve-3d;
  position: absolute;
  top: 0;
  text-transform: uppercase;
}

.t3xt-out {
  animation: text-out 0.5s ease;
}

.t3xt-in {
  animation: text-in 0.5s ease;
}

@keyframes text-out {
  to {
    transform: rotateX(90deg);
    opacity: 0;
  }
}
@keyframes text-in {
  from {
    opacity: 0;
    transform: rotateX(-90deg);
  }
  to {
    transform: rotateX(0deg);
    opacity: 1;
  }
}
 
 
 
 
 

#wrapper {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: url("https://user-images.githubusercontent.com/26748614/112761401-6b9dd080-8ffb-11eb-801d-855c6af3de4a.jpg");
    background-size: cover;
    background-position: 50% 70%;
}


.btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) skewX(-15deg);
    z-index: 9;
    font-family: 'Paytone One', sans-serif;
    font-style: italic;
    font-size: 40px;
    color: rgb(33, 33, 33);
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 30px 15px 30px;
    border-radius: 7px;
    box-shadow: 7px 7px 10px 0px rgba(0,0,0,0.62);
    transition: all 1.3s cubic-bezier(.76,.07,.11,.88);
}

.btn:hover, btn:active {
    transform: translate(-50%, -50%) scale(1.2) skewX(-15deg);
    background: rgba(255, 255, 255, 0.8);
}

.leftGradient,
.rightGradient {
    height: 100vh;
    width: 50%;
    float: left;
}

.leftGradient {
    transform-origin: 100% 50%;
    transform: skewX(-15deg) scaleX(1.3);
    background: linear-gradient( to right,
            var(--color1) var(--offset1),
            var(--color2) var(--offset1) var(--offset2),
            var(--color3) var(--offset2) var(--offset3),
            var(--color4) var(--offset3) var(--offset4),
            var(--color5) var(--offset4) var(--offset5),
            var(--color6) var(--offset5) var(--offset6));
}

.rightGradient {
    transform-origin: 0% 50%;
    transform: skewX(-15deg) scaleX(1.3);
    background: linear-gradient(to left,
            var(--color1) var(--offset1),
            var(--color2) var(--offset1) var(--offset2),
            var(--color3) var(--offset2) var(--offset3),
            var(--color4) var(--offset3) var(--offset4),
            var(--color5) var(--offset4) var(--offset5),
            var(--color6) var(--offset5) var(--offset6));
}
 
  
/*  marqee logo */
#mqlogo-container {
  --color-text: navy;
  --color-bg: papayawhip;
  --color-bg-accent: #ecdcc0;
  --size: clamp(10rem, 1rem + 40vmin, 30rem);
  --gap: calc(var(--size) / 14);
  --duration: 60s;
  --scroll-start: 0;
  --scroll-end: calc(-100% - var(--gap));
}

@media (prefers-color-scheme: dark) {
  #mqlogo-container {
    --color-text: papayawhip;
    --color-bg: navy;
    --color-bg-accent: #2626a0;
  }
}

 

#mqlogo {
  display: grid;
  align-content: center;
  overflow: hidden;
  gap: var(--gap);
  width: 100%;
  min-height: 100vh;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
}

.marquee {
  display: flex;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  gap: var(--gap);
  -webkit-mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
          mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  -webkit-animation: scroll-x var(--duration) linear infinite;
          animation: scroll-x var(--duration) linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__group {
    -webkit-animation-play-state: paused;
            animation-play-state: paused;
  }
}

.marquee--vertical {
  --mask-direction: to bottom;
}

.marquee--vertical,
.marquee--vertical .marquee__group {
  flex-direction: column;
}

.marquee--vertical .marquee__group {
  -webkit-animation-name: scroll-y;
          animation-name: scroll-y;
}

.marquee--reverse .marquee__group {
  animation-direction: reverse;
  -webkit-animation-delay: -3s;
          animation-delay: -3s;
}

@-webkit-keyframes scroll-x {
  from {
    transform: translateX(var(--scroll-start));
  }
  to {
    transform: translateX(var(--scroll-end));
  }
}

@keyframes scroll-x {
  from {
    transform: translateX(var(--scroll-start));
  }
  to {
    transform: translateX(var(--scroll-end));
  }
}

@-webkit-keyframes scroll-y {
  from {
    transform: translateY(var(--scroll-start));
  }
  to {
    transform: translateY(var(--scroll-end));
  }
}

@keyframes scroll-y {
  from {
    transform: translateY(var(--scroll-start));
  }
  to {
    transform: translateY(var(--scroll-end));
  }
}

/* Element styles */
.marquee svg {
  display: grid;
  place-items: center;
  width: var(--size);
  fill: var(--color-text);
  background: var(--color-bg-accent);
  aspect-ratio: 16/9;
  padding: calc(var(--size) / 10);
  border-radius: 0.5rem;
}

 
/* Parent wrapper */
.mqwrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  margin: auto;
  max-width: 100vw;
}

 
 

 

@-webkit-keyframes fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}




/* footer card */
#footercard{ background: radial-gradient(circle at center, #111, #000);}


  .fs_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1400px;
    width: 100%;
    perspective: 1200px;
  }

  .fs_card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition:
      transform 0.9s cubic-bezier(0.23, 1, 0.32, 1),
      box-shadow 0.6s ease,
      filter 0.4s ease,
      opacity 0.4s ease,
      height 0.9s ease;
    box-shadow: 0 30px 60px rgba(0, 255, 255, 0.15);
    cursor: pointer;
    display: flex;
    flex-direction: column;
  }

  .fs_card img {
    width: 100%;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #ccc;
  }

  .fs_card-content {
    padding: 16px;
    background: linear-gradient(180deg, #fff, #eef);
    flex-grow: 1;
  }

  .fs_card h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #036;
  }

  .fs_card p {
    margin: 0;
    font-size: 0.95rem;
    color: #444;
  }

  /* ارتفاع و چرخش کارت‌ها بر اساس نزدیکی به مرکز با زاویه برعکس */
  .fs_card:nth-child(1) {
    height: 220px;
    transform:
      rotateY(-20deg)
      translate3d(-80px, 0, 40px);
  }

  .fs_card:nth-child(2) {
    height: 250px;
    transform:
      rotateY(-10deg)
      translate3d(-40px, 0, 90px);
  }

  .fs_card:nth-child(3) {
    height: 280px;
    transform:
      rotateY(0deg)
      translate3d(0, 0, 150px);
  }

  .fs_card:nth-child(4) {
    height: 250px;
    transform:
      rotateY(10deg)
      translate3d(40px, 0, 90px);
  }

  .fs_card:nth-child(5) {
    height: 220px;
    transform:
      rotateY(20deg)
      translate3d(80px, 0, 40px);
  }

  /* کارت‌های غیر فعال */
  .fs_card.inactive {
    transform: none !important;
    opacity: 0.4;
    filter: blur(4px);
    pointer-events: none;
    height: 200px !important;
  }

  /* کارت فعال */
  .fs_card.active {
    transform: scale(1.05) translateZ(30px) !important;
    filter: none;
    opacity: 1;
    box-shadow: 0 50px 100px rgba(0, 255, 255, 0.3);
    pointer-events: auto;
    z-index: 2;
    height: 300px !important;
  }
  