body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background:linear-gradient(345deg, rgba(120, 72, 199, 1) 0%, rgba(20, 46, 83, 1) 25%, rgba(20, 46, 83, 1) 60%, rgba(72, 54, 181, 1) 85%, rgba(34, 123, 201, 1) 100%);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  min-height: 100vh;
}

.profile-card {
  position: relative;
  background-color: transparent;
  border-radius: 24px;
  width: 100%;
  padding: 30px 25px;
/*  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6); */
  text-align: center;
  z-index: 1;
  overflow-y: auto;
  max-height: 90vh;
  scrollbar-width: none;
}

.profile-card::-webkit-scrollbar {
  display: none;
}

#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  z-index: -3;
}

.profile-pic {
  width: 175px;
  height: 170px;
  border-radius: 50%;
  border: none;
  margin-top: 20px;
  object-fit: cover;
  /*box-shadow: 0 0 15px rgba(100, 200, 255, 0.5);*/
  position: relative;
  z-index: 2;
}

h1 {
  font-size: 1.4em;
  margin: 0;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

h2 {
  font-size: 0.9em;
  font-weight: 400;
  color: #aaa;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

.tags {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 30px;
  margin-bottom: 25px;
  overflow-x: auto;
  padding: 0 10px;
  scrollbar-width: none;
}
.tags::-webkit-scrollbar {
  display: none;
}

.tag {
  border: none;
  padding: 6px 12px;
  border-radius: 25px;
  font-size: 1em;
  color: #fff;
  background: #152e53;
  background: linear-gradient(120deg,rgba(30, 86, 195, 1) 0%, rgba(120, 72, 199, 1) 100%);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  white-space: nowrap;
  width: 100%;
}

.tag:hover {
  transform: scale(1.1);
}

.testimonial-slider {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 15px;
  text-align: left;
  margin-bottom: 20px;
  max-width: 100%;
  position: relative;
}

.slider-container {
  overflow: hidden;
  position: relative;
}

.slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  display: block;
  opacity: 1;
}

.slide p {
  font-size: 0.9em;
  margin-bottom: 10px;
  font-style: italic;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.slide .author {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.slide .author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.slide .author-info {
  font-size: 0.8em;
}

.slide .author-info span {
  display: block;
  color: #6cf;
  font-weight: 500;
}

.stars {
  margin-top: 5px;
  font-size: 1.2em;
  color: #F2D828;
}

.stars i {
  margin: 0 1px;
}

.slider-dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background:#63478e;
}

  .buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 50px;
  }

  .dropdown {
    position: relative;
    display: block;
    width: 100%;
  }

  .dropdown-btn {
    cursor: pointer;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .chevron {
    transition: transform 0.3s ease;
    font-size: 0.8em;
  }

  .dropdown.show .chevron {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(120deg,rgba(30, 86, 195, 1) 0%, rgba(120, 72, 199, 1) 100%);
    border-radius: 10px;
    padding: 10px 0;
    list-style: none;
    margin: 5px 0 0 0;
    z-index: 10;
    min-width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .dropdown-menu li {
    margin: 0;
  }

  .dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
  }

  .dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }

  .dropdown.show .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  /* Nested Dropdown Styles */
  .nested-dropdown {
    position: relative;
  }

  .nested-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
    cursor: pointer;
    box-sizing: border-box;
  }

  .nested-dropdown-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }

  .chevron-right {
    transition: transform 0.3s ease;
    font-size: 0.8em;
  }

  .nested-dropdown.show .chevron-right {
    transform: rotate(90deg);
  }

  .nested-dropdown-menu {
    display: none;
    position: static;
    left: 0;
    top: 0;
    background: linear-gradient(120deg,rgba(30, 86, 195, 1) 0%, rgba(120, 72, 199, 1) 100%);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 10px 0;
    list-style: none;
    margin: 5px 0 0 0;
    width: 100%;
    box-sizing: border-box;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 20;
  }

  .nested-dropdown-menu li {
    margin: 0;
  }

  .nested-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
    white-space: nowrap;
  }

  .nested-dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }

  .nested-dropdown.show .nested-dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

.btn {
  background: #152e53;
  background: linear-gradient(120deg,rgba(30, 86, 195, 1) 0%, rgba(120, 72, 199, 1) 100%);
  border: none;
  color: #fff;
  border-radius: 25px;
  padding: 10px 0;
  cursor: pointer;
  font-size: 0.9em;
  transition: 0.3s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:hover {
  transform: scale(1.05);
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 10px;
}

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

.footer-icons i {
  font-size: 1.5em;
  cursor: pointer;
  color: #fff;
  transition: color 0.3s;
}

.footer-icons i:hover {
  color: #F2D828;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  .profile-card {
    width: 80%;
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 10px 0;
  }

  .profile-card {
    width: 400px;
    max-height: none;
    padding: 20px 15px;
  }

  .profile-pic {
    width: 150px;
    height: 145px;
  }

  h1 {
    font-size: 1.2em;
  }

  h2 {
    font-size: 0.85em;
  }

  .tag {
    font-size: 0.75em;
    padding: 5px 10px;
    
  }
  .tags{
  display: flex;
  justify-content: flex-start;
  gap: 7px !important;

  }

  .testimonial-slider {
    padding: 12px;
  }

  .btn {
    font-size: 0.85em;
    padding: 9px 0;
  }

  .footer-icons {
    gap: 30px;
  }
  .sch-btn{
    padding-left: 20px;
      
  }
}

@media (max-width: 480px) {
  .profile-card {
    width: 95%;
    padding: 15px 10px;
  }

  .profile-pic {
    width: 130px;
    height: 125px;
  }

  h1 {
    font-size: 1.1em;
  }

  .footer-icons {
    gap: 50px;
  }

  .footer-icons i {
    font-size: 1.2em;
  }
  .sch-btn{
    padding-left: 20px;
      
  }
}

.trans{
  font-size:15px;
  display: flex;
  justify-content: end;
  padding-right: 10px;
  color: #fff;
  text-decoration: none;
}
.tran{
  font-size:15px;
  display: flex;
  justify-content: start;
  padding-right: 10px;
  color: #fff;
  text-decoration: none;
}




/* Desktop view: grid layout for buttons */
@media (min-width: 1025px) {
  .buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}