/* Styling for the main title */
.tab-title-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-title-wrapper h2.pb-0 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 0;
    text-align: left;
}

/* This rule styles the p tags inside the tabs */
.tab p {
    font-size: var(--bs-body-font-size);
    /* font-weight: 600; */
    margin: 0;
}

/* This rule styles the h3 tags inside the content area */
.content h3 {
    font-size: 18px;
    font-family: var(--bs-body-font-family);
    font-weight: 600;
    margin: 0;
    color: #000000;
}

/* Existing styles for the tabbed interface remain the same */
.tabs-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #f8f9fa;
}

.tabs-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #fff;
}

.tab {
    padding: 20px;
    cursor: pointer;
    border-radius: 6px;
    margin-bottom: 10px;
    color: #495057;
    transition: background-color 0.3s ease;
}

.tab:hover {
    background-color: #e9ecef;
}

.tab.active {
    background: linear-gradient(287deg, rgba(232, 30, 30, 0.8) 0%, rgba(255, 105, 0, 0.8) 100%);
}

.tab.active p {
    color: #ffffff;
}

.content-wrapper {
    flex: 2;
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 1px solid #dee2e6;
}

.content {
    display: none;
    padding: 20px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.content.active {
    display: block;
}

.content p {
    margin-bottom: 0;
    line-height: 1.6;
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
}

.tab.active::after {
    /* content: '→'; */
    float: right;
    /* font-weight: 900; */
}

/* -------------------------------------------------------------------------------------------------- */

/* Mobile responsiveness */
@media (max-width: 768px) {
    .tabs-container {
        flex-direction: column; /* Stack the tabs and content vertically */
        box-shadow: none; /* Optional: Remove box-shadow to fit mobile layout better */
        border-radius: 0; /* Optional: Remove border-radius */
    }

    .tabs-wrapper {
        padding: 10px; /* Adjust padding for mobile */
    }
    
    .tab {
        border-radius: 8px; /* Give each tab its own rounded corners */
        margin-bottom: 5px; /* Adjust space between tabs */
    }

    .content-wrapper {
        flex: 1; /* Remove flex-2 on mobile */
        border-left: none; /* Remove the vertical line */
        padding: 0;
    }

    .content {
        padding: 20px; /* Add padding to the content block itself */
        border-radius: 8px;
        margin: 10px; /* Add a little margin to separate it from the tabs */
    }
}


.tab-title-wrapper h2 {
    font-family: var(--bs-body-font-family), "Poppins", sans-serif;
}

.tabs-container .tab {
    font-family: var(--bs-body-font-family), "Poppins", sans-serif;
}


@media (max-width: 768px) {
    .tab-title-wrapper .pb-0 {
        text-align: center !important;
    }
}

.tab-title-wrapper {
  padding-bottom: 30px;
}

@media (max-width: 768px) {
    .tab-title-wrapper {
        text-align: center;
    }
}



/* Tech stack restructure starts */

.ta-card--tech-stack {
    /* Existing flex properties for centering content */
    display: flex;
    justify-content: center;
    align-items: center;

    /* --- New/Modified styles for the boxed look --- */
    background-color: #ffffff; /* White background for the box */
    border: 1px solid #e0e0e0; /* Subtle border around the box */
    border-radius: 8px; /* Slightly rounded corners for the boxes */
    padding: 10px 15px; /* Padding inside the box around the text */
    min-width: 100px; /* Minimum width for each box */
    height: 45px; /* Fixed height for all boxes to make them even */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Soft shadow */
    
    /* Ensure text is vertically and horizontally centered */
    text-align: center; 
    
    /* Remove previous styles that created the bottom line */
    border-bottom: none; 
}



/* Adjust the grid gap if needed to match the image spacing */
.ta-grid--tech-stack {
    gap: 15px 15px; /
}



/* Style for the text inside the tech stack boxes */
.ta-card--tech-stack p {
    font-size: 13.5px; 
    font-weight: 600; 
    color: #555; 
    margin: 0;
    text-align: center;
    font-family: var(--bs-body-font-family), "Poppins", sans-serif;
}