/* Technology Section - Buttons */
.new-tech {
  position: relative; /* Important for boundary */
}

.tech-buttons {
  position: sticky;
  top: 85px; /* Distance from top of viewport */
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 15px;
  background: white; /* Optional: background to prevent overlap */
  padding: 10px 0;
}


.tech-button {
    background-color: #00a896; /* Primary button color */
    color: #fff;
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative; /* Needed for absolute positioning of the pseudo-element */
}

.tech-button:hover {
    background-color: #087469; /* Darker on hover */
    transform: translateY(-2px);
}

.tech-button.active {
    background-color: #05668d; /* Stays darker when active */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Add this rule for the blue line */
.tech-button.active::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -7px; /* Adjust position of the line */
    height: 1px; /* Thickness of the line */
    background-color: #00a896; /* Blue color of the line */
    border-radius: 2px; /* Optional: for rounded ends */
}

/* Technology Content Sections */
.tech-content-section {
    display: none; /* Hide all content sections by default */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tech-content-section.active {
    display: block; /* Show the active section */
    opacity: 1;
    transform: translateY(0);
}

/* Ensure tech-cards within active section animate */
.tech-content-section.active .tech-card {
    opacity: 1; /* Override initial hidden state if JavaScript re-applies animation */
    transform: translateY(0);
}


/* Responsive adjustments for buttons */
@media (max-width: 768px) {
    .tech-buttons {
        flex-direction: row;

        align-items: center;
    }

    .tech-button {
        /* width: 80%; Make buttons wider on smaller screens */
        /* max-width: 300px; */
                font-size:1rem;

    }
}


/* --- Differentiate Section --- */
.differentiate-section {
    background-color:white; /* Light background for contrast */
    padding: 80px 0;
    text-align: center;
}

.differentiate-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 5px;
}

.differentiate-card {
    /* background-color: #ffffff; */
    /* border-radius: 10px; */
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); */
    
    padding: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent; /* Prepare for hover effect */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
    align-items: center;
    opacity: 0; /* Initial state for animation */
    transform: translateY(30px); /* Initial state for animation */
}

.differentiate-card:hover {
    transform: translateY(-8px);
    /* box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); */
    /* border-bottom-color: #007bff; Blue line on hover */
}

.differentiate-icon {
    font-size: 3rem;
    color: #00a896; /* Blue color for icons */
    margin-bottom: 10px;
}

.differentiate-card h3 {
    font-size: 1.6rem;
    color:#00a896;
    margin-bottom: 10px;
    font-weight: 700;
}

.differentiate-card p {
    font-size: 1rem;
    color: #464646;
    text-align:left;
    line-height: 1.6;
    padding-left: 5px;
    flex-grow: 1; /* Allows text to take up available space */
}

/* Responsive adjustments for new section */
@media (max-width: 768px) {
    .differentiate-cards-container {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }
}
.d1{
    display: flex;
    position:relative;
    padding:10px;
    padding-bottom: 30px;
}
/* --- FAQ Section --- */
.faq-section {
    padding: 80px 0;
    background-color: hsl(0, 0%, 100%); /* A light, clean background */
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left; /* Align questions and answers to the left */
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden; /* Important for height transition */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    opacity: 0; /* Initial state for animation */
    transform: translateY(30px); /* Initial state for animation */
}

.faq-question {
    width: 100%;
    background-color: #f7f7f7;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #eee; /* Separator between question and answer when open */
}

.faq-question:hover {
    background-color: #e9e9e9;
}

.faq-question.active {
    background-color: #e0f2f7; /* Lighter blue when active */
    color: #05668d; /* Blue text for active question */
}

.faq-arrow {
    font-size: 1rem;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-arrow {
    transform: rotate(180deg); /* Rotate arrow when active */
}

.faq-answer {
    max-height: 0; /* Initially hidden */
    padding: 0 25px;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Smooth transition for height and padding */
}

.faq-answer p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    padding-bottom: 25px; /* Space below the answer text */
}

/* Ensure that when faq-answer is active, it has content */
.faq-item.active .faq-answer {
    max-height: 500px; /* A large enough value to cover typical answer lengths */
    padding-top: 15px; /* Add padding when expanded */
}

/* Responsive adjustments for FAQ */
@media (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
}