/*
Theme Name: twentytwentyfour Child
Template: twentytwentyfour
*/
body{
    margin-top: 206px;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    transition: transform 0.6s ease;
    z-index: 999;
}
header > .has-base-background-color {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(8px);
}
header.hidden {
    transform: translateY(-100%);
}
.wp-block-navigation li::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #38761d, #6aa84f, #93c47d);
    transition: width 0.4s ease;
    border-radius: 2px;
}
.wp-block-navigation li:hover::before {
    width: 100%;
}
.wp-block-navigation li a {
    transition: all 0.2s ease-in-out;
}
.wp-block-navigation li:hover a {
    text-decoration: none;
    color: #93c47d !important;
    filter: blur(0.7px);
    transform: translateY(1px);
}
.wp-block-button__width-50{
    transition: all 0.2s ease-in-out;
}
.wp-block-button__width-50:hover {
    background: #93c47d !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    filter: blur(0.6px);
}

/* clamp */
.clamp-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; 
  overflow: hidden;
  transition: all 1.5s ease;
  max-height: 300px; 
  position: relative;
}

.clamp-text.expanded {
  -webkit-line-clamp: unset;
  max-height: 1600px; 
}

.toggle-btn {
  margin-top: 6px;
  border: none;
  background: #eee;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 18px;
  display: inline-block;
}


 /* .text-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.clamp-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  transition: max-height 0.4s ease;
  max-height: 400px; 
  position: relative;
  padding-right: 32px;
}

.clam-text.expanded {
  -webkit-line-clamp: unset;
  max-height: 2500px;
}

.toggle-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translateY(0);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  line-height: 26px;
  text-align: center;
  padding: 0;
  user-select: none;
  transition: background 0.2s ease;
}

.toggle-btn:hover {
  background: #ccc;
} */


/* scroll */
 .scroll-to-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: #93c47d;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #c2a990;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    transition: transform 0.2s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

/* contact form 7 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"]{
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus {
    border-color: #93c47d;
    outline: none;
    box-shadow: 0 0 5px rgba(147, 196, 125, 0.5);
}
.wpcf7-form label {
    display: inline-block;
    margin-right: 10px;
    width: 250px;
    margin-bottom: 5px;
}
@media screen and (max-width: 600px) {
    /* .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    } */
    .mobile-hide {
        display: none !important;   
    }
}