.portfolio-details-section .container img:first-child {
  margin-top: 9rem;
  margin-bottom: 1rem;
}

.portfolio-details-outer-card {
  background-color: #fff;
  padding: 50px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-right: 5px solid #3caefc;
  position: absolute;
  border-bottom: 5px solid #3caefc;
  right: 12.5%;
  top: 75%;
}

.linear-gradient-text {
  color: #007bff;
}

.portfolio-details-inner-card {
  background-color: #f9f9f9;
  width: 400px;
  padding: 25px;
  border-top: 1px solid #ebebeb;
}

.portfolio-details-inner-card:first-child {
  border-top: none;
}

.portfolio-details-inner-card i {
  color: #007bff;
  margin-right: 10px;
}

.portfolio-item {
  display: flex;
  justify-content: space-between;
  border: none;
  align-items: center;
  padding: 10px 20px;
  background: white;
  margin-left: 7% !important;
  width: 100%;
  margin-bottom: 2%;
}

.portfolio-item i {
  margin-right: 10px;
}

.key-features-flex-container {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 60%;
}

.key-features h1 {
  color: #007bff;
}

.key-features h2 {
  color: #3caefc;
}

.key-features p {
  margin-top: 2%;
}

.project-details-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
}

.blog-section {
  margin-top: 7rem;
}
/* Remove default summary marker and alignment quirks */
.blog-grid-item summary {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
}

/* Hide default triangle marker (Chrome, Safari) */
.blog-grid-item summary::-webkit-details-marker {
  display: none;
}

/* Hide default triangle marker (Firefox) */
.blog-grid-item summary::marker {
  content: "";
}

/* Custom marker using ::before */
.blog-grid-item summary::before {
  content: "▶";
  color: #333;
  margin-right: 8px;
  position: relative;
  top: 1px;
  margin-left: -25px;
  font-size: 15px;
  transition: transform 0.3s ease;
}

/* Rotate marker when <details> is open */
.blog-grid-item details[open] summary::before {
  transform: rotate(90deg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-left: 5rem;
}

.blog-grid-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1.9rem;
}

.blog-img-wrapper {
  max-width: 80%;
  margin-bottom: 10px;
  position: relative;
}

.blog-img-wrapper img {
  border-radius: 10px;
}

.overlay {
  position: absolute;
  color: #fff;
  font-weight: bold;
  background-color: #007bff;
  padding: 15px 25px;
  width: 60%;
  border-radius: 5px;
  top: 0;
}

.overlay::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 0;
  border-top: 25px solid transparent;
  border-right: 25px solid #2c2d2d;
  border-bottom: 25px solid transparent;
}

.blog-comments-text {
  display: flex;
  justify-content: space-between;
  width: 65%;
}

.blog-breaker-line {
  background: #ebebeb;
  width: 52%;
  padding: 0.2px 0;
  display: flex;
  justify-content: space-evenly;
}

.blog-breaker-first-color {
  background-color: #007bff;
  padding: 0.9px 0;
  width: 15%;
}

.blog-breaker-second-color {
  background-color: #007bff;
  padding: 0.9px 0;
  width: 15%;
}

.blog-heading-para {
  color: #007bff;
  font-weight: bold;
  width: 60%;
}

.blog-normal-para {
  width: 75%;
}

.job-section {
  margin-top: 7rem;
}

.job-section .container h3:first-child {
  color: #007bff;
  font-weight: bold;
  font-size: 2rem;
  width: 100%;
}

.careers-breaker-line {
  margin: 25px 0;
  padding: 5px 0;
  display: flex;
  gap: 1px;
}

.careers-breaker-line-one {
  width: 10%;
  background-color: #7d25cd;
  padding: 1px 0;
}

.careers-breaker-line-two {
  width: 90%;
  padding: 1px 0;
  background-color: #007bff;
}

.apply-now-btn {
  background-color: white;
  color: #0b0e19;
  border: 2px solid #dcdcdc;
  border-radius: 5px;
  padding: 6px 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

dialog::backdrop {
  background: linear-gradient(to right, #3caefc, #7d25cd);
  opacity: 0.35;
}

dialog {
  border: 0;
  padding: 35px 35px;
  border-radius: 6px;
}

dialog form input[type="text"] {
  border-radius: 10px;
  padding: 7px 15px;
  border: 2px solid #3caefc;
}

dialog form input[type="file"]::file-selector-button {
  padding: 7px 25px;
  border-radius: 10px;
  border: 2px solid #3caefc;
}

.job-item-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.job-requirement-card {
  padding: 20px 35px;
  background-color: white;
  border: 3px solid #f9f9f9;
  border-top: 5px solid #007bff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.job-requirements-heading {
  font-weight: bold;
  color: #007bff;
}

.requirement-card-read-more {
  font-size: small;
  color: #3caefc;
}

.requirement-card-bold-heading {
  font-weight: 500;
  color: #007bff;
}

.job-requirement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.requirement-card-img {
  width: 10%;
}

.job-requirement-card.active {
  border: none;
  background: linear-gradient(to right, #3caefc, #7d25cd);
}

.job-requirement-card.active h5,
.job-requirement-card.active p {
  color: white;
}

.contact-us-section {
  margin-top: 8rem;
}

.contact-us-card {
  border: 1px solid #ccc;
  display: flex;
  flex-wrap: wrap;
  border-top: 5px solid #007bff;
  border-radius: 10px;
  width: 100%;
  padding: 1rem;
}

.contact-us-card {
  flex: 1;
  text-align: center;
}

.info-holder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  padding: 1rem 1rem;
}

.help-section {
  margin-top: 4rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.info-help-section {
  width: 30%;
}

.contact-us-card .info-holder div {
}

.contact-us-card .info-holder div img {
  max-width: 70%;
}

.form-holder input {
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  /* padding: 7px 5px; */
  border-radius: 7px;
}

.form-holder textarea {
  background-color: #f9f9f9;
  width: 100%;
  /* padding: 7px 5px; */
  border-radius: 10px;
}

.our-team-section {
  margin-top: 8rem;
  padding: 50px 0;
}

.our-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-content: center;
  align-items: stretch;
}

.our-team-grid-item {
  display: flex;
  justify-content: center;
}

.team-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 4, 255, 0.107);
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
}
.team-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.team-img-wrapper:hover {
  transform: translateY(-5px);
}

.team-card-overlay {
  background: rgba(255, 255, 255, 0.703);
  padding: 1rem;
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 0 0 10px 10px;
  width: 100%;
  text-align: center;
  transition: background 0.3s ease;
}
.team-card-overlay {
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease;
}

.team-img-wrapper:hover .team-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.team-card-overlay h6 {
  margin-bottom: 5px;
  font-size: 1.1rem;
  color: #333;
  text-align: center;
}

.team-card-overlay p {
  margin-bottom: 10px;
  color: #7d25cd;
  text-align: center;
}

.links__logo {
  display: flex;
  justify-content: start;
  gap: 12px;
  cursor: pointer;
  margin-top: -10px;
}

.links__logo i {
  font-size: 1rem;
  color: #0628ff;
  transition: color 0.3s ease;
}

.links__logo i:hover {
  color: #7d25cd;
}

.background-team-section {
  background-image: url("pics/our-team-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 25% 35%;
  position: relative;
}

.background-team-section-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  position: absolute;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  right: 5%;
  top: 20%;
}

.item-img {
  width: 7%;
}

.team-sol-heading {
  color: #3caefc;
}

input[type="file"] {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.background-team-section-card p {
  margin: 20px 0;
  width: auto;
}

.background-team-section-card h3 {
  color: #007bff;
}

.team-contact-section .container .row .col-md-6 i {
  color: #7d25cd;
}

.hidden {
  display: none;
  /* Hide the file input */
}

.linkedin-contact-card {
  font-size: 2rem;
  background: linear-gradient(#3caefc, #7d25cd);
  -webkit-background-clip: text;
  color: transparent;
}

.file-label {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #3caefc;
  background: linear-gradient(#3caefc, #7d25cd);
  color: white;
  cursor: pointer;
}

.file-label:hover {
  background-color: #e0e0e0;
}

@media (max-width: 1200px) {
  .blog-grid {
    margin-left: 5rem;
  }
  .team-img-wrapper {
    max-width: 80%;
  }

  .team-card-overlay {
    max-width: min-content;
    bottom: 0;
    left: 12%;
  }
}

@media (max-width: 991px) {
  .blog-grid {
    margin-left: 5rem;
  }
  .team-img-wrapper {
    max-width: 100%;
  }

  .team-card-overlay {
    position: static;
  }

  .our-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .background-team-section-card {
    padding: 10px;
    border-radius: 10px;
    position: absolute;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    right: 7px;
    top: 7%;
  }

  .team-contact-section .container .row .col-md-6:first-child {
    margin: 20px 0;
  }

  .contact-info-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .team-contact-section .container .row .col-md-6 h3 {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .team-card-overlay {
    position: static;
    transform: none;
    border-radius: 0 0 10px 10px;
    background: #fff;
    padding: 0.8rem;
    margin-top: 0.5rem;
  }

  .team-img-wrapper {
    box-shadow: none;
  }
}

@media (max-width: 768px) {
  /* .help-section {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    } */
  .contact-us-section h3 {
    font-size: 1.75rem;
    text-align: center;
  }

  .contact-us-section p {
    text-align: center;
    font-size: 1rem;
  }

  /* Stack contact cards on smaller screens */
  .responsive-flex {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center;
    text-align: center;
  }
  .responsive-flex p {
    text-align: center;
  }

  .item-img {
    width: 35%;
  }
  .location-logo {
    width: 18%;
  }

  /* Adjusting card padding and text alignment */
  .contact-us-card {
    display: flex;
    /* Use flexbox for alignment */
    flex-direction: column;
    /* Stack items vertically */
    justify-content: center;
    /* Center content vertically */
    align-items: center;
    /* Center content horizontally */
    text-align: center;
    /* Center text within the card */
    width: 100%;
    max-width: 300px;
    /* Optional: Limit max width */
    margin: 1rem auto;
  }

  .info-holder {
    text-align: center;
  }

  dialog form > * {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  dialog form .row {
    gap: 0.5rem;
  }

  .dialog-form-input {
    margin-bottom: 0.5rem;
    /* Adjust the margin-bottom for form inputs */
  }

  .overlay {
    padding: 5px 20px;
  }

  .blog-grid-item {
    margin-left: 1.8rem;
  }

  .about-us h2 {
    font-size: 2.3rem;
  }

  p {
    font-size: 1rem;
  }

  .help-section > div:first-child {
    width: 100%;
    text-align: center;
  }

  .help-section > div:nth-child(2) {
    width: 100%;
  }

  .job-item-details {
    flex-direction: column;
    margin: 25px 0;
  }

  .job-designation {
    text-align: center;
  }

  .job-requirement-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .portfolio-details-outer-card {
    position: static;
    width: 100%;
  }

  .portfolio-details-inner-card {
    width: 100%;
    margin: 25px 0;
  }

  .background-team-section {
    padding: 15% 20%;
  }

  .background-team-section-card {
    position: relative;
    padding: 20px 30px;
    max-width: max-content;
    right: 0;
    top: 10%;
  }

  .background-team-section-card h3 {
    font-size: 1.5rem;
  }

  .background-team-section-card p {
    font-size: 0.9rem;
  }

  .background-team-section-card button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 300px);
    margin-left: 2rem;
  }
}

@media (max-width: 500px) {
  .blog-grid {
    grid-template-columns: repeat(1, 300px);
    margin-left: 5rem;
  }
  .background-team-section-card {
    padding: 15px;
    top: 5%;
  }

  .overlay {
    padding: 0.2rem 1.4rem;
  }

  .background-team-section-card h3 {
    font-size: 1.3rem;
    /* Further reduce heading size */
  }

  .background-team-section-card p {
    font-size: 0.85rem;
    /* Further reduce paragraph size */
  }

  .background-team-section-card button {
    padding: 0.5rem 1rem;
    /* Further reduce button padding */
    font-size: 0.8rem;
    /* Further reduce button font size */
  }
}
@media (max-width: 376px) {
  .blog-grid {
    margin-left: 4rem;
  }
}
@media (max-width: 321px) {
  .blog-grid {
    margin-left: 3rem;
  }
}

.contact-us-card {
  transition: transform 0.3s ease;
}
.contact-us-card:hover {
  transform: translateY(-5px);
}

.contact-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.contact-icon:hover,
.gradient-icon:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.linear-gradient-text {
  background: linear-gradient(to right, #3caefc, #7d25cd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.gradient-icon {
  background: linear-gradient(to right, #3caefc, #7d25cd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Our Team Section */
.elegant-our-team-container {
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.elegant-our-team-wrapper {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.elegant-our-team-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.elegant-our-team-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 50px;
}

.elegant-our-team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.elegant-our-team-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 25, 101, 0.037);
  padding: 20px;
  width: 260px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elegant-our-team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.elegant-img-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.elegant-team-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.elegant-our-team-card:hover .elegant-team-img {
  transform: scale(1.05);
}

.elegant-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 10px 0 5px;
}

.elegant-position {
  font-size: 0.95rem;
  color: #3caefc;
  margin-bottom: 15px;
  text-align: center;
}

.elegant-social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: -10px;
}

.elegant-social-links a {
  font-size: 1rem;
  color: #666;
  transition: color 0.3s;
}

.elegant-social-links a:hover {
  color: #3caefc;
}

/* Responsive */
@media (max-width: 768px) {
  .elegant-our-team-grid {
    flex-direction: column;
    align-items: center;
  }
}
/* end */
