
.card {
    width: 100%;
    height: 300px; /* Set a fixed height for the cards */
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
    overflow: hidden; /* Ensure content stays within bounds */
    position: relative; /* Needed for animation */
    font-family: 'Roboto Condensed', sans-serif;
    display: flex; /* Align content inside the card */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Roboto Condensed', sans-serif;
}
@media (max-width: 991px) {
    body {
        padding-top: 60px; /* Adjust this value based on your navbar height */
    }

    .container {
        margin-top: 20px; /* Reduced top margin for mobile */
    }

    .navbar {
        height: 60px; /* Set a fixed height for the navbar on mobile */
    }

    .navbar-brand img {
        height: 40px; /* Adjust logo size for mobile if needed */
        width: auto;
    }
}

/* Existing styles remain unchanged */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 10% auto 5%;
    padding: 0 25px 0 15px;
}
.text-center {
    text-align: center;
}
#head {
    margin: 1rem 0;
    padding: 1rem 0;
}
.line {
    width: 50%;
    margin: 1rem auto;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px -10px -10px -5px;
}
.col-md-4 {
    width: 100%;
    padding: 10px 10px 10px 5px;
}
.card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 100%;
}
.card-body {
    padding: 1.5rem;
}
.icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.card-title {
    margin-bottom: 1rem;
}
.card-text {
    margin-bottom: 1.5rem;
}
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #343a40;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}
.btn:hover {
    background-color: #23272b;
}

@media (min-width: 576px) {
    .col-md-4 {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .col-md-4 {
        width: 33.333333%;
    }
}
.why-us {
    
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 60px 20px;
    box-sizing: border-box;
    min-height: 400px;
    font-family: 'Roboto Condensed', sans-serif;
}
.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(33, 22, 22, 0.8),rgba(32, 32, 32, 0.8));
}
.why-us-column {
    z-index: 1;
    color: white;
    text-align: center;
    max-width: 100%;
}
.why-us-column h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: white;
    font-family: 'Roboto Condensed', sans-serif;
}
.why-us-column p {
    font-size: 1.2em;
    line-height: 1.5;
    color: white;
    font-family: 'Roboto Condensed', sans-serif;
}

.project-help-wrapper {
    background-color: #ffffff9c;
    width: 100%;
    margin: 0;
    padding: 20px 0;
}

.project-help-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    padding:20px;
    margin: 0 auto;
    overflow: hidden; /* Prevent content from overflowing */
}

.project-help-content {
    flex: 1;
    padding-right: 20px;
}

.project-help-title {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.project-help-cta {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.project-help-image {
    flex: 1;
    max-width: 50%;
}

.project-help-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .project-help-section {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .project-help-content {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .project-help-image {
        max-width: 100%;
    }
}

.custom-why-us-container {
    padding: 120px 20px;
    background-color: #f8f9fa;
    font-family: 'Roboto Condensed', sans-serif;
}

.custom-why-us-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #2c3e50;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.custom-why-us-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.custom-why-us-item {
    flex: 1 1 calc(25% - 30px);
    min-width: 250px;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    transition: all 0.5s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border: 2px solid #e0e0e0;
}

.custom-why-us-item:hover,
.custom-why-us-item:focus {
    transform: translateY(-10px);
    border-color: #ff7300;
}

.custom-why-us-item.active {
    flex: 1 1 calc(40% - 30px);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.custom-why-us-item:not(.active) {
    flex: 1 1 calc(20% - 30px);
}

.custom-icon-wrapper {
    background-color: #ecf0f1;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    transition: all 0.5s ease;
}

.custom-why-us-item:hover .custom-icon-wrapper,
.custom-why-us-item.active .custom-icon-wrapper {
    background-color: #ff7300;
}

.custom-icon {
    font-size: 2em;
    color: #ff7300;
    transition: all 0.5s ease;
}

.custom-why-us-item:hover .custom-icon,
.custom-why-us-item.active .custom-icon {
    color: white;
}

.custom-why-us-item h3 {
    margin-top: 10px;
    color: #2c3e50;
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
}

.custom-short-desc,
.custom-full-desc {
    color: #7f8c8d;
    line-height: 1.6;
    transition: all 0.5s ease;
}

.custom-short-desc {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-full-desc {
    display: none;
}

.custom-why-us-item.active .custom-short-desc {
    display: none;
}

.custom-why-us-item.active .custom-full-desc {
    display: block;
}

.custom-click-instruction {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.8em;
    color: #95a5a6;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.custom-why-us-item:hover .custom-click-instruction {
    opacity: 1;
}

.custom-why-us-item.active .custom-click-instruction {
    display: none;
}

@media (max-width: 1200px) {
    .custom-why-us-item {
        flex: 1 1 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .custom-why-us-title {
        font-size: 2em;
    }

    .custom-why-us-item {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .custom-why-us-title {
        font-size: 1.5em;
    }

    .custom-why-us-item {
        padding: 20px;
    }
}

.custom-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.custom-card {
    width: calc(25% - 15px);
    border: 1px solid #ddd;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}
.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.custom-card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}
.custom-card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;

}
.custom-card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    font-family: Arial, sans-serif;
    
}
.custom-card-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-family: Arial, sans-serif;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    
}
.custom-card-link {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-decoration: none;
    color: #ff7300;
    font-weight: bold;
    font-size: 14px;
    margin-top: auto;
}
.custom-arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}
.custom-card-link:hover .custom-arrow {
    transform: translateX(5px);
}
@media (max-width: 1200px) {
    .custom-card {
        width: calc(33.333% - 13.333px);
    }
}
@media (max-width: 992px) {
    .custom-card {
        width: calc(50% - 10px);
    }
}
@media (max-width: 576px) {
    .custom-card {
        width: 100%;
    }
}





.tech-stack-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.tech-stack-header {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
    position: relative;
}

.tech-stack-header:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: #ff7300;
    margin: 10px auto;
}

.tech-stack-categories {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.tech-stack-category-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    position: relative;
}

.tech-stack-category {
    padding: 10px 20px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.tech-stack-category:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #ff7300;
    transition: all 0.3s ease;
}

.tech-stack-category:hover, .tech-stack-category.active {
    color:#ff7300;
}

.tech-stack-category:hover:after, .tech-stack-category.active:after {
    width: 100%;
    left: 0;
}

.tech-stack-content-wrapper {
    position: relative;
    height: 300px; /* Adjust this value as needed */
    overflow: hidden;
}

.tech-stack-content {
    position: absolute;
    left: 100%;
    opacity: 0;
    transition: all 0.5s ease;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}

.tech-stack-content.active {
    left: 0;
    opacity: 1;
}

.tech-stack-content.slide-out {
    left: -100%;
    opacity: 0;
}

.tech-item {
    flex: 0 0 calc(25% - 20px);
    max-width: 150px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100px; /* Fixed height for consistent alignment */
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon {
    transform: scale(1.1);
}

.tech-name {
    font-size: 14px;
    color: #333;
    text-align: center;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Customizing scrollbar for better appearance */
.tech-stack-content::-webkit-scrollbar {
    width: 8px;
}

.tech-stack-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.tech-stack-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.tech-stack-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media (max-width: 768px) {
    .tech-stack-categories {
        flex-direction: column;
        align-items: center;
    }
    .tech-stack-category-wrapper {
        margin-bottom: 10px;
    }
    .tech-item {
        flex: 0 0 calc(50% - 20px);
    }
    .tech-stack-content-wrapper {
        height: 400px; /* Increased height for mobile view */
    }
}