cc
/* service.css */
body, html {
    height: 100%;
    margin: 0;
}

.service-page {
    flex-grow: 1; /* Allows the middle section to take up available space */
    /*padding-bottom: 80; /* Space for footer */
    overflow-y: auto; /*Allows scrolling */
    color: #fff;
}
.service-page .content {
    padding-top: 5px; /* Add if needed */
}

.service-page header h1,
.service-page header p {
    color: #000000; /* Header font color */
}

.service-page .card-title,
.service-page .card-text {
    color: #000000; /* Card font color */
}

footer .btn-link {
    font-size: 18px; /* Customize the size of the buttons/icons */
    color: #000; /* Change color as needed */
    max-height: 80vh; /* Limits the modal height to 80% of the viewport */
    overflow-y: auto; /* Allows scrolling if content is too long */
    margin: 0 auto; /* Centers horizontally */
    width: auto;
    max-width: 600px; /* Optional: restricts modal width to a smaller box */
}

footer .fab {
    font-size: 1.5rem; /* Size of social media icons */
}

.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Specific styling for the modal background and text color */
.modal-content {
    color: #000; /* Ensure text inside the modal is black */
    align-items: center;  /* Center content horizontally */
}

.modal-body p {
    color: #000; /* Override any white text color if necessary */
}
.card-text {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit text to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Adds "..." to truncated text */
}
/* Centering the modal header text */
.modal-header .modal-title {
    text-align: center;  /* Center the title */
    width: 100%;  /* Ensure it takes the full width of the modal */
}

/* Centering all headings inside the modal body */
.modal-body h6 {
    text-align: center;  /* Center the text of the headings */
    margin-bottom: 1rem;  /* Add some spacing below the headings */
}

/* Optional: Center the content inside the modal body */
.modal-body p, .modal-body ul {
    text-align: center;  /* Center text and lists */
}
/* Remove the dark background overlay (delete previous .modal-backdrop or related styles) */
.modal-backdrop {
    display: none;
}

/* Floating Modal Styles */
.floating-modal {
    position: absolute;
    top: 0; /* Adjust this to position above the button */
    left: 50%;
    transform: translate(-50%, 20px); /* Center horizontally */
    width: 90%; /* Adjust width for responsive sizing */
    max-width: 500px;
    border-radius: 8px;
    z-index: 1050;
    display: none; /* Initially hidden */
}


/* Add padding to the top of the modal to ensure the header is visible */
.floating-modal .modal-content {
    padding-top: 1.5rem; /* Adjust as needed to reveal the heading */
    padding-bottom: 1.5rem; /* Optional: to balance top and bottom spacing */
    color: #000; /* Ensure text is black */
    display: flex;
    align-items: center; /* Aligns the modal towards the top */
    justify-content: center;
}

.modal-body .company-icons {
    display: flex;
    justify-content: center;
    position: relative; /* Required for translate to work effectively */
    transform: translate(-50%, 20px); /* Center horizontally */
    margin-top: 10px;
    width: 100px; /* Adjust to make the icons even smaller */
    left: 50%;
    height: auto; /* Keeps the aspect ratio */
    margin: 7px;
    padding: 10px;  /* Add padding on all sides */
    
}
.modal-footer {
    text-align: center; /* Centers content within the footer */
    position: relative; /* Required for translate to work effectively */
    transform: translate(-40%, 20px); /* Center horizontally */
}

.modal-footer .btn-secondary {
    margin: 0 auto; /* Ensures the button is centered */
    display: inline-block;
}

.company-logo {
    width: 50px; /* Adjust the size as needed */
    max-width: 100%; /* Ensure it scales on smaller screens */
    height: auto;
    align-items: center; /* Ensure icons are aligned vertically if they have different heights */
}
.modal-content {
    background-color: rgba(255, 255, 255, 0.95); /* Light color with 95% opacity */
    color: #000; /* Ensure the font color stays black */
}
/* Apply transparency only to the card background */
.card {
    background-color: rgba(255, 255, 255, 0.5); /* Light color with some transparency */
    border: none; /* Remove border if preferred */
    padding: 20px; /* Add padding as needed */
    border-radius: 5px; /* Optional: Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Subtle shadow for a floating effect */
}



.intro-section {
  text-align: center;
  margin: 50px auto;
  max-width: 800px;
  margin-top: 80px; /* Adjust this value based on your navbar height */
}


.intro-section h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #333;
}

.intro-section p {
  font-size: 1.2rem;
  color: #555;
}

.intro-section h1 {
  color: #333; /* Dark gray text */
}

.intro-section p {
  color: #555; /* Slightly lighter gray text */
}
