.selectbtn {
  width: 230px;
  padding: 10px;
  margin-top: 8px;
  font-size: 16px;
  font-family: open sans, sans-serif;
  color: #777;
  border-radius: 5px;
}
.serbtn {
  width: 230px;
  padding: 10px;
  margin-top: 8px;
  font-size: 16px;
  font-family: open sans, sans-serif;
  color: #fff;
  background-color: #01e675;
  border-radius: 5px;
  text-decoration: none;
  border: none;
}
.addbtn {
  color: #fff;
  font-size: 20px;
  background-color: #01e675;
  padding: 5px;
  border-radius: 5px;
}
.addbtn:hover {
  background-color: #fff;
  color: #0bc20b;
  border: 1px solid #777;
}
select.classic {
  background-image: linear-gradient(45deg, transparent 50%, blue 50%),
    linear-gradient(135deg, blue 50%, transparent 50%),
    linear-gradient(to right, skyblue, skyblue);
  background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px), 100% 0;
  background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
  background-repeat: no-repeat;
}
select.classic:focus {
  background-image: linear-gradient(45deg, white 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, white 50%),
    linear-gradient(to right, gray, gray);
  background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, 100% 0;
  background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
  background-repeat: no-repeat;
  border-color: grey;
  outline: 0;
}
.item-image {
  position: relative;
  overflow: hidden;
  padding-bottom: 50%;
}
.item-image img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.item-content {
  padding: 15px;
  background: #72cffa;
}
.item-text {
  position: relative;
  overflow: hidden;
  height: 100px;
}
#main {
  margin-top: 2.5em;
}
#tiles {
  list-style-type: none;
  position: relative;
  margin: 0;
  padding: 0;
}
#tiles li:hover img {
  opacity: 0.8;
}
#tiles li {
  width: 280px;
  background-color: #fff;
  border: 1px solid #dedede;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  display: none;
  cursor: pointer;
  border-radius: 0.2em;
}
#tiles li img {
  border-top-left-radius: 0.2em;
  border-top-right-radius: 0.2em;
}
#tiles li.inactive {
  visibility: hidden;
  opacity: 0;
}
#tiles li img {
  display: block;
}
footer {
  text-align: center;
}
footer a {
  color: #435dc5;
  text-decoration: none;
}
.progress-bar {
  background-color: #0bc20b;
  height: 2px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 0;
  box-shadow: 0 1px 3px rgba(11, 194, 11, 0.2);
  -webkit-transition: width 0.3s ease-out;
  -moz-transition: width 0.3s ease-out;
  -o-transition: width 0.3s ease-out;
  transition: width 0.3s ease-out;
}
.wookmark-placeholder {
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  background-color: #eee;
  border: 1px solid #dedede;
  z-index: -1;
}
.example-tiles {
  position: relative;
  margin: 0;
  padding: 0;
}
.example-tiles li {
  display: block;
  list-style-type: none;
  float: left;
  margin: 5px;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.example-tiles a,
.example-tiles a:hover {
  color: #555;
  background-color: #eee;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  width: 200px;
  height: 200px;
  font-size: 2em;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #ddd;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  padding: 5px 8px;
  border-radius: 3px;
}
.example-tiles a:hover {
  background-color: #ddd;
}
@media only screen and (max-width: 640px) and (min-width: 480px) {
  #main {
    margin-top: 2.5em;
  }
}
@media only screen and (max-width: 480px) and (min-width: 320px) {
  #main {
    margin-top: 2.5em;
  }
}
@media only screen and (max-width: 320px) and (min-width: 240px) {
  #main {
    margin-top: 2em;
  }
  #tiles li {
    width: 266px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f5f7fb;
  color: #333;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 95%;
  max-width: 1400px;
  margin: auto;
}
.hero {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  margin: 30px 0;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
.hero h1 {
  font-size: 38px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}
.hero p {
  max-width: 700px;
  margin: auto;
  color: #666;
  font-size: 17px;
  margin-bottom: 30px;
}
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.search-form select {
  min-width: 220px;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
}
.search-form button {
  padding: 14px 30px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}
.search-form button:hover {
  background: #1fa855;
}
.section-title {
  margin: 40px 0 25px;
}
.section-title h2 {
  font-size: 30px;
  color: #222;
  margin-bottom: 8px;
}
.section-title p {
  color: #777;
}
#results {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.load-more-wrap {
  text-align: center;
  margin: 40px 0;
}
.load-more {
  background: #25d366;
  color: #fff;
  border: none;
  padding: 15px 35px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}
.load-more:hover {
  background: #1fa855;
}
.loader {
  text-align: center;
  margin: 30px 0;
}
.loader img {
  width: 45px;
}
.alert {
  padding: 16px;
  border-radius: 8px;
  margin: 20px 0;
}
.success {
  background: #dff7e4;
  color: #10793f;
}
.error {
  background: #ffe5e5;
  color: #c62828;
}
.end-message {
  text-align: center;
  color: #888;
  font-size: 18px;
  padding: 30px;
}
@media (max-width: 1200px) {
  #results {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 25px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 15px;
  }
  .search-form {
    flex-direction: column;
  }
  .search-form select,
  .search-form button {
    width: 100%;
  }
  #results {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .section-title h2 {
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .hero {
    padding: 20px;
  }
  .hero h1 {
    font-size: 24px;
  }
  #results {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.group-card{
    background:#fff;
    border-radius:10px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    display:flex;
    flex-direction:column;
    overflow:hidden;
    transition:.3s;
    height:100%;
}
.group-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
/* Desktop */
.group-image{
    height:180px;
    padding:8px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.group-thumb{
    width:170px;
    height:170px;
    object-fit:cover;
    border-radius:14px;
}

/* Tablet */
@media (max-width:992px){
    .group-image{
        height:150px;
    }

    .group-thumb{
        width:140px;
        height:140px;
    }
}

/* Mobile */
@media (max-width:768px){
    .group-image{
        height:110px;
        padding:5px;
    }

    .group-thumb{
        width:95px;
        height:95px;
    }
}
.group-content{
    padding:0 12px 10px;
    flex:1;
    display:flex;
    flex-direction:column;
}
.group-title{
    font-size:17px;
    line-height:1.3;
    min-height:42px;
    margin-bottom:8px;
}
.group-title a {
  color: #222;
}
.group-meta{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:4px;
    margin-bottom:8px;
}
.badge{
    display:flex;
    align-items:center;
    gap:4px;
    background:#f4f4f4;
     padding:2px 7px;
    border-radius:10px;
    font-size:11px;
    line-height:1.2;
}

.badge img{
    width:10px;
    height:10px;
}
.group-description {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.group-tags {
  margin-top: auto;
}
.group-tags a{
    display:inline-block;
    padding:2px 6px;
    background:blue;
    border-radius:8px;
    margin:2px;
    font-size:12px;
    line-height:1.3;
}
.group-footer{
    padding:10px 12px;
    border-top:1px solid #eee;
}
.join-button {
  display: block;
  background: #25d366;
  color: #fff;
  padding: 9px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 13px;
  margin-bottom:8px;
}
.share-buttons {
  text-align: center;
}
.share-buttons a {
  margin: 0 3px;
  display: inline-block;
}

.share-buttons img{
    width:22px;
    height:22px;
}
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  gap: 25px;
}
.logo img {
  height: 60px;
}
.header-search {
  display: flex;
  flex: 1;
  max-width: 700px;
}
.header-search input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 8px 0 0 8px;
  font-size: 15px;
  outline: none;
}
.header-search button {
  background: #25d366;
  color: #fff;
  border: none;
  padding: 0 30px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-weight: bold;
}
.main-nav {
  border-top: 1px solid #eee;
}
.main-nav .container {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 14px 0;
}
.main-nav a {
  color: #444;
  font-weight: 600;
}
.main-nav a:hover {
  color: #25d366;
}
.add-group {
  margin-left: auto;
  background: #25d366;
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff !important;
}
.top-search {
  margin: 30px auto;
  max-width: 1200px;
}
.search-box {
  display: flex;
  border: 2px solid #25d366;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.search-box input {
  flex: 1;
  padding: 16px 20px;
  font-size: 16px;
  border: none;
  outline: none;
}
.search-box button {
  width: 170px;
  background: #25d366;
  border: none;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}
.search-filter {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.search-filter select {
  flex: 1;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
}
@media (max-width: 768px) {
  .search-box {
    flex-direction: column;
  }
  .search-box button {
    width: 100%;
    height: 50px;
  }
  .search-filter {
    flex-direction: column;
  }
}
.site-header{
    background:#fff;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.header-top{
    max-width:1400px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:20px;
    padding:12px 20px;
}

.logo img{
    height:55px;
}

.header-search{
    flex:1;
}

.header-search form{
    display:flex;
}

.header-search input{
    flex:1;
    height:46px;
    border:1px solid #ddd;
    border-radius:8px 0 0 8px;
    padding:0 15px;
    font-size:15px;
}

.header-search button{
    width:120px;
    border:none;
    background:#25D366;
    color:#fff;
    border-radius:0 8px 8px 0;
    cursor:pointer;
}

.add-group-btn{
    background:#25D366;
    color:#fff;
    padding:12px 18px;
    border-radius:8px;
    font-weight:600;
}

.main-menu{
    display:flex;
    justify-content:center;
    gap:35px;
    border-top:1px solid #eee;
    padding:12px 0;
    background:#fff;
}

.main-menu a{
    color:#555;
    font-weight:600;
}

.main-menu a:hover{
    color:#25D366;
}

@media(max-width:768px){

    .header-top{
        flex-wrap:wrap;
    }

    .logo{
        width:100%;
        text-align:center;
    }

    .header-search{
        width:100%;
    }

    .add-group-btn{
        width:100%;
        text-align:center;
    }

    .main-menu{
        overflow:auto;
        justify-content:flex-start;
        padding:12px;
    }

}

.group-hero{
    background:#fff;
    border-radius:18px;
    padding:3px;
    margin:20px auto;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.group-image-wrap{
    margin-bottom:20px;
}

.proimg{
    width:180px;
    height:180px;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 8px 25px rgba(0,0,0,.12);
}

.group-name{
    font-size:32px;
    font-weight:700;
    color:#222;
    margin-bottom:20px;
    line-height:1.3;
}

.group-meta{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:25px;
}

.meta-badge{
    display:flex;
    align-items:center;
    gap:6px;
    background:#f5f5f5;
    padding:7px 14px;
    border-radius:30px;
    color:#555;
    font-size:14px;
}

.meta-badge img{
    width:16px;
    height:16px;
}

.group-description{
    max-width:850px;
    margin:0 auto 5px;
    font-size:16px;
    line-height:1.8;
    color:#555;
}

.group-tags{
    margin-bottom:25px;
}

.group-tags a{
    display:inline-block;
    margin:4px;
    padding:5px 12px;
    background:#f2f2f2;
    border-radius:20px;
    font-size:13px;
    color:#444;
}

.group-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:25px;
}

.join-btn{
    background:#25D366;
    color:#fff;
    padding:15px 35px;
    border-radius:8px;
    font-size:17px;
    font-weight:600;
}

.share-btn{
    background:#333;
    color:#fff;
    padding:15px 35px;
    border-radius:8px;
    font-size:17px;
    font-weight:600;
}

.social-share{
    display:flex;
    justify-content:center;
    gap:15px;
}

.social-share img{
    width:42px;
    height:42px;
    border-radius:50%;
    transition:.3s;
}

.social-share img:hover{
    transform:scale(1.1);
}

@media(max-width:768px){

.group-hero{
    padding:20px;
}

.proimg{
    width:130px;
    height:130px;
}

.group-name{
    font-size:24px;
}

.group-description{
    font-size:15px;
}

.join-btn,
.share-btn{
    width:100%;
}

}

.group-image-wrap{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    margin:10px 0;
}

.proimg{
    display:block;
    width:180px;
    height:180px;
    object-fit:cover;
    border-radius:16px;
}
.description-card{
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:10px;
    padding:5px;
    margin:5px 0;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.description-card h2,
.tags-section h2{
    font-size:22px;
    color:#222;
    margin-bottom:15px;
    font-weight:600;
}

.group-description{
    font-size:15px;
    line-height:1.8;
    color:#555;
}

.tags-section{
    margin-top:5px;
}

.group-tags a{
    display:inline-block;
    padding:6px 14px;
    margin:4px;
    background:#6EC6F7;
    color:#fff;
    border-radius:20px;
    font-size:13px;
}

.header{
    background:#fff;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 12px rgba(0,0,0,.08);
}

.header-wrap{

    max-width:1400px;

    margin:auto;

    display:flex;

    align-items:center;

    gap:25px;

    padding:14px 20px;

}

.logo{

    flex:0 0 170px;

}

.logo img{

    height:54px;

    display:block;

}

.search-area{

    flex:1;

}

.search-area form{

    display:flex;

    align-items:center;

}

.search-area input{

    width:100%;

    height:48px;

    border:1px solid #ddd;

    border-right:none;

    border-radius:30px 0 0 30px;

    padding:0 22px;

    font-size:16px;

    outline:none;

}

.search-area input:focus{

    border-color:#25D366;

}

.search-area button{

    width:60px;

    height:48px;

    border:none;

    background:#25D366;

    border-radius:0 30px 30px 0;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

}

.menu-btn{

    width:46px;

    height:46px;

}

.menu-btn a{

    width:46px;

    height:46px;

    border-radius:10px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:5px;

    background:#f5f5f5;

}

.menu-btn span{

    width:22px;

    height:2px;

    background:#444;

    display:block;

}

@media(max-width:768px){

.header-wrap{

    flex-wrap:wrap;

    gap:15px;

}

.logo{

    flex:1;

}

.menu-btn{

    margin-left:auto;

}

.search-area{

    width:100%;

    flex:0 0 100%;

}

.search-area input{

    height:44px;

    font-size:15px;

}

.search-area button{

    height:44px;

}

}

/* ===========================
   GROUPSOR MODERN HEADER
=========================== */

.gs-header{
    position:sticky;
    top:0;
    z-index:999;
    background:#ffffff;
    box-shadow:0 5px 25px rgba(0,0,0,.08);
    border-bottom:1px solid #edf1f5;
}

.gs-container{

    max-width:1400px;

    margin:auto;

    display:flex;

    align-items:center;

    gap:30px;

    padding:18px 25px;

}

.gs-logo{

    flex:0 0 220px;

}

.gs-logo img{

    width:auto;

    height:58px;

    display:block;

}

/*=============================
SEARCH
==============================*/

.gs-search{

    flex:1;

}

.gs-search form{

    display:flex;

    align-items:center;

}

.gs-search input{

    width:100%;

    height:58px;

    padding:0 25px;

    border:2px solid #dce8df;

    border-right:none;

    border-radius:40px 0 0 40px;

    outline:none;

    font-size:18px;

    background:#fff;

    transition:.3s;

}

.gs-search input:focus{

    border-color:#25D366;

    box-shadow:0 0 15px rgba(37,211,102,.15);

}

.gs-search button{

    width:72px;

    height:58px;

    border:none;

    background:#25D366;

    color:#fff;

    cursor:pointer;

    border-radius:0 40px 40px 0;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.3s;

}

.gs-search button:hover{

    background:#18b957;

}

.gs-search svg{

    width:24px;

    height:24px;

}

/*=============================
MENU BUTTON
==============================*/

.gs-menu{

    flex:0 0 70px;

    display:flex;

  

}

.gs-menu a{

    width:58px;

    height:58px;

    background:#f3fbf5;

    border:1px solid #dbeedd;

    border-radius:18px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:5px;

    transition:.3s;

}

.gs-menu a:hover{

    background:#25D366;

    box-shadow:0 10px 25px rgba(37,211,102,.25);

}

.gs-menu span{

    width:24px;

    height:3px;

    background:#25D366;

    border-radius:20px;

    transition:.3s;

}

.gs-menu a:hover span{

    background:#fff;

}

/*=============================
RESPONSIVE
==============================*/

@media(max-width:992px){

.gs-container{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:12px;

    padding:15px;

}

/* First Row */

.gs-logo{

    flex:1;

}

.gs-logo img{

    height:42px;

}

/* Menu on top-right */

.gs-menu{

    flex:0 0 auto;

    margin-left:auto;

}

/* Second Row */

.gs-search{

    width:100%;

    flex:0 0 100%;

    order:3;

}

.gs-search form{

    width:100%;

    display:flex;

}

.gs-search input{

    width:100%;

    height:46px;

    font-size:15px;

}

.gs-search button{

    width:55px;

    height:46px;

}

}

@media (max-width:768px){

.gs-container{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:12px;

    padding:15px;

}

/* First Row */

.gs-logo{

    flex:1;

}

.gs-logo img{

    height:42px;

}

/* Menu on top-right */

.gs-menu{

    flex:0 0 auto;

    margin-left:auto;

}

/* Second Row */

.gs-search{

    width:100%;

    flex:0 0 100%;

    order:3;

}

.gs-search form{

    width:100%;

    display:flex;

}

.gs-search input{

    width:100%;

    height:46px;

    font-size:15px;

}

.gs-search button{

    width:55px;

    height:46px;

}

}
#box{

    position:fixed;

    top:0;

    right:-350px;

    width:320px;

    height:100vh;

    background:#fff;

    z-index:9999;

    display:none;

    box-shadow:-5px 0 30px rgba(0,0,0,.15);

    overflow-y:auto;

}

.box_content{

    padding:30px;

}

.menu_box_list ul{

    margin:0;

    padding:0;

    list-style:none;

}

.menu_box_list li{

    margin:0;

    border-bottom:1px solid #eee;

}

.menu_box_list li a{

    display:block;

    padding:18px 5px;

    color:#444;

    font-size:16px;

    font-weight:600;

    text-decoration:none;

    transition:.3s;

}

.menu_box_list li a:hover{

    color:#25D366;

    padding-left:15px;

}

#boxclose{

    position:absolute;

    top:18px;

    right:20px;

    width:36px;

    height:36px;

    border-radius:50%;

    background:#f3f3f3;

    cursor:pointer;

}

#boxclose:before{

    content:"✕";

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;

    height:100%;

    font-size:18px;

    color:#444;

}