body {
    font-family: Arial, sans-serif;
}

.navbar-brand {
    font-weight: bold;
}

.navbar-nav .nav-link {
    position: relative;
    color: #6c757d; /* Default color */
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #dc3545; /* Hover color */
}
.navbar-nav .nav-link.active{
    color:#dc3545;
    font-weight: bold;
    
}


.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #dc3545; /* Line color (red) */
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after {
    width: 100%; /* Line expands on hover */
   
}





@media (max-width: 767.98px) {
    .hero .row > div {
        margin-bottom: 5vh;
    }
}

.hero h1 {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem; /* Adjust font size as needed */
    line-height: 1.2;
}

.hero .lead {
    color: #6c757d; /* Gray color for paragraph */
    font-size: 1.2rem; /* Adjust font size if needed */
}

.btn-outline-dark {
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 5px;
}
.btn-outline-dark:hover {
    transform: translateX(10px);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.btn-main{
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid black;
}
.btn-main:hover{
    transform: translateX(10px);
    border: 1px solid black;

    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.hero img {
    animation: float 3s ease-in-out infinite;
}








.why-choose-us {
    text-align: center;
    padding: 50px 20px;
    margin-top: 10vh;
    /* background: linear-gradient(135deg, #e74c3c, #000000); */
    /* background-color: #fff; */
}

.why-choose-us h2 {
    font-size: 36px;
    color: black;
    margin-bottom: 30px;
}

.features-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    /* This will ensure it is centered even when items are wrapped */
}

.feature {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Initial light shadow for a card effect */
}

.feature i {
    font-size: 50px;
    margin-bottom: 15px;
    display: block;
}

.feature h3 {
    font-size: 24px;
    color: black;
    margin-bottom: 10px;
}

.feature p {
    font-size: 16px;
    color: #777;
}

.feature:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        width: 100%; /* Make the feature cards full width on small screens */
        max-width: 400px; /* Limit max width */
    }
}




.counter-section {
    background-color: #f9f9f9;
}

.counter-item h3 {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}

.counter-item p {
    font-size: 1.1rem;
    color: #555;
}

.text-danger {
    color: #f05454 !important;
}



/* support services section */
.support_section{
    background: linear-gradient(135deg, #e74c3c, #000000);

}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #f8f4f4;
    color: #f05454;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto;
}

.list-group-item{
    border: none;
}

.list-group-item.active {
    background-color: #f05454;
    border-color: #f05454;
    border: none;
    color: white;
    font-weight: bold;
}
.btn-main-2{
    border: 1px solid white;
    margin-top: 5vh;
    color: white;

}
.btn-main-2:hover{
    transform: translatex(10px) scale(1.05);
    transition: transform 0.3s ease;
    color: white;
    border: 1px solid white;
    /* box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);*/
    

}





/* Testimonials Section */
.testimonial-carousel .testimonial-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.testimonial-carousel .testimonial-item i {
    color: #bf8a83;
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-carousel .testimonial-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.testimonial-carousel .testimonial-item .img-fluid {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.testimonial-carousel .testimonial-item h5 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.testimonial-carousel .testimonial-item small {
    font-size: 0.9rem;
    color: #999;
}

/* Center text */
.text-center {
    text-align: center;
}

/* Title styling */
.testimonials-title {
    font-size: 2rem;
    color: #000;
    font-weight: bold;
    margin-bottom: 30px;
}







/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #e74c3c, #000000);
    padding: 40px 0;
    opacity: 0;
    transform: translateY(100px) scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.2s;
}

.footer.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Other Footer Styles */
.footer-logo {
    font-size: 40px;
    color: white; /* Red color for "rex" */
    font-weight: bold;
}

.footer-logo-highlight {
    color: #333; /* Dark color for "D" */
}

.footer-description {
    color: white;
    font-size: 14px;
    margin-top: 10px;
    max-width: 250px;
}

.footer-heading {
    font-weight: bold;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f44336; /* Hover color */
    transform: translateY(-10px) scale(1.05);
    transition: transform 0.3 ease;
    
}

.footer-hiring {
    color: #f44336;
}

.footer-social-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.footer-social-links a {
    color: white;
    font-size: 18px;
    transition: color 0.3s;
}

.footer-social-links a:hover {
    color: #f44336;
}








/* about us   */
/* .background-about {
    width: 100%;
    height: 100%; 
    background-image: url('img/about-1.png');
    background-size: cover;
    background-repeat: no-repeat;
} */




.header-section {
    background: linear-gradient(135deg, #e74c3c, #000000);
    color: white;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
}

/* Creating the curve using clip-path */
.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    clip-path: ellipse(80% 50% at 50% 0);
    z-index: -1;
}

/* Header Text Styling */
.header-section h1 {
    /* font-size: 1.2rem; */
    font-weight: 300;
}
.header-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

/* Content Section */
.content-section {
    padding: 50px 20px;
    text-align: center;
}


.content-section{
    text-align: center;
    padding: 50px 20px;
}
.content-section h1 {
    /* font-size: 2rem; */
    color: #dc3545;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}

.content-section p {
    font-size: 1rem;
    color: #6c757d;
    max-width: 650px;
    margin: 0 auto;
}



/* curve component */
.custom-shape-divider-bottom-1731617136 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1731617136 svg {
    position: relative;
    display: block;
    width: calc(162% + 1.3px);
    height: 169px;
}

.custom-shape-divider-bottom-1731617136 .shape-fill {
    fill: #FFFFFF;
}




/* Mission Section Styling for Both Components */
/* Mission Section Styling */
.mission-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.counter-label{
    color: #d63031;
    font-family: 'Playfair Display', serif;
    font-size: large;
    margin-left: 5vh;

}
.counter{
    color: #d63031;
    font-family: 'Playfair Display', serif;
    font-size: larger;
    margin-left: 5vh;

}

/* Images Container */
.images-container, .images-container-2 {
    position: relative;
    width: 250px;
    margin-right: 30px; /* Space between images and text */
}

/* Image Styling for Larger Screens */
.images-container img, .images-container-2 img {
    width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
    transition: transform 0.3s;
}

/* Main logo styling */

.main-logo {
    z-index: 2;
    transform: scale(1.1); /* Make the main logo slightly larger */
    top: 70px;

}

/* Background images styling */
.background-image-left {
    left: 50px;
    top: 120px;
    opacity: 0.7;
    z-index: 1;
    transform: scale(0.9);
}

.background-image-right {
    right: 50px;
    top: 60px;
    opacity: 0.7;
    z-index: 1;
    transform: scale(0.9);
}

.background-image-up {
    right: -100px;
    top: -125px;
    opacity: 0.7;
    z-index: 1;
    transform: scale(0.9);
}


/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Text Container */
.text-container {
    max-width: 500px;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .mission-section {
        flex-direction: column; /* Stack images and text vertically on mobile */
        align-items: center;
        padding: 20px 10px; /* Reduce padding for mobile */
    }
    
    /* Make images fit the full width on mobile */
    .images-container, .images-container-2 {
        width: 100%; /* Make the container full width */
        margin: 0 0 20px 0; /* Center align with bottom margin */
    }
    
    /* Adjust image size for mobile */
    .images-container img, .images-container-2 img {
        width: 100%; /* Full width for mobile */
        height: auto; /* Maintain aspect ratio */
        border-radius: 8px; /* Keep rounded corners */
    }

    /* Center-align text for smaller screens */
    .text-container {
        max-width: 100%; /* Make text container full width */
        text-align: center; /* Center-align text for smaller screens */
        padding: 0 20px; /* Add some side padding for text */
    }
}

@media (max-width: 576px) {
    /* Further adjust image size and layout for smaller screens */
    .images-container img, .images-container-2 img {
        width: 100%; /* Full width for very small screens */
        height: auto;
    }
    
    .text-container h3 {
        font-size: 1.3rem; /* Slightly smaller heading */
    }

    .text-container p {
        font-size: 0.85rem; /* Smaller font for better readability */
    }
}




/* servives components */

/* CSS for Trusted By Section with Hover Effect */
.trusted-by {
    background-color: #f9f9f9;
    margin-top: 5vh;
}

.trusted-by h3 {
    color: #333;
}

.logo-container {
    gap: 2rem;
}

.logo {
    max-width: 150px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.logo-container:hover .logo {
    opacity: 0.3; /* All logos fade out slightly */
}

.logo-container .logo:hover {
    opacity: 1 !important; /* Hovered logo stays fully visible */
}




/* Lead generation */
/* Lead generation */
.lead-generation {
    color: #000000;
    margin-top: 8vh;
}

.lead-generation h2 {
    color: #000000;
}

.lead-generation .text-muted {
    color: rgb(0, 0, 0);
}

.lead-generation .card {
    background-color: #fff;
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}


.lead-generation .card-link{
    text-decoration: none;
    color: inherit; /* Inherits color to make it look like normal text */
    display: block; /* Makes the entire card area clickable */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lead-generation .card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.lead-generation .card img {
    border-radius: 10px 10px 0 0;
    height: 200px;
    object-fit: cover;
}

.lead-generation .card-title {
    font-weight: 600;
    color: #333;
}

.lead-generation .card-text {
    color: #666;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    /* For tablets and smaller desktops, make 2 rows */
    .lead-generation .col-md-6 {
        margin-bottom: 20px; /* Add spacing between cards */
    }
}

@media (max-width: 768px) {
    /* For mobile, make cards full-width and stack vertically */
    .lead-generation .col-md-6,
    .lead-generation .col-lg-6,
    .lead-generation .col-lg-4 {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .lead-generation .row {
        margin-bottom: 20px;
    }
}

@media (min-width: 1200px) {
    /* Ensure spacing on larger screens */
    .lead-generation .col-lg-4 {
        margin-bottom: 20px;
    }
}








/* business partner section */
.business-partner-section {
    padding: 60px 0;
    background-color: #f1f3f5;
}

.custom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content {
    max-width: 50%;
}

.content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.content p {
    color: #6c757d;
    margin-bottom: 20px;
}

.btn-custom {
    margin-right: 15px;
}

.image {
    max-width: 45%;
    border-radius: 10px;
    overflow: hidden;
}

.image img {
    width: 100%;
    height: auto;
}


/* contact section */

/* Custom Styling for the Contact Section */
.contact-section {
    background-color: #f9f9f9;
    border-radius: 10px;
}

/* Text Section */
.text-section {
    background-color: #ffffff;
}

.text-section h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}

.text-section p {
    color: #555;
    font-size: 1rem;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.btn-contact {
    background: linear-gradient(to right, #e74c3c, #d63031);
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s;
    width: 50%;
}

.btn-contact i {
    margin-right: 8px;
}

.btn-contact:hover {
    background: linear-gradient(to right, #d63031, #e74c3c);
    color: #fff;
}

/* Image Styling */
.contact-section img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 0 10px 10px 0;
}

/* Responsiveness */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column; /* Stack elements vertically */
    }
    
    .contact-section img {
        border-radius: 0 0 10px 10px; /* Adjust radius for stacked layout */
    }
    
    .text-section {
        padding: 20px;
        text-align: center; /* Center align text for smaller screens */
    }

    .btn-contact {
        width: 100%; /* Full-width button on mobile */
        padding: 12px 0;
    }
}

@media (max-width: 576px) {
    .text-section h3 {
        font-size: 1.5rem; /* Adjust heading size for smaller screens */
    }
    
    .text-section p {
        font-size: 0.9rem; /* Adjust text size for smaller screens */
    }
}








