html, body {
    margin: 0;
    padding: 0;
    height: 100%; /* Ensures body takes full viewport height */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

body {
    display: flex; /* Enable Flexbox */
    flex-direction: column; /* Stack children vertically */
    min-height: 100vh; /* Ensure body is at least as tall as the viewport */

}

header, footer {
    flex-shrink: 0; /* Prevents header/footer from shrinking when content grows */
    background-color: #f0f0f0;
    text-align: center;
    border-bottom: 1px solid #ddd; /* Example styling */
    border-top: 1px solid #ddd;   /* Example styling */
}

header {
    border-bottom: 1px solid #ddd;
    padding: 15px 20px;
}

.footer {
    /* Set the fixed height of the footer here */
    height: 11rem;
}

#footer-main{
    background: #222222;
    color: white;
    font-size: 0.8rem;
    padding-top: 1.5rem;
}

main {
    flex-grow: 1; /* This is the magic! Main content grows to fill space */
                    /* Pushing the footer down when content is larger than viewport */
    padding: 20px; /* Add padding inside the main content area */
    padding-bottom: 80px;
    height: auto;
    max-height: none;
    overflow: visible; 
}

/* Bootstrap container/row/col adjustments within main */
.container {
    /* If Bootstrap's container adds specific height/overflow, override here */
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
.row {
    /* If Bootstrap's row adds specific height/overflow, override here */
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
.col-12, .col-1, .col-10 {
    /* If Bootstrap's columns add specific height/overflow, override here */
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Tabulator Container Styling */
#scrapedDataTableContainer { 
    margin-top: 15px; 
    width: 100%; 

    /* --- AGGRESSIVE OVERRIDES: Ensure NO fixed height or overflow here --- */
    height: auto !important;          /* Allow Tabulator to manage its own height, overriding anything */
    max-height: none !important;      /* Remove any maximum height constraints, overriding anything */
    overflow: visible !important;     /* Allow Tabulator's content to push the container, overriding anything */
}

/* Tabulator's internal elements - Final Overrides */
.tabulator {
    height: auto !important; /* Forces Tabulator's main element to expand */
    max-height: none !important;
    overflow: visible !important; /* Critical to prevent internal scrolling and ensure pushing */
    /* border: 1px solid #ddd;  */
    /* border-radius: 5px; */
}

.tabulator-cell{
    padding: 2px !important;
}

.tabulator-row{
    height: 25px !important;
}

.navbarIcon{
    height: 3rem;
}

.aboutContaitner{
    width: 75%;
    margin: 0 auto;
    padding-top: 5 rem;
    padding-bottom: 2rem;
}

.aboutContaitner h3{
    text-align: center;
    margin-bottom: 1.5rem;
}

.servicesContaitner{
    width: 75%;
    margin: 0 auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.servicesContaitner h3{
    text-align: center;
    margin-bottom: 1.5rem;
}

.servicesAccordion{
  width: 50%;
  margin: 0 auto;
} 


/* css/styles.css */

/* --- Accordion Button Styling Overrides --- */

/* 1. Default state (collapsed) */
.accordion-button.collapsed {
    background-color: #f8f9fa; /* Light grey, or your desired default background */
    color: #212529; /* Dark text color, or your desired default text color */
    border-color: rgba(0, 0, 0, .125); /* Subtle border for collapsed state */
}

/* 2. Expanded state (NOT collapsed) - This is where the blue often appears by default */
.accordion-button:not(.collapsed) {
    background-color: #f8f9fa; /* Your desired background for the open state */
    color: #212529; /*  text for the open state */
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125); /* Optional: maintain a subtle bottom shadow */
    border-color: #212529; /* Match border color to background */
}

/* 3. Hover state */
.accordion-button:hover {
    background-color: #e9ecef; /* Slightly darker grey on hover for collapsed buttons */
    color: #212529; /* Dark text on hover for collapsed buttons */
}


/* 4. Focus state - THIS IS CRUCIAL FOR REMOVING THE BLUE OUTLINE/SHADOW */
.accordion-button:focus {
    box-shadow: none; /* Remove the blue shadow/outline */
    outline: 0; /* Remove default browser outline */
    
    /* Ensure the background and text color stay consistent with expanded/collapsed state */
    /* This rule will apply whether the button is collapsed or expanded when focused */
    background-color: #f8f9fa; /* Set to your desired open/active color */
    color: #212529; /* Set to your desired text color for active/focus */
    border-color: #f8f9fa; /* Match border to background */
}

