.introWrapper {
  background-image: url("/cisiweb2/image/events/pf.jpg");
  background-position: center center;
}
.types {
  margin-bottom: 30px !important;
}

.forumBlocks .col-sm-4 > div {
  text-align: center;
  padding: 20px;
  color: #fff;
  background: #2d8383;
  margin-bottom: 30px;
}
/*
.forumBlocks .col-sm-4.operations > div {
	background: #ff3128;
}
.forumBlocks .col-sm-4.cf > div {
	background:#233e8b;
}
.forumBlocks .col-sm-4.wealth > div {
	background:#8a2842;
}
.forumBlocks .col-sm-4.ifp > div,
.forumBlocks .col-sm-4.para > div {
	background:#20c4ce;
}
.forumBlocks .col-sm-4.compliance > div,
.forumBlocks .col-sm-4.risk > div {
	background: #4f499d;
}*/

.forumBlocks .col-sm-4 > div > h3 {
  margin-top: 0px;
  color: #fff;
}
.forumBlocks .col-sm-4 > div > a {
  color: #fff;
}
.forumBlocks .col-sm-4 > div > a:hover {
  color: #fff;
  text-decoration: underline;
}

/* forum content new */
/* --- Features Section (UPDATED) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 45px;
  text-align: center; /* Center align content within cards */
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
  margin-top: 30px;
}

.feature-card {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-top: 4px solid #dee2e6; /* Accent border on top */
  border-radius: 8px;
  padding: 30px 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    border-top-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* The icon itself */
.feature-card .icon {
  font-size: 3rem; /* Make icon large */
  color: #0b8383; /* Muted default color */
  transition: color 0.3s ease;
}

/* Enhanced hover effect */
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-top-color: #0b8383; /* Change border color on hover */
}

/* Change icon color on card hover */
.feature-card:hover .icon {
  color: #0b8383; /* Change icon to brand color on hover */
}

/* --- Call to Action (CTA) Section --- */
.cta-section {
  background: linear-gradient(45deg, #0b8383, #086a6a);
  color: #ffffff;
  border-radius: 20px;
  padding: 50px 40px;
  margin-top: 80px;
  text-align: center;
}

.cta-section h2 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 35px !important;
  font-weight: 600;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background-color: #ffffff;
  color: #0b8383;
  padding: 15px 35px;
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  margin-top: 25px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- Forum List Section --- */
.forum-list {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  /* gap: 15px; */
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}
li.forum-item {
  margin: 8px 6px;
}
.forum-item a {
  display: inline-block;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  color: #0b8383;
  background-color: #f0f7f7;
  border: 1px solid #7ba7a7;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.forum-item a:hover {
  /* --- New Hover Effect --- */
  background-color: #086a6a; /* Darken background on hover */
  color: #ffffff; /* Keep text white */
  border-color: #065353;
  transform: translateY(-3px); /* Lift button up slightly */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Increase shadow on hover */
}

#why-join {
  margin-top: 50px;
}
.feature-card .iconBg {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: #eef8f8;
  display: flex;
  justify-content: center;
  align-items: center;
}
.feature-card .iconBg .icon {
  font-size: 5rem;
  width: unset !important;
}
#explore-forums {
  margin-top: 75px;
}
.feature-card h3{
	font-size: 23px;
}
.feature-card p{
	font-size: 18px;
}

/* ...... */
 /* Main Container */
        .forum-section {
           
        }

        /* Heading Style */
        .section-title {
            font-size: 2.25rem;
            font-weight: 300;
            color: #006A6A;
            margin-bottom: 1.5rem;
            text-align: left;
        }

        /* Forum Navigation Buttons Container */
        .forum-nav {
            display: flex;
            flex-wrap: wrap;
           
        }
        
        /* Individual Button Style */
        .forum-tab-button {
            padding: 10px 22px;
            border: 1px solid #B2DFDB;
            border-radius: 9999px;
            background-color: #F0F9F9;
            color: #006A6A;
            font-family: 'Poppins', sans-serif;
            font-size: 15px;
            font-weight: 400;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
            margin: 8px 6px;
        }

        .forum-tab-button:hover {
            background-color: #E0F2F1;
            border-color: #4DB6AC;
        }

        /* Active Button Style */
        .forum-tab-button.active {
            background-color: #006A6A;
            color: #ffffff;
            border-color: #006A6A;
            font-weight: 600;
        }

        /* --- NEW: Style for the dynamic forum title --- */
        .forum-title {
            font-size: 28px;
            font-weight: 600;
            color: #004D40; /* A darker teal for prominence */
            margin-bottom: 12px;
        }

        /* Dynamic Content Panel Styling */
        .forum-content-panel {
            display: none;
            animation: fadeIn 0.5s ease-in-out;
            border-top: 1px solid #e2e8f0;
            padding-top: 2rem;
        }

        .forum-content-panel.active {
            display: block;
        }
        
        .forum-description {
            font-size: 18px;
            color: #4a5568;
            margin-bottom: 2.5rem;
            line-height: 1.6;
            /* max-width: 800px; */
        }

        /* Profile Grid Layout */
        .profile-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 24px;
        }
        
        .leadership-grid {
            margin-bottom: 40px;
            padding-bottom: 40px;
            border-bottom: 1px solid #e2e8f0;
        }

        /* Individual Profile Card Style */
        .membprofile-card {
            background-color: #ffffff;
            border-radius: 8px;
            padding: 24px;
            text-align: center;
            border: 1px solid #e2e8f0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .membprofile-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
        }
        
        .leadership-grid .membprofile-card {
            border: 1px solid #B2DFDB;
        }

        .membprofile-card img {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            margin: 0 auto 1rem;
            object-fit: cover;
            border: 3px solid #E0F2F1;
        }

        .profile-name {
            font-weight: 600;
            font-size: 18px;
            color: #1a202c;
            margin: 0;
        }

        .profile-title {
            font-size: 14px;
            color: #718096;
            margin: 4px 0 0;
        }

        /* --- NEW: Hide the title when it's empty on page load --- */
        #current-forum-title:empty {
            display: none;
        }
        
        /* Fade-in Animation */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .profile-role {
    color: #0b7a83;
    border-bottom: 2px solid #dbeafe;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 16px 0;

  }
  .profile-role {
    letter-spacing: 0.64px;
    padding-bottom: 8px;
}