/********** Template CSS **********/
:root {
    --primary: #d8aa46;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
   
}

.blue{
    color:#06F
}
.green{
    color:#0A0;
}
/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
@font-face {
    font-family: 'HelveticaNeueLT Pro 55 Roman';
    src: url('/fonts/HelveticaNeueLTPro-Roman.woff2') format('woff2'),
         url('/fonts/HelveticaNeueLTPro-Roman.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

h1,
h2,
.fw-bold {
    font-weight: 400 !important;
    font-family: 'HelveticaNeueLT Pro 55 Roman', 'Helvetica Neue', Arial, sans-serif;
}
.rdbsh4{
    font-size: 23px;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}
/*** Navbar ***/
.navbar-dark {
    background: linear-gradient(rgba(9, 30, 62, 0.7), rgba(9, 30, 62, 0.7));
    padding: 0.5rem 1rem;
}

.navbar-dark .navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-dark .navbar-brand img {
    height: 30px;
    margin-right: 10px;
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

/* Navigation links */
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: hsl(0, 29%, 97%);
    font-size: 18px;
    font-weight: 600;
    transition: .5s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

/* Sticky navbar */
.sticky-top.navbar-dark {
    position: fixed;
    background: linear-gradient(rgba(9, 30, 62, 0.7), rgba(9, 30, 62, 0.7));
    z-index: 1030;
    width: 100%;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
}

/* Toggler (hamburger icon) */
.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    padding: 8px 10px;
}

/* ---------- Responsive Images ---------- */
@media (max-width: 575.98px) {
    .navbar-dark .navbar-brand img {
        height: 24px;
        margin-right: 8px;
    }

    .navbar-dark .navbar-nav .nav-link {
        font-size: 16px;
        padding: 15px 0;
        margin-left: 15px;
    }

    .navbar-dark .navbar-brand h1 {
        font-size: 18px;
    }

    .navbar-dark .navbar-toggler {
        right: 10px;
        position: absolute;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .navbar-dark .navbar-brand img {
        height: 26px;
    }

    

    .navbar-dark .navbar-nav .nav-link {
        font-size: 17px;
        padding: 20px 0;
        margin-left: 20px;
    }

    .navbar-dark .navbar-brand h1 {
        font-size: 22px;
        color: white;
    }

    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 15px 0;
        color: var(--dark);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }

    .navbar-dark .navbar-brand img {
        height: 30px;
    }

    .navbar-dark .navbar-nav .nav-link {
        font-size: 18px;
        padding: 35px 0;
        margin-left: 25px;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

@media (min-width: 1200px) {
    .navbar-dark .navbar-brand img {
        height: 35px;
    }

    .navbar-dark .navbar-nav .nav-link {
        font-size: 20px;
        padding: 40px 0;
        margin-left: 30px;
        color: white;
    }

    .navbar-dark .navbar-brand h1 {
        font-size: 28px;
    }
}

/* Make the RDBS logo responsive */
.rdbsimg {
    max-width: 100%;
    height: 75px;
    margin-right: 10px;
}

/* Adjust the logo size for medium screens (e.g., tablets) */
@media (max-width: 768px) {
    .rdbsimg {
        height: 40px;  /* Smaller height for mobile/tablet */
    }
}

/* Adjust the logo size for small screens (e.g., mobile phones) */
@media (max-width: 576px) {
    .rdbsimg {
        height: 35px;  /* Further reduce height on smaller devices */
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .7);
    z-index: 1;
}


@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}




/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}
.client-box {
    padding: 15px 20px;
    border-radius: 10px;
    color: #696969;
    margin-bottom: 20px;
}

.software { background-color: #d3e5f2; }
.education { background-color: #ebd4f4 ; }
.engineering { background-color: #d7efc9; }
.agriculture { background-color: #f3decc; }
.healthcare { background-color: #f8978c; }
.marketing { background-color: #52e9cb; }
.civil { background-color: #93bbe3; }
.financial { background-color: #ecc68a; }
.private { background-color: #8acacf; }
.entertainment { background-color: #d385f5; }
.b2b { background-color: #97e9d9; }
.travel { background-color: #e9bea1; }
.government { background-color: #96c1ec; }
.hardware { background-color: #ea948b; }
.power { background-color: #91d4ad; }


/*** Service ***/
.service-item {
    position: relative;
    height: 720px;
    padding: 20px;
    overflow: hidden; /* remove scrollbar */
    transition: 0.5s;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 10px;
    background-color: #fff;
    text-align: left; /* Align content to left for bullet style */
}
.service-item-hm {
    position: relative;
    height: 370px;
    padding: 20px;
    overflow: hidden; /* remove scrollbar */
    transition: 0.5s;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 10px;
    background-color: #fff;
    text-align: left; /* Align content to left for bullet style */
}


.service-item .feature-item {
    /* display: flex; */
    align-items: flex-start;
    margin-bottom: 10px;
}

.service-item .feature-item::before {
    color: var(--primary, #007bff); /* fallback to blue if --primary not set */
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-right: 8px;
}

.service-item .feature-item h6 {
    margin: 0;
    font-weight: 600;
}

.service-item .feature-item p {
    margin: 0;
    padding-left: 8px;
}



.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/bg4\ -\ Copy2.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}



/* Add box-shadow and interactivity to the container */
.container-fluid {
    position: relative;
    background-color: #f8f9fa;  /* Light background for contrast */
    border-radius: 10px;  /* Rounded corners for the section */
    overflow: hidden;  /* Ensures content doesn't spill over */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);  /* Soft shadow for depth */
    transition: all 0.3s ease;  /* Smooth transition for hover effect */
}

/* Interactive effect: increase shadow and scale the container on hover */
.container-fluid:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);  /* More prominent shadow */
}

/* Style the image to appear smooth with a slight zoom effect */
.about-img {
    transition: transform 0.3s ease-in-out;
}

/* Zoom effect on hover */
.container-fluid:hover .about-img {
    transform: scale(1.05);  /* Slight zoom effect when hovered */
}

/* Button hover effect */
.btn-primary {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #0044cc;  /* Darker blue on hover */
    transform: translateY(-3px);  /* Lift effect on hover */
}

/* Add a shadow to the button */
.btn-primary {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);  /* More prominent shadow */
}

/* Optional: Add a subtle fade-in effect for the text */
.wow {
    visibility: hidden;
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* For responsiveness: adjust the text and image layout on smaller screens */
@media (max-width: 768px) {
    .container-fluid {
        padding: 20px;
        border-radius: 5px;
    }

    .col-lg-7, .col-lg-5 {
        width: 100%;
    }

    .about-img {
        height: 350px; /* Reduce image size on smaller screens */
    }
}

/* domain items */
.domain-item {
    text-align: center;  /* Center-align the content */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);  /* Soft shadow effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;  /* Smooth transition */
    border-radius: 10px;  /* Rounded corners */
    overflow: hidden;  /* Ensure the image doesn't spill outside */
}

/* Hover effect for images and their container */
.domain-item:hover {
    transform: translateY(-5px);  /* Lift effect */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);  /* More prominent shadow */
}

/* Style the heading under each image */
.domain-item h4 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
    margin-top: 15px;
}

/* Optional: Add some margin and padding for better alignment */
.container-fluid {
    padding: 40px 0;
}

.section-title h5 {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 700;
}

/* Responsiveness for smaller screens */
@media (max-width: 768px) {
    .domain-item {
        margin-bottom: 20px;  /* Add margin for smaller screens */
    }
}
/* Limit the text height and add an ellipsis (...) for truncation */
.truncated-text {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Adjust the number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto;
    max-height: 90px; /* Adjust the height based on your needs */
}

/* Style the Read More button */
.read-more {
    display: block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

/* Change color of the Read More button on hover */
.read-more:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* CAPTCHA Section */
.captcha-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    margin-top: 20px;
}

.captcha-container img {
    height: auto; /* Maintain the aspect ratio of the image */
    border: 1px solid #ddd; /* Add a border to the image for consistency */
    border-radius: 5px; /* Rounded corners for the CAPTCHA image */
    margin-right: 25px;
}

.captcha-container input {
    /* margin: 0 10px 0 0; */
    padding: 10px 15px; /* Consistent padding */
    border-radius: 5px;
    border: 1px solid #494747;
    font-size: 16px;
    width: 100%; /* Make input fill the available width */
    box-sizing: border-box; /* Include padding and border in width calculation */
    background: none;
}

.captcha-container button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 5px 20px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
        margin-right: 39px;
}

.captcha-container button:hover {
    background-color: #0056b3;
}

.captcha-container input:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

/* Ensure the captcha input aligns properly */
.captcha {
    width: 70%; /* Adjust the width to give space for the refresh button */
    display: inline-block;
    margin-top: 10px;
}

/* Responsive Design for CAPTCHA */
@media (max-width: 768px) {
    .captcha-container {
        flex-direction: column; /* Stack the CAPTCHA elements on mobile */
        align-items: flex-start; /* Align elements to the left */
    }

    .captcha-container img {
        max-width: 90%; /* Allow the image to be more flexible on smaller screens */
    }

    .captcha-container input {
        width: 100%; /* Allow input to take full width */
    }

    .captcha-container button {
        width: 100%; /* Ensure button takes full width on mobile */
        margin-top: 10px; /* Add space above the button */
    }
}



/* Center the entire container that holds experience items */
.col-md-10 {
    display: flex;
    justify-content: center; /* Center the experience item horizontally */
    align-items: center; /* Center the experience item vertically */
    flex-wrap: wrap; /* Allow items to wrap in case they exceed the width */
    width: 100%;
    margin: 0 auto; /* Ensure it's centered horizontally on the page */
}

/* Center each experience item with a border */
.experience-item {
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row; /* Default to row for left-right layout */
    align-items: flex-start; /* Ensure content starts from the top */
    border: 1px solid black; /* Add 1px black border */
    padding: 15px; /* Add padding to ensure content doesn't touch the border */
    justify-content: center; /* Center the experience item */
    width: 100%; /* Ensure the item takes full width in its container */
    max-width: 1000px; /* Max width for larger screens, adjust as needed */
    
}
/* Center each experience item with a border */
.experience-item-in {
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row; /* Default to row for left-right layout */
    align-items: flex-start; /* Ensure content starts from the top */
    border: 1px solid black; /* Add 1px black border */
    padding: 15px; /* Add padding to ensure content doesn't touch the border */
    justify-content: center; /* Center the experience item */
    width: 100%; /* Ensure the item takes full width in its container */
    max-width: 1000px; /* Max width for larger screens, adjust as needed */
    height: 460px;
    
}

/* Styling for images */
.experience-img {
    flex: 0 0 25%; /* Image takes up 25% of the space */
    height: 400px;
    overflow: hidden;
}

.experience-img img {
    object-fit: contain; /* Ensures the image is contained and doesn't get distorted */
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Add scroll if image height overflows */
.experience-img-wrapper {
    height: 100%; /* Full height of the image container */
    overflow: auto; /* Show scrollbar if content overflows */
}


.product-img-wrapper {
    width: 100%;
    height: 450px; /* or whatever height suits your design */
    overflow: hidden;
    border-radius: 5px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Content area of the experience item */
.experience-item .p-4 {
    flex: 0 0 75%; /* Content takes up 75% of the space */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Ensures content starts from the top */
}

/* Title */
.experience-item h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Paragraph styles */
.experience-item p {
    font-size: 1rem;
    color: #333;
}

.experience-item p strong {
    font-weight: bold;
}

/* Button or link inside the image wrapper */
.experience-item .experience-img-wrapper a {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    font-size: 0.9rem;
    border-radius: 5px;
    text-decoration: none;
}

.experience-item .experience-img-wrapper a:hover {
    background-color: #0056b3;
}

/* Reverse the flex direction for alternating items */
.experience-item.flex-row-reverse {
    flex-direction: row-reverse;
}

/* Adjust for Mobile Responsiveness */
@media (max-width: 767px) {
    .experience-item {
        margin-bottom: 20px;
        flex-direction: column; /* Stack items on smaller screens */
        padding: 10px; /* Reduce padding on mobile */
    }

    .experience-img {
        height: 250px;
        flex: 0 0 100%; /* Image takes up full width on mobile */
    }

    .experience-item .p-4 {
        flex: 0 0 100%; /* Content takes up full width on mobile */
    }

    .experience-item h4 {
        font-size: 1.3rem;
    }

    .experience-item p {
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .col-12 {
        display: flex;
        justify-content: center;
    }

    .col-12 .experience-item {
        height: 100%;
        display: flex;
        flex-direction: row;
    }
}
/* Custom CSS for Experience Section */
.custom-experience {
    margin-bottom: 30px;
}

/* Styling for Experience Images */
.experience-img-wrapper {
    position: relative;
    overflow: hidden;
}

.experience-img-large {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.experience-img-large:hover {
    transform: scale(1.1);
}
.scrollable-img-wrapper {
    max-height: 400px;         /* Set the max height for scroll */
    overflow-y: auto;       
    overflow-x: hidden;
    display: block;
    position: relative;
}

/* Ensure the image stays within container and scrolls */
.scrollable-img-wrapper img {
    display: block;
    width: 100%;               /* Make image responsive */
    height: auto;              /* Maintain aspect ratio */
    object-fit: contain;       /* Show full image without cropping */
}


/* Custom Tab Styles */
.nav-pills .nav-link {
    border-radius: 0;
    padding: 10px 20px;
}

.nav-pills .nav-link.active {
    background-color: #0056b3;
    color: white;
}

.tab-content {
    margin-top: 30px;
}

/* Fade in effect */
.wow {
    visibility: hidden;
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet and Mobile Responsiveness */
@media (max-width: 768px) {
    .experience-item {
        margin-bottom: 15px;
    }

    .experience-img-wrapper {
        height: 250px;
    }

    .experience-img-large {
        object-fit: cover;
    }
}

/*=====================
======Our Blog CSS=====
======================*/
#blog {
    padding-bottom: 75px;
    padding-top: 75px;
}

.blog-heading {
    margin-bottom: 35px;
    margin-top: 15px;
}
/* Shared Styles for Blog Boxes */
.single-blog{
        margin-bottom: 30px;
        background-color: #F7F7F7;
        padding: 25px;
        transition: all 1s ease 0s;
        -moz-transition: all 1s ease 0s;
        -webkit-transition: all 1s ease 0s;
        -o-transition: all 1s ease 0s;
        -webkit-box-shadow: 0 2px 0 0 #ddd;
        box-shadow: 0 2px 0 0 #ddd;
        display: flex;
        flex-direction: column;
        height: 650px;
        overflow: hidden;
        border: 2px solid #ddd;
        border-radius: 5px;
}

.single-blog-hm {
    margin-bottom: 30px;
    background-color: #F7F7F7;
    padding: 25px;
    transition: all 1s ease 0s;
    -moz-transition: all 1s ease 0s;
    -webkit-transition: all 1s ease 0s;
    -o-transition: all 1s ease 0s;
    -webkit-box-shadow: 0 2px 0 0 #ddd;
    box-shadow: 0 2px 0 0 #ddd;
    display: flex;
    flex-direction: column;
    height: 550px;
    overflow: hidden;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.single-blog:hover,
.single-blog-hm:hover {
    background-color: rgba(31, 34, 35, 0.307);
    color: #fff;
    border-color: #f5b86e;
}

.single-blog:hover h2,
.single-blog-hm:hover h2 {
    color: #fff;
    margin-top: 20px;
}

.single-blog:hover .btn-primary,
.single-blog-hm:hover .btn-primary {
    background-color: #e0a36d;
    color: #fff;
    border-color: #fff;
    transition: all 0.9s ease 0s;
    -moz-transition: all 0.9s ease 0s;
    -webkit-transition: all 0.9s ease 0s;
    -o-transition: all 0.9s ease 0s;
}
/* 
.single-blog .img-container,
.single-blog-hm .img-container {
    width: 100%;
    max-height: 300px;
    overflow-y: hidden;
} */


.single-blog .img-container,
.single-blog-hm .img-container {
    width: 100%;
    height: 300px; /* fixed height */
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0; /* prevents shrinking if space is tight */
}


.single-blog img,
.single-blog-hm img {
    width: 100%;
    min-height: 300px;
}

.single-blog h2,
.single-blog-hm h2 {
    color: #43484E;
    font-size: 24px;
    margin: 0 0 15px 0;
    margin-top: 20px;
}

.single-blog ul,
.single-blog-hm ul {
    padding: 0;
    overflow: hidden;
}

.single-blog ul li,
.single-blog-hm ul li {
    border-right: 2px solid #999999;
    float: left;
    line-height: 10px;
    list-style: none;
    margin-right: 10px;
    padding-right: 10px;
    font-size: 12px;
    color: #999;
}

.single-blog ul li:last-child,
.single-blog-hm ul li:last-child {
    border: none;
}

.blog-content {
    margin-bottom: 25px;
    margin-top: 0;
    flex-grow: 1;
}

.single-blog .btn-primary,
.single-blog-hm .btn-primary {
    text-transform: uppercase;
    border: 4px solid #f5b86e;
    color: #686868;
    background-color: rgba(255, 255, 255, 0);
    border-color: #f5b86e;
}

.single-blog:hover .btn-primary:hover,
.single-blog-hm:hover .btn-primary:hover {
    background-color: #fc7700;
    color: #fff;
}

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .single-blog,
    .single-blog-hm {
        height: auto;
        margin-bottom: 20px;
        padding: 20px;
    }

    .single-blog .img-container,
    .single-blog-hm .img-container {
        height: 180px;
    }

    .single-blog h2,
    .single-blog-hm h2 {
        font-size: 18px;
    }

    .single-blog .btn-primary,
    .single-blog-hm .btn-primary {
        font-size: 13px;
    }
}

/* Small Devices (portrait tablets and large phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .single-blog,
    .single-blog-hm {
        height: auto;
        margin-bottom: 20px;
    }

    .single-blog .img-container,
    .single-blog-hm .img-container {
        height: 200px;
    }

    .single-blog h2,
    .single-blog-hm h2 {
        font-size: 20px;
    }

    .single-blog .btn-primary,
    .single-blog-hm .btn-primary {
        font-size: 14px;
    }
}

/* Medium Devices (landscape tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .single-blog,
    .single-blog-hm {
        height: 600px;
    }

    .single-blog .img-container,
    .single-blog-hm .img-container {
        height: 250px;
    }

    .single-blog h2,
    .single-blog-hm h2 {
        font-size: 22px;
    }

    .single-blog .btn-primary,
    .single-blog-hm .btn-primary {
        font-size: 15px;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .single-blog {
        height: 700px;
    }

    .single-blog-hm {
        height: 500px;
    }

    .single-blog .img-container,
    .single-blog-hm .img-container {
        height: 280px;
    }

    .single-blog h2,
    .single-blog-hm h2 {
        font-size: 23px;
    }

    .single-blog .btn-primary,
    .single-blog-hm .btn-primary {
        font-size: 15px;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .single-blog {
        height: 850px;
    }

    .single-blog-hm {
        height: 630px;
    }

    .single-blog .img-container,
    .single-blog-hm .img-container {
        height: 300px;
    }

    .single-blog h2,
    .single-blog-hm h2 {
        font-size: 24px;
    }

    .single-blog .btn-primary,
    .single-blog-hm .btn-primary {
        font-size: 16px;
    }
}

/* Extra Extra Large Devices (widescreens, 1400px and up) */
@media (min-width: 1400px) {
    .single-blog {
        height: 800px;
    }

    .single-blog-hm {
        height: 900px;
    }

    .single-blog .img-container,
    .single-blog-hm .img-container {
        height: 320px;
    }

    .single-blog h2,
    .single-blog-hm h2 {
        font-size: 26px;
    }

    .single-blog .btn-primary,
    .single-blog-hm .btn-primary {
        font-size: 17px;
    }
}