/* Root Variables */
:root {
    --primary-color: #ffffff;
    /* White background */
    --secondary-color: black;
    /* Blue text and highlights */
    --background-color: #f0f0f0;
    /* Slightly off-white background */
    --text-color: #000000;
    /* Black text */
    --accent-color: #f6d44c;
    /* Blue for accents */
    --hover-color: #d8b628;
}

/* General Styling */
html {
    box-sizing: border-box;
}

body {
    background-color: rgba(0, 0, 0, 0.692);
    color: var(--text-color);
    margin: 0;
}





/* Loading Screen Styles */
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.904);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    text-align: center;
}

.logo {
    width: 120px;
    margin-bottom: 20px;
}

.percentage {
    font-size: 1rem;
    color: #f4d66c;
}












/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.692);
    position: fixed;
    /* Fix the navbar to the top */
    width: 100%;
    z-index: 1000;
    /* Ensure it stays on top of other content */
    top: 0;
    left: 0;
    border-bottom: 1px solid #ddd;
    /* Optional: add a border for separation */
}

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

.navbar-brand img {
    height: 40px;
    /* Adjust the height of the brand logo */
}

.navbar-brand h5 {
    margin-left: 15px;
    /* Space between the logo and text */
    color: var(--accent-color);
    /* Ensure the text color is appropriate */
}

.navbar-toggler {
    background-color: var(--accent-color);
    /* Permanent accent color background */
    border: none;
    /* Remove border */
    transition: background-color 0.3s;
    /* Smooth transition for background color */
}

.navbar-toggler img {
    width: 24px;
    /* Adjust the width of the toggler icon */
}

.navbar-nav {
    margin-left: auto;
}

.navbar-nav .nav-link {
    color: var(--accent-color) !important;
    position: relative;
    padding: 3px;
    margin: 0 15px;
    transition: color 0.3s, background-color 0.3s, text-decoration 0.3s;
    border-radius: 5px;
}

.navbar-nav .nav-link:hover {
    font-weight: bold;
    color: black !important;
    background-color: var(--accent-color);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link.active {
    color: black !important;
    background-color: var(--accent-color);
}

.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-nav .dropdown-menu {
    background-color: rgba(0, 0, 0, 0.692);
    display: none;
    /* Hide the dropdown menu by default */
    text-align: left;
    /* Ensure left alignment of content */
    width: auto;
    /* Automatically size the dropdown */
    min-width: 100%;
    /* Ensure it takes at least the width of the dropdown toggle */
}

.navbar-nav .dropdown-item {
    color: var(--accent-color);
    transition: background-color 0.3s;
    white-space: nowrap;
    /* Prevent text wrapping */
}

.navbar-nav .dropdown-item:hover {
    font-weight: bold;
    background-color: black;
}

/* Additional Styles */
.navbar-nav .dropdown-toggle::after {
    display: none;
    /* Hide the default dropdown arrow */
}
















.btn-primary {
    background-color: var(--accent-color);
    border: none;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    background-color: var(--hover-color);
    box-shadow: 0 0 8px var(--accent-color), 0 0 16px var(--accent-color);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align the content to the left */
    text-align: left;
    /* Align text to the left within the box */
    overflow: hidden;
    padding: 0 20px;
    /* Add some padding to the sides */
    margin-top: 65px;
    /* Adjust margin-top to match the height of the fixed navbar */
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    color: var(--primary-color);
    /* White text color */
    max-width: 600px;
    /* Limit the width of the content box */
}

.highlight {
    color: var(--accent-color);
}

.hero-box {
    background-color: rgba(0, 0, 0, 0.6);
    /* Semi-transparent black background */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    /* Limit the width of the content box */
    width: 100%;
    /* Ensure the box takes full width within the container */
}

.hero h1 {
    font-size: 3rem;
    /* Larger font size for emphasis */
    margin-bottom: 20px;
    font-weight: bold;
    /* Make the text bold */
}

.hero p {
    font-size: 1.25rem;
    /* Adjust size for readability */
    margin-bottom: 30px;
}

.hero-box h1 {
    color: var(--primary-color);
    /* White color for 'XCELL' */
    margin: 0;
    /* Remove default margin */
    font-size: 3rem;
    /* Adjust the size as needed */
}

.hero-box p {
    color: var(--primary-color);
    /* White text color for the paragraph */
    margin-top: 10px;
    /* Space between the title and paragraph */
}

/* About Us Section */
.about-us {
    background-color: var(--background-color);
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    /* Black color for headings */
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    /* Rounded corners for the image */
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.25rem;
    }

    .about-text {
        font-size: 0.875rem;
    }
}
















#reviews{
    background: var(--accent-color);
}
#reviewCarousel {
    width: 60%;
    margin: 0 auto;
    /* Center the carousel */
}

.carousel-inner img {
    object-fit: cover;
    /* Ensure images cover the space without distortion */
}








/* About Us Section */
.about-us {
    background-color: var(--background-color);
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color) !important;
    margin-bottom: 1rem;
    margin-bottom: 50px;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: var(--background-color);
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.card {
    border-radius: 8px;
    /* Rounded corners for the card */
    overflow: hidden;
    background-color: var(--primary-color);
    /* White background for the card */
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    /* Blue color for titles */
    margin-bottom: 1rem;
}

.card-text {
    font-size: 1rem;
    color: var(--text-color);
    /* Black text color for descriptions */
}

.card.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for cards */
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .card-text {
        font-size: 0.875rem;
    }
}


















/* Service Section */
.services {
    background-color: var(--background-color);
    padding: 5rem 0;
}

/* Container for the cards to handle uniform height */
.service-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    /* Space between cards */
}

/* Service Card */
.service-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex: 1 1 calc(33.333% - 1.5rem);
    /* Three cards per row with spacing */
    min-height: 400px;
    /* Fixed height for consistency */
    display: flex;
    flex-direction: column;
    /* Aligns content vertically */
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-card-img {
    width: 100%;
    height: 200px;
    /* Fixed height for images */
    object-fit: cover;
    /* Ensure images cover the area without distortion */
}

.service-card-body {
    padding: 1.5rem;
    flex: 1;
    /* Allows the body to grow and fill available space */
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.btn-primary {
    color: #000000;
    background-color: var(--accent-color);
    border: none;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    background-color: var(--hover-color);
    box-shadow: 0 0 8px var(--accent-color), 0 0 16px var(--accent-color);
}




















/* projects section */
#projects {
    margin-top: 65px;
}

.projects-section {
    background-color: var(--background-color);
}

.projects-section .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.projects-section .section-description {
    font-size: 1.25rem;
    color: var(--text-color);
}

.project-cards-wrapper {
    overflow-x: auto;
    display: flex;
    scroll-snap-type: x mandatory;
}

.project-cards {
    display: flex;
    gap: 1rem;
}

.project-cards .card {
    flex: 0 0 auto;
    width: 250px;
    scroll-snap-align: start;
}

.project-cards .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-cards .card .card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
}

.project-cards .card .card-text {
    font-size: 1rem;
    color: var(--text-color);
}

.projects-section .btn-primary {
    background-color: var(--primary-color);
    border: none;
}

.card-btn {
    background-color: var(--accent-color);
    border: none;
    transition: background-color 0.3s, box-shadow 0.3s;

}

.projects-section .btn-primary:hover {
    background-color: var(--primary-color-dark);
}










/* Blogs section */
/* Blog Section Styles */
#blogs {
    margin-top: 65px;
}

.blogs-section {
    background-color: var(--background-color);
    padding: 2rem 0;
}

.blogs-section .section-title {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.blogs-section .section-description {
    font-size: 1rem;
    color: #000000;
}

.blogs-section .card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blogs-section .card-img-top {
    width: 100%;
    height: 200px;
    /* Set a fixed height for the image */
    object-fit: cover;
    /* Ensure the image covers the area without distortion */
}

.blogs-section .card-body {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blogs-section .card-title {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.blogs-section .card-text {
    color: #000000;
    margin-bottom: 1rem;
}

.blogs-section .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.blogs-section .btn-primary:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}































/* Contact Section */
#contactus {
    margin-top: 65px;
}

.contact-us {
    background-color: var(--background-color);
    padding: 5rem 0;
}

.contact-us h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.contact-us .form-label {
    font-weight: 600;
    color: var(--text-color);
}

.contact-us .form-control {
    border-radius: 0.375rem;
    /* Rounded corners */
    border-color: #ddd;
    background-color: #fff;
}

.contact-us .btn-primary {
    background-color: var(--accent-color);
    border: none;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.contact-us .btn-primary:hover {
    background-color: var(--hover-color);
    box-shadow: 0 0 8px var(--accent-color), 0 0 16px var(--accent-color);
}

.contact-us .ratio {
    aspect-ratio: 16/9;
    /* Ensure aspect ratio */
}

/* Custom styles for service buttons */
.btn-outline-primary {
    color: black;
    border-color: #f4d66c;
    background-color: white;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.btn-outline-primary:hover {
    color: black;
    background-color: #f4d66c;
    border-color: black;
}

/* Active and checked state styles */
.btn-outline-primary.active,
.btn-outline-primary:checked,
.btn-outline-primary.active:hover,
.btn-outline-primary:checked:hover {
    color: black;
    background-color: #f4d66c;
    border-color: black;
}
























/* Pricing section */
#pricing {
    margin-top: 65px;
}

.pricing-section {
    background-color: var(--background-color);
}

.pricing-section .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: black;
}

.pricing-section .section-description {
    font-size: 1.25rem;
    color: var(--text-color);
}

.pricing-section .row {
    display: flex;
    flex-wrap: wrap;
}

.pricing-section .col-lg-4,
.pricing-section .col-md-6 {
    display: flex;
    justify-content: center;
}

.pricing-section .col-lg-12 {
    display: flex;
    justify-content: center;
}

.pricing-section .card {
    width: 100%;
    max-width: 500px;
    margin: auto;
}

.pricing-section .card {
    width: 100%;
    max-width: 500px;
    margin: auto;
}

.pricing-section .card .card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: black;
}

.pricing-section .card .card-text {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.pricing-section .card h6 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-top: 1rem;
}

.pricing-section .card ul {
    padding-left: 20px;
}

.pricing-section .card ul li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}





@media (max-width: 768px) {
    .contact-us h1 {
        font-size: 2rem;
    }
}

/* Footer Styles */
.footer {
    background-color: rgba(0, 0, 0, 0.692);
    color: var(--accent-color);
}

.footer-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.footer-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-contact-info {
    margin-bottom: 1rem;
    color: white;
}

.footer-credit {
    font-size: 1rem;
    color: var(--accent-color);
}

.social-icons {
    margin: 1rem 0;
}

.social-icon {
    margin: 0 0.5rem;
}

.social-icon img {
    width: 30px;
    height: 30px;
}

/* Additional styles for alignment and layout */
.footer-left {
    text-align: left;
}

.footer-right {
    text-align: left;
}

.footer-right h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-contact-info {
    color: white;
}

.footer-contact-info a {
    color: white;
    /* Color of the link */
    text-decoration: none;
    /* Remove underline */
}

.contact-title {
    color: var(--accent-color);
}

.footer-contact-info a:hover {
    color: var(--hover-color);
    /* Color of the link on hover */
    text-decoration: underline;
    /* Underline on hover */
}


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

.footer-services li,
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-services a,
.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-services a:hover,
.footer-links a:hover {
    text-decoration: underline;
}

.footer-privacy,
.footer-credit {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--accent-color);
}