/* Tab Styles */
.nav-tabs-centered .nav-item {
    flex: 1;
    text-align: center;
    min-width: 200px;
    max-width: 250px;
}

.nav-tabs-centered .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    white-space: normal;
    height: 100%;
    border: none;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-tabs-centered .nav-link:hover {
    transform: scale(1.05);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-tabs-centered .nav-link.active {
    background-color: #f8f9fa;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-tabs-centered .icon-svg {
    margin-bottom: 10px;
}

.nav-tabs-centered .nav-link span {
    display: block;
    font-size: 18px;
}

/* Pricing Card Styles */
.tab-content {
    position: relative;
}

.tab-pane {
    display: none; /* Ensure tab-pane is hidden by default */
}

.tab-pane.active {
    display: block; /* Show when active class is added */
}

.tab-pane.fade {
    opacity: 0;
    transition: opacity 0.15s linear;
}

.tab-pane.fade.show {
    opacity: 1;
}

.card {
    border: none;
    border-radius: 10px;
    background-color: #fff;
    margin-bottom: 20px;
    min-height: 350px; /* Base minimum height for all cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure content and button are spaced consistently */
}

/* Target the first two cards in each row (Basic and Plus) */
.row.text-center .col-md-6.col-lg-3:nth-child(-n+2) .card {
    min-height: 400px; /* Match the approximate height of the Enterprise card */
}

.card-header {
    border-bottom: none;
    padding: 15px;
    text-align: center;
}

.card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
}

.card-body {
    padding: 20px;
    flex-grow: 1; /* Allow the body to grow and fill the space */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Align content and button */
}

.card-body h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.card-body p {
    margin: 5px 0;
    color: #666;
    font-size: 0.9rem;
}

.card.shadow {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-resize {
    min-height: 400px; /* Match the approximate height of the Enterprise card */
}

.bg-blue-20 {
    background-color: #e5e0e0; /* Changed to light gray */
}

/* Button Styles */
.btn-primary {
    background-color: #1a73e8;
    border-color: #1a73e8;
    color: #fff;
    border-radius: 25px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #1557b0;
    border-color: #1557b0;
}

.btn-lg {
    font-size: 0.75rem;
}

/* General Layout and Spacing */
.text-center {
    text-align: center;
}

.space40 {
    height: 40px;
}

.space30 {
    height: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .col-md-6 {
        margin-bottom: 20px;
    }

    .space30 {
        display: block !important;
    }
}