/* 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 */
    }
}
/* Existing CSS styles for the button, if you have a .btn-primary class, it will be used here. 
If not, you can use these styles as a base. */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
    background: linear-gradient(287deg, rgba(232, 30, 30, 0.8) 0%, rgba(255, 105, 0, 0.8) 100%);
    color: #ffffff;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(287deg, rgba(255, 105, 0, 0.8) 0%, rgba(232, 30, 30, 0.8) 100%);
}

/* CTA Container Styles */
.cta-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 20px; /* Space between text and button */
}

.cta-text {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    flex-grow: 1; /* Allows text to take up available space */
}

/* Optional: Media query for responsiveness */
@media (max-width: 768px) {
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .cta-text {
        font-size: 20px;
    }
}




/* new design title */
@media (max-width: 768px) {
    .tab-title-wrapper .pb-0 {
        text-align: center !important;
    }
}

/* cloud partnerships design */
.cloud-partnerships {
    background-color: #f0f0f0; /* A light gray background */
    color: #000; /* Cloud Partnerships heading text is black */
    padding: 50px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-family: inherit; /* Use the font from the rest of your site */
    font-size: 2.5em; /* Use a relative size or a specific pixel value */
    font-weight: bold;
    margin-bottom: 30px;
}

.card-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.card {
    background-color: #fff; /* The cards remain white */
    color: #000;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}



/* cloud partnership design */

.cloud-partnerships {
    background-color: #f0f0f0; /* Use a light gray background for a clean look */
    padding: 50px 0;
    text-align: center; /* Center the entire section title */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #333; /* Dark text color */
    margin-bottom: 30px;
}

.card-container {
    display: flex;
    justify-content: center; /* Center the cards horizontally */
    gap: 30px; /* Space between cards */
}

.card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-grow: 1; /* Allow cards to grow */
    max-width: 300px; /* Set a max width for each card */
    display: flex;
    justify-content: center;
    align-items: center;
}

.card p {
    font-size: 1.2em;
    font-weight: 600;
    color: #555;
    margin: 0; /* Remove default paragraph margin */
}

/* Responsive design */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }
    .card {
        max-width: 100%;
        width: 100%;
    }
}

.card p {
    font-size: 1.4em; /* Increased from 1.2em */
    font-weight: 600;
    color: #555;
    margin: 0;
}


/* CTA Design */

.blog-cta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 25px 50px; /* Increased vertical and horizontal padding */
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.blog-cta p {
    margin-bottom: 0;
}
/* Media query for smaller screens (e.g., mobile devices) */
@media (max-width: 576px) {
    .blog-cta {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        width: 100%; /* Make it full width on smaller screens */
    }
    
    .blog-cta p {
        margin-bottom: 0;
    }
}

/* new design tab fonts */

.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;
}






.ta-card__title {
    font-size: 18px;
}




/* new card design */

    .blog-section {
        padding: 60px 0;
        background-color: #fff;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .section-heading {
        text-align: left;
        margin-bottom: 40px;
        font-size: 2.5rem;
        color: #333;
    }

    .section-heading span {
        font-weight: bold;
    }

    .blog-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .blog-card {
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        background-color: #fff;
        display: flex;
        flex-direction: column;
    }

    .blog-image {
        position: relative;
        overflow: hidden;
    }

    .blog-image img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .blog-content {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .blog-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
        line-height: 1.4;
        color: #333;
        font-weight: bold;
    }

    .read-more-btn {
        margin-top: 15px;
    }
    
    .view-all-btn-container {
        text-align: center;
        margin-top: 40px;
    }

    /* Responsive design for tablets and mobile */
    @media (max-width: 992px) {
        .blog-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 576px) {
        .blog-grid {
            grid-template-columns: 1fr;
        }
    }

   /* new card design ends */ 

/* key projects view all button */

   .projects-view-all-btn-container {
    text-align: center;
}



/* mobile version cloud app projects heading and key projects and others*/
@media (max-width: 768px) {
    .tab-title-wrapper {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .section-heading {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .ta-section--drive .container .h2 {
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .ta-article-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 15px;
    }

}

@media (max-width: 768px) {
    /* Main container and title alignment */
    .ta-section.ta-section--drive .container,
    .projects-view-all-btn-container {
        text-align: center;
    }

    /* Stacks the main content articles vertically and centers them */
    .ta-section.ta-section--drive .d-flex {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px;
        width: 100%;
    }

    /* Makes each article card full-width and centers its content */
    .ta-section.ta-section--drive .ta-article-container {
        width: 100% !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 15px;
    }

    /* Ensures the image is a block element for proper centering */
    .ta-section.ta-section--drive .ta-card__image {
        display: block;
        margin: 0 auto;
    }

    /* Centers the content within each card */
    .ta-section.ta-section--drive .ta-card__content {
        align-items: center !important;
        text-align: center !important;
    }
    
    /* Ensure title and text are centered within their containers */
    .ta-section.ta-section--drive .ta-card__title,
    .ta-section.ta-section--drive .ta-card__text {
        text-align: center !important;
    }
}