/* General styling for all screen sizes */
.responsive-container {
    width: 80%; /* Default width for larger screens */
    margin: 0 auto; /* Center the container */
    padding: 20px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    text-align: center;
}

/* Adjustments for tablets (768px to 991px) */
@media (max-width: 991px) {
    .responsive-container {
        width: 90%; /* Increase the width for smaller devices */
        padding: 15px; /* Adjust padding */
    }
}

/* Adjustments for mobile phones (max-width: 576px) */
@media (max-width: 576px) {
    .responsive-container {
        width: 95%; /* Almost full width */
        padding: 10px; /* Reduce padding further */
        font-size: 14px; /* Smaller font size for better readability */
    }
}

/* General Styles */
.we_do {
    padding: 20px;
    background-color: #fff;
}

/* Default column layout for larger screens */
.we_box {
    padding: 20px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.we_box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.we_box p {
    font-size: 16px;
    line-height: 1.5;
}

/* Responsive styles for tablets (768px to 991px) */
@media (max-width: 991px) {
    .carousel-caption {
        padding: 20px;
    }

    .we_box {
        padding: 15px;
    }

    .we_box h3 {
        font-size: 18px;
    }

    .we_box p {
        font-size: 14px;
    }
}

/* Responsive styles for mobile phones (max-width: 576px) */
@media (max-width: 576px) {
    .carousel-inner .row {
        flex-direction: column; /* Stack items vertically */
        align-items: center;
    }

    .col-md-4 {
        width: 100%; /* Full width for smaller devices */
        max-width: 100%; /* Ensure it doesn't overflow */
        padding: 10px 0;
    }

    .we_box {
        padding: 10px;
        margin-bottom: 15px;
    }

    .we_box h3 {
        font-size: 16px;
    }

    .we_box p {
        font-size: 13px;
    }

    ul {
        padding-left: 20px;
    }

    ul li {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .carousel-indicators {
        display: none; /* Optional: hide carousel indicators on small screens */
    }
}

/*Experience */

/* Responsive Styles */

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
    .table-container {
        padding: 8px;
    }

    th, td {
        padding: 10px;
        font-size: 13px; /* Adjust font size for smaller screens */
    }

    th {
        font-size: 14px;
    }
}

/* Responsive styles */
@media (max-width: 576px) {
    .table-container {
        padding: 5px;
    }

    table {
        font-size: 12px;
    }

    th, td {
        padding: 8px;
    }

    /* Stack table rows for small screens */
    table thead {
        display: table-header-group; /* Show header */
    }

    table tbody, table tr, table td {
        display: block;
        width: 100%;
        text-align: left; /* Maintain alignment */
        border-bottom: 1px solid #ddd;
        padding: 10px 5px;
    }

    table td {
        position: relative;
        padding-left: 10%;
        font-size: 14px; /* Improve readability */
        color: #333; /* Maintain text color */
    }

    table td::before {
        content: "★ "; /* This adds a star symbol before each table cell content */
        position: absolute;
        top: 50%;
        left: 1px;
        transform: translateY(-50%);
        font-weight: bold;
        color: #17547c;
        font-size: 13px; /* Smaller label size */
    }

    tr {
        margin-bottom: 15px; /* Add spacing between rows */
    }
}