@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

.btn-preview {
  background-color: #f3f5f8;
  color: #1384cf;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 600;
  border: none;
  max-width: 70px;
  min-width: 70px;
  text-align: center;
}

.btn-preview:hover {
  color: #1384cf;
  background-color: #e9ebee;
}

.btn-preview:focus-visible {
  color: #1384cf;
  background-color: #e9ebee;
}

/* ========================== */
/* Section */
/* ========================== */
section {
  margin-top: 15px;
  padding-top: 15px;
  position: relative;
}

section:not(:first-of-type)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #343a40;
  font-size: 12px;
  position: relative;
  /* margin-bottom: 15px; */
}

.main-container {
  /* max-width: 400px; */
  margin: 0 -2px;
  background-color: #2a3276;
}

.corner-images img {
  margin-top: -39px;
}

/* ========================== */
/* Header Section */
/* ========================== */
.header-section {
  background-color: var(--primary-color, #2a3276);
  color: #fff;
  padding-top: 50px !important;
  padding-bottom: 100px !important;
  position: sticky;
  top: 0;
  left: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  transition: background 0.3s ease;
}

.header-logo-container {
  /* padding: 22px; */
  /* background-color: #fff; */
  border-radius: 50%;
  display: inline-block;
  align-items: center;
  justify-content: center;
}

.header-logo {
  width: 90px;
  object-fit: contain;
}

.header-section h5 {
  font-size: 20px;
  color: #fff;
}

.header-section p {
  color: #fff;
}

.body-section {
  background: #fff;
  position: relative;
  z-index: 10;
  padding-bottom: 20px;
}

/* ========================== */
/* Individual Header Section */
/* ========================== */
.indi-header-section {
  background-color: #2a3276;
  color: #fff;
  padding-top: 50px !important;
  padding-bottom: 20px !important;
  position: fixed;
  top: 0;
  left: 0;
  left: 0;
  height: 200px;
  width: 100%;
  z-index: 1;
  transition: background 0.3s ease;
  background-image: url("../images/bg-1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.indi-body-section {
  background: #fff;
  position: relative;
  z-index: 10;
  margin-top: 200px;
  padding-bottom: 150px;
}

/* ========================== */
/* Profile Section */
/* ========================== */

.profile-section {
  margin-top: 50px;
  position: relative;
  z-index: 10;
  background-color: transparent;
}

.profile-pic {
  width: 100px;
  height: 100px;
}

.profile-section h4 {
  font-size: 24px;
  font-weight: bold;
  color: #343a40;
  margin-top: 10px;
}

.profile-section p {
  color: #6c757d;
}

/* ========================== */
/* Individual Profile Section */
/* ========================== */

.indi-profile-section {
  margin-top: 50px;
  position: relative;
  z-index: 10;
  background-color: transparent;
}

.indi-profile-pic {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translate(-50%);
  width: 90px;
  border: 3px solid #fff;
  padding: 20px;
  aspect-ratio: 1 / 1;
}

.indi-profile-section h4 {
  font-size: 16px;
  font-weight: bold;
  color: #343a40;
}

.indi-profile-section p {
  color: #212529bf;
  font-size: 14px;
}

/* ========================== */
/* About Section */
/* ========================== */
.about-section {
  margin-top: 20px;
  padding-top: 0px;
}

.about-section p {
  font-size: 10px;
  line-height: 20px;
  font-weight: 300;
  color: #898989;
  padding: 10px 0px;
}

.details-section {
  position: relative;
  z-index: 10;
  background: #fff;
  max-width: 720px;
  padding: 0 15px;
}

.detail-text {
  font-size: 12px;
}

.list-group-item {
  border: none !important;
  padding-left: 0;
  padding-right: 0;
  background-color: transparent;
  font-size: 0.95rem;
  color: #303030;
  padding-top: 10px;
  padding-bottom: 10px;
}

.list-group-item:first-child {
  border-top: none;
}

.list-group-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.contact-icon {
  color: #000;
  margin-right: 10px;
}

.website-link {
  color: #1384cf;
  font-size: 12px;
}

.website-link:hover {
  color: #1176b9;
}

.website-link:focus-visible {
  color: #1176b9;
}

.departments-wrapper {
  position: relative;
  overflow: hidden;
}

/* ========================== */
/* Team Section */
/* ========================== */
.departments {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  padding: 10px 0px;
  -webkit-overflow-scrolling: touch;
}

.departments::-webkit-scrollbar {
  display: none;
}

.departments {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.department-item {
  flex: 0 0 auto;
  font-size: 14px;
  color: #fff;
  background: #2a3276;
  padding: 10px 20px;
  border-radius: 50px;
  /* min-width: 150px; */
  cursor: pointer;
  transition: background 0.3s ease;
}

.department-item.active,
.department-item:hover {
  background: #696f9f;
  color: #fff;
}

.department-item span {
  color: #fff;
}

.team-avatars {
  gap: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0px;
}

.team-member {
  flex-shrink: 0;
}

.team-avatar {
  width: 60px;
  height: 60px;
  object-fit: cover;
  /* border: 2px solid #fff; */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-avatars::-webkit-scrollbar {
  display: none;
}

.team-avatars {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.department-details {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  padding: 50px 30px 150px 30px;
  overflow-y: auto;
  z-index: 1000;
}

.department-details.active {
  right: 0;
  /* slides in */
}

.details-header {
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}

.details-body {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

#close-details {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #555;
}

.filter-bar {
  gap: 10px;
}

.search-input {
  flex: 1;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 50px;
}

.filter-btn {
  background: #2a3276;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.filter-btn:hover {
  background: #1e2560;
}

.accounts-list {
  margin-top: 15px;
}

.account-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 50px;
  margin-bottom: 10px;
  transition: background 0.3s;
  background: #fff;
}

.account-item:hover {
  background: #f9f9ff;
}

.account-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.account-info p {
  line-height: 1.2;
}

.placeholder-text {
  color: #888;
  text-align: center;
  margin-top: 20px;
}

.search-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 50px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: #2a3276;
  box-shadow: 0 0 5px rgba(42, 50, 118, 0.2);
}

/* ========================== */
/* Social Media Section */
/* ========================== */
.social-icons {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0px;
}

.social-icons::-webkit-scrollbar {
  display: none;
}

.social-icons .fa-brands {
  text-decoration: none;
  font-size: 15px;
  width: 40px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s, color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons a {
  text-decoration: none;
}

.fa-facebook-f {
  background: #1977f2;
  color: white;
}

.fa-x-twitter {
  background: #010100;
  color: white;
}

.fa-instagram {
  background: #833ab4;
  background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
  color: white;
}

.fa-linkedin-in {
  background: #0077b5;
  color: white;
}

.fa-reddit-alien {
  background: #ff4500;
  color: white;
}

.fa-behance {
  background: #2f6efe;
  color: white;
}

.fa-dribbble {
  background: #ed508d;
  color: white;
}

.fa-figma {
  background: #010100;
  color: white;
}

.fa-webflow {
  background: #2a6aef;
  color: white;
}

/* ========================== */
/* Custom Scrollbar */
/* ========================== */
.custom-scroll::-webkit-scrollbar {
  height: 3px;
  width: 10px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: #c6c6c6;
  border-radius: 50px;
}

.custom-scroll::-webkit-scrollbar-thumb {
  background: #5e5e5e;
  border-radius: 50px;
  transition: background-color 0.2s;
  cursor: pointer;
  width: 3px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: #000000;
}

.custom-scroll {
  /* scrollbar-color: #1384cf #f3f5f8; */
  scrollbar-width: initial;
  overflow-x: scroll;
  overflow-y: hidden;
}

/* ========================== */
/* Bottom Nav Bar */
/* ========================== */
.bottom-navbar {
  background-color: var(--primary-color, #2a3276);
  /* max-width: 500px; */
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 50px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  padding: 8px !important;
  max-width: 364px;
  position: sticky;
  z-index: 9999;
}

.bottom-navbar .container {
  padding: 0 !important;
}

.btn-contact {
  background-color: #fff;
  color: #343a40;
  font-weight: 600;
  border-radius: 40px;
  padding: 10px 10px;
  font-size: 9px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: none;
  line-height: 1;
  max-width: 175px;
}

.btn-contact:hover {
  background-color: #f1f1f1;
  color: #343a40;
}

.btn-contact:focus-visible {
  background-color: #f1f1f1;
  color: #343a40;
}

.icon-circle {
  width: 35px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--button-bg-color, rgba(0, 0, 0, 0.25));
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
}

.icon-circle:hover {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
}

/* ========================== */
/* The main device container */

.phone-card-body {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: auto;
}

.phone-frame {
  width: 276px;
  height: 560px;

  background-color: #222;
  border-radius: 40px;
  padding: 10px;
  position: relative;

}

.phone-frame::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid #111;
  border-radius: 38px;
  pointer-events: none;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.main-content-wrapper {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  overflow-x: hidden;
  align-items: center;
}

.phone-notch {
  position: absolute;
  top: -1;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  background-color: #222;
  border-radius: 0 0 10px 10px;
  z-index: 100;
}

.phone-speaker {
  width: 40px;
  height: 6px;
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
  background: linear-gradient(to bottom, #111 0%, #000 60%, #0a0a0a 100%);
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.04),
    inset 0 -3px 4px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: visible;
}

.phone-speaker::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 1px;
  height: 1px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.phone-camera {
  width: 12px;
  height: 12px;
  position: absolute;
  top: 4px;
  left: 80%;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 6%, rgba(0, 0, 0, 0.35) 30%, transparent 60%),
    radial-gradient(circle at 60% 60%, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.9) 70%),
    #000;
  box-shadow:
    inset 0 -2px 3px rgba(0, 0, 0, 0.7),
    inset 0 1px 1px rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: visible;
}

.phone-camera::after {
  content: "";
  position: absolute;
  width: 40%;
  height: 40%;
  top: 10%;
  left: 12%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(0.6px);
  transform: translateZ(0);
  pointer-events: none;
}

.sticky-btn-container {
  position: sticky;
  bottom: 30px;
  justify-content: flex-end;
  z-index: 1050;
  pointer-events: none;
  padding-right: 20px;
  margin-top: -60px;
  padding-bottom: 10px;
}

.floating-btn {
  pointer-events: auto;
  border-radius: 30px;
  background: #1c13a0;
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 10px 15px;
}

/* .floating-btn {
  position: fixed;
  bottom: 30px;
  right: 25px;
  z-index: 1050;
  border-radius: 30px;
  background: #1c13a0;
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 10px 15px;
} */

/* 1. The Full Screen Overlay (Background) */
#mobile-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background-color: rgb(0 0 0 / 70%);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}

/* 2. The Content Wrapper */
#modal-content-area {
  /* padding: 40px; */
  max-height: 90vh;
  overflow-y: auto;
  background-color: white;
  border-radius: 41px;
  width: fit-content;
  max-width: 90%;
  overflow-x: hidden;
  justify-content: center;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: solid;
  color: white;
  font-size: 1rem;
  line-height: 1;
  width: 30px;
  /* height: 40px; */
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1070;
  transition: background 0.3s;
  aspect-ratio: 1 / 1;
  border-width: 2px;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* 1. The Logic to limit text to 5 lines */
.line-clamp-5 {
  line-height: 1.5em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(1.5em * 5);
}

/* 2. Styling the Button */
.see-more-btn {
  background: none;
  border: none;
  padding: 0;
  margin-top: -5px;

  /* Font styles */
  font-size: 10px;
  font-weight: 600;
  color: var(--link-color, #1c13a0);
  /* Falls back to blue if var not found */
  cursor: pointer;
  text-decoration: underline;
}

.see-more-btn:hover {
  text-decoration: underline;
}

.profile-pic-wrapper {
  position: absolute;
  top: -105px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background-color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-pic-wrapper img {
  width: 60%;
  height: auto;
  object-fit: contain;
}

.toggle-container {
  background-color: #f8f9fa;
  border: 1px solid #3b82f6;
  border-radius: 50px;
  padding: 2px;
  display: inline-flex;
  position: relative;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
}

.toggle-option {
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  z-index: 2;
  text-decoration: none;
}

.toggle-option i {
  font-size: 1.1em;
}

.toggle-option.active {
  background-color: #3b82f6;
  color: white;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.toggle-option:not(.active):hover {
  color: #374151;
  background-color: rgba(0, 0, 0, 0.03);
}

/* ========================== */
/* Responsive */
/* ========================== */
@media screen and (max-width: 374px) {
  .btn-contact {
    padding: 5px 5px;
    font-size: 8px;
    height: 40px;
  }

  .bottom-navbar {
    padding: 10px !important;
  }

  .icon-circle {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .bi-person-plus {
    font-size: 18px !important;
  }
}