/* ==========================================================================
   InfoSectionList3 ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ Fan Slider (top 5) + Gallery Slider (next 5) + Cards
   Extracted from demo/assets/css/style.css (Tourm template)
   ========================================================================== */

/* ---- CSS Custom Properties ---- */
.isl3-section {
    --isl3-theme:  #099e69;
    --isl3-title:  #113D48;
    --isl3-body:   #6E7070;
    --isl3-smoke:  #E9F6F9;
    --isl3-white:  #ffffff;
    --isl3-gray:   #E1E4E5;
    --isl3-bg:     #eaf1e8;
    background: var(--isl3-bg);
}

.isl3-group-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--isl3-title);
    margin: 8px 0 18px;
    position: relative;
    padding-left: 14px;
    line-height: 1.3;
}

.isl3-group-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: var(--isl3-theme);
}

/* =====================================================================
   SLIDER SECTION  ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ  category-card.single fan animation
   ===================================================================== */
.isl3-category-wrap {
    padding: 60px 0 120px;
    overflow: visible;
    position: relative;
    z-index: 2;
}

/* Swiper needs overflow visible for card shadows/spacing */
.isl3-categorySlider,
.isl3-categorySlider2 {
    overflow: visible !important;
    width: 100%;
}

.isl3-categorySlider .swiper-wrapper,
.isl3-categorySlider2 .swiper-wrapper {
    align-items: stretch;
}

/* ---- category-card base ---- */
.category-card {
    position: relative;
    text-align: center;
    margin-bottom: 10px;
}

.category-card .box-img {
    border-radius: 24px;
    margin-bottom: 18px;
    overflow: hidden;
}

.category-card .box-img img {
    border-radius: 24px;
    transition: 1.3s all ease;
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.category-card:hover .box-img img {
    transform: scale(1.08);
}

.category-card .box-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--isl3-title);
    margin-bottom: 6px;
    line-height: 1.4;
}

.category-card .box-title a {
    color: inherit;
    text-decoration: none;
}

.category-card .box-title a:hover {
    color: var(--isl3-theme);
}

.category-card .team-content {
  /*  padding: 0 8px 8px;
    padding: 0 8px 8px; */
}

.category-card .media-body {
    background: #fff;
    border-radius: 12px;
    border-top: 4px solid var(--isl3-theme);
    padding: 14px 14px 12px;
    height: 150px;
    overflow: hidden;
}

.category-card .team-desig {
    font-size: 15px;
    font-weight: 400;
    color: #3b3b3b;
    display: block;
    margin-bottom: 4px;
    line-height: 1.35;
}

.category-card .isl3-spec {
    font-size: 16px;
    color: var(--isl3-body);
    margin: 0;
    line-height: 1.35;
}

.category-card .line-btn::before {
    display: none;
}

.category-card .line-btn {
    color: var(--isl3-body);
    text-transform: capitalize;
}

/* ---- global-img ---- */
.global-img {
    position: relative;
    overflow: hidden;
    transition: all .5s ease-out;
}

.global-img img {
    width: 100%;
    object-fit: cover;
    transition: 1.3s all ease;
}

.global-img::after {
    background: rgba(255, 255, 255, 0.5);
    content: "";
    height: 0;
    left: 0;
    opacity: 1;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9;
}

.global-img:hover::after {
    height: 100%;
    opacity: 0;
    transition: all .4s linear;
}

/* ---- line-btn ---- */
.isl3-section .line-btn {
    font-size: 14px;
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
    text-transform: uppercase;
    color: var(--isl3-theme);
    text-decoration: none;
    display: inline-block;
}

.isl3-section .line-btn::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: var(--isl3-theme);
    transition: all ease 0.4s;
}

.isl3-section .line-btn:hover {
    color: var(--isl3-title);
}

.isl3-section .line-btn:hover::before {
    background-color: var(--isl3-title);
    width: 45px;
}

/* ---- Swiper pagination ---- */
.isl3-pagination {
    position: relative;
    text-align: center;
    margin-top: 28px;
    z-index: 99;
}

.isl3-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--isl3-gray);
    opacity: 1;
    margin: 0 4px;
    border-radius: 50%;
    transition: all 0.3s;
}

.isl3-pagination .swiper-pagination-bullet-active {
    background: var(--isl3-theme);
    width: 24px;
    border-radius: 5px;
}

/* =====================================================================
   TEAM GRID CARDS  ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ  remaining items
   ===================================================================== */
.isl3-cards-section {
    padding: 20px 0 60px;
    position: relative;
    z-index: 1;
}

.th-team {
    position: relative;
}

.team-grid {
    background-color: #0cae7424;
    text-align: center;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    transition: box-shadow 0.3s;
}

.team-grid:hover {
    box-shadow: 0 8px 32px rgba(28, 168, 203, 0.18);
}

.team-grid .team-img {
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    position: relative;
}

.team-grid .team-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 1.3s ease;
    display: block;
        object-fit: scale-down;
}

.team-grid .team-content {
    position: relative;
    padding: 12px 12px 16px;
    z-index: 2;
}

.team-grid .media-body {
    position: relative;
    border-radius: 12px;
    background-color: #fff;
    padding: 16px 16px 14px;
    height: 150px;
    transition: all 0.5s ease;
    z-index: 2;
    overflow: hidden;
}

.team-grid .media-body::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 0;
    background-color: var(--isl3-theme);
    z-index: -1;
    transition: all 0.4s ease-in-out;
}

.team-grid .box-title {
    color: var(--isl3-title);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}

.team-grid .box-title a {
    color: inherit;
    text-decoration: none;
}

.team-grid .box-title a:hover {
    color: var(--isl3-theme);
}

.team-grid .team-desig {
    font-size: 16px;
    font-weight: 400;
    display: block;
    margin-bottom: 4px;
    color: var(--isl3-body);
    transition: color 0.3s;
}

.team-grid .isl3-spec {
    font-size: 16px;
    color: var(--isl3-body);
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.team-grid:hover .team-img img    { transform: scale(1.08); }
.team-grid:hover .media-body::before { height: 100%; }
.team-grid:hover .box-title       { color: var(--isl3-white); }
.team-grid:hover .box-title a:hover { color: rgba(255,255,255,0.8); }
.team-grid:hover .team-desig      { color: rgba(255,255,255,0.85); }
.team-grid:hover .isl3-spec       { color: rgba(255,255,255,0.75); }

/* =====================================================================
   SIDEBAR
   ===================================================================== */
.isl3-sidebar .widget {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.isl3-sidebar .form-group {
    position: relative;
    margin-bottom: 12px;
}

.isl3-sidebar .form-group input[type="text"] {
    width: 100%;
    border: 1px solid var(--isl3-gray);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.isl3-sidebar .form-group input[type="text"]:focus {
    border-color: var(--isl3-theme);
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 767px) {
    .isl3-group-title { font-size: 22px; margin: 4px 0 14px; }
    .isl3-category-wrap        { padding: 40px 0 90px; }
    .category-card .box-img img { height: 220px; }
    .team-grid .team-img img   { height: 180px; }
}

@media (max-width: 575px) {
    .category-card .box-img img { height: 200px; }
}