/* Main Section */
.our-process-new-section-section {
  box-sizing: border-box;
  padding: 60px 10px;
  background-color: #DAEEF8;
  width: 100%;
}

.our-process-new-section-section .container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

/* Header */
.our-process-new-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.our-process-new-section-title {
  color: #112446;
  text-align: center;
  font-family: Poppins, "sans-serif";
  font-size: 40px;
  font-style: normal;
  font-weight: 300;
  line-height: 54px;
  text-transform: capitalize;
  margin: 0 0 10px 0;
}

.our-process-new-section-description {
  font-family: 'Poppins', sans-serif;
  color: #313F58;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  max-width: 1050px;
  margin: 0 auto;
}

/* Tabs Container */
.our-process-new-section-tabs {
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: 100%;
  margin: 0 auto;
}

/* Accordion Item - Desktop: buttons flow normally */
.our-process-new-section-accordion-item {
  display: contents; /* On desktop, don't create a wrapper - buttons flow normally */
}

/* Tab Buttons */
.our-process-new-section-tab-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 0px;
  justify-content: center;
  width: 100%;
  overflow-x: auto;
}

.our-process-new-section-tab-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  width: 100%;
  min-width: 248px;
  height: 170px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.our-process-new-section-tab-button:hover {
  border-color: #0960a8;
}

/* Active Tab - Blue background, white icon and text */
.our-process-new-section-tab-button.active {
  background-color: #0960a8;
  border-color: #0960a8;
  color: #ffffff;
}

.our-process-new-section-tab-button.active .our-process-new-section-tab-title {
  color: #ffffff;
}

/* Inactive Tab - White background, dark gray icon and text */
.our-process-new-section-tab-button:not(.active) {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
}

.our-process-new-section-tab-button:not(.active) .our-process-new-section-tab-title {
  color: #333333;
}

/* Tab Icon */
.our-process-new-section-tab-icon {
  width: 49px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.our-process-new-section-tab-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0);
}

/* Active tab - white icon */
.our-process-new-section-tab-button.active .our-process-new-section-tab-icon img {
  filter: brightness(0) invert(1);
}

/* Inactive tab - dark gray icon */
.our-process-new-section-tab-button:not(.active) .our-process-new-section-tab-icon img {
  filter: brightness(0) saturate(0);
  opacity: 0.7;
}

/* Tab Title */
.our-process-new-section-tab-title {
  font-family: 'Poppins', sans-serif;
  color: #333;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.our-process-new-section-tab-button.active .our-process-new-section-tab-title {
  color: #ffffff;
  font-weight: 500;
}

/* Tab Contents - Desktop */
.our-process-new-section-tab-contents {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: block;
  padding: 58px 50px;
  background-color: #fff;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}
.our-process-new-section-accordion-item:first-child .our-process-new-section-tab-button{
	border-top-left-radius: 10px;
}
.our-process-new-section-accordion-item:last-child .our-process-new-section-tab-button{
	border-top-right-radius: 10px;
}
/* Hide accordion item content on desktop (will be overridden on mobile) */
@media (min-width: 769px) {
  .our-process-new-section-accordion-item .our-process-new-section-tab-content {
    display: none;
  }
}

.our-process-new-section-tab-content-desktop {
  display: none;
  width: 100%;
  animation: fadeIn 0.3s ease-in-out;
}

.our-process-new-section-tab-content-desktop.active {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

/* Fallback for main content (when using old HTML structure) */
.our-process-new-section-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content Image (Left Column) */
.our-process-new-section-content-image {
  flex: 0 0 auto;
  width: 100%;
  max-width: 400px;
}

.our-process-new-section-content-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Content Details (Right Column) */
.our-process-new-section-content-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.our-process-new-section-content-text {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #313f58;
  margin: 0;
  display: block;
  visibility: visible;
  opacity: 1;
  line-height: 28px;
}

/* Checklist */
.our-process-new-section-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.our-process-new-section-checklist-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.our-process-new-section-checklist-item img,
.our-process-new-section-check-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: block;
  /* Blue checkmark color */
  filter: brightness(0) saturate(100%) invert(27%) sepia(89%) saturate(2000%) hue-rotate(195deg) brightness(0.6);
}

.our-process-new-section-checklist-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #313f58;
  line-height: 1.5;
}

/* Call to Action Button/Link */
.our-process-new-section-call-to-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  background-color: #13367d;
  border-radius: 6px;
  width: fit-content;
  margin-top: 35px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  border: none;
}

.our-process-new-section-call-to-action:hover {
  background-color: #0960a8;
  text-decoration: none;
}

.our-process-new-section-call-to-action:focus {
  outline: 2px solid #0960a8;
  outline-offset: 2px;
}

.our-process-new-section-call-to-action-text {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  display: block;
  line-height: 24px;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .our-process-new-section-tab-content.active,
  .our-process-new-section-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .our-process-new-section-tab-button {
    width: calc(50% - 5px);
    min-width: 200px;
  }
}

/* Mobile Accordion Style */
@media (max-width: 821px) {
		.our-process-new-section-tabs{
		width: 90%;
	}
  .our-process-new-section-section {
    padding: 40px 15px;
  }
  
  .our-process-new-section-title {
    font-size: 30px;
  }
  
  
  /* Tab buttons become full-width accordion headers */
  .our-process-new-section-tab-buttons {
    flex-direction: column;
    gap: 10px;
    overflow-x: visible;
  }
  
  .our-process-new-section-tab-button {
    width: 100%;
    min-width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 15px 20px;
    height: auto;
    min-height: auto;
    text-align: left;
    position: relative;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    /* Remove blue background for active state on mobile */
  }
  
  /* Active accordion item stays white on mobile */
  .our-process-new-section-tab-button.active {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    border-bottom: none;
  }
  
  .our-process-new-section-tab-button.active .our-process-new-section-tab-title {
    color: #333333;
  }
  
  .our-process-new-section-tab-button::after {
    content: '';
    position: absolute;
    right: 20px;
    font-size: 18px;
    font-weight: 400;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.3s ease;
    color: #333333;
    line-height: 1;
    background-image: url('/wp-content/uploads/2026/01/img-dropdown.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 5%;
    height: 100%;
  }
  
  .our-process-new-section-tab-button.active::after {
    content: '';
    transform: rotate(0deg);
    color: #333333;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.3s ease;
    background-image: url('/wp-content/uploads/2026/01/img-dropdown.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(180deg);
    width: 5%;
    height: 100%;
  }
  
  .our-process-new-section-tab-icon {
    width: 40px;
    height: 40px;
  }
  
  /* Keep icons dark on mobile, even when active */
  .our-process-new-section-tab-button.active .our-process-new-section-tab-icon img {
    filter: brightness(0) saturate(0);
    opacity: 0.7;
  }
  
  .our-process-new-section-tab-title {
    flex: 1;
    font-size: 16px;
    text-align: left;
    color: #333333;
  }
  
  /* Accordion item wrapper - Mobile: create column layout */
  .our-process-new-section-accordion-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
  }
  
  /* Tab content styling for mobile - appears below the button */
  .our-process-new-section-accordion-item .our-process-new-section-tab-content {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;

    opacity: 0;
    padding: 0 20px;

    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;

    margin-top: -10px;
    transition:
        grid-template-rows 0.5s ease,
        opacity 0.35s ease,
        padding 0.5s ease;

  }
  
  .our-process-new-section-accordion-item .our-process-new-section-tab-content.active {
    grid-template-rows: 1fr;
    opacity: 1;
    padding: 20px;
	gap: 0;
  }
	.our-process-new-section-tab-content > .our-process-new-section-content-details {
    overflow: hidden;
}
  
  /* Hide desktop content area on mobile */
  .our-process-new-section-tab-contents {
    display: none !important;
  }
  
  
  .our-process-new-section-content {
    flex-direction: column;
    gap: 20px;
  }
  
  /* Hide images on mobile */
  .our-process-new-section-content-image {
    display: none !important;
  }
  
  /* Add separator line between header and content with smooth fade-in */
  .our-process-new-section-accordion-item .our-process-new-section-tab-content.active::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInLine 0.4s ease-in-out 0.2s forwards;
  }
  
  @keyframes fadeInLine {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  /* Smooth arrow rotation animation */
  .our-process-new-section-tab-button::after {
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .our-process-new-section-tab-button.active::after {
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .our-process-new-section-content-image {
    margin-bottom: 20px;
  }
  
  .our-process-new-section-content-text {
    font-size: 16px;
  }
  
  .our-process-new-section-checklist {
    gap: 12px;
  }
  
  .our-process-new-section-call-to-action {
    width: 100%;
    justify-content: center;
  }
  .our-process-new-section-header{
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .our-process-new-section-section {
    padding: 30px 10px;
  }
	.our-process-new-section-description{
		padding: 0 10px;
	}
  .our-process-new-section-tab-button {
    padding: 12px 15px;
  }
  
  .our-process-new-section-tab-icon {
    width: 35px;
    height: 35px;
  }

}

/* Accessibility */
.our-process-new-section-tab-button:focus {
  outline: 2px solid #0960a8;
  outline-offset: 2px;
}

.our-process-new-section-tab-button:focus:not(:focus-visible) {
  outline: none;
}
