/* Site Loader Styling */
#site-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* Black background to match theme */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure the loader is on top of all other content */
    opacity: 1;
    transition: opacity 1s ease;
}

.loader-logo {
    width: 350px;
    height: auto;
    transform: scale(1); /* Initial scale */
    transition: transform 1s ease, opacity 1s ease; /* Add both scale and fade-out transitions */
}

/* Hide the loader when it fades out */
#site-loader.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease, visibility 1.5s ease; /* Updated for longer fade-out effect */
}

#site-loader.fade-out .loader-logo {
    transform: scale(0.8); /* Shrink the logo while fading out */
    opacity: 0;
}

/* Global Styling - Typography */
body {
    font-family: sans-serif;
    font-weight: normal; /* Set normal font weight as default for the entire body */
    color: #000; /* Set default text color to black */
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold; /* Make headings bold */
}

/* Paragraph Styles */
p {
    font-weight: normal; /* Make paragraphs have normal weight */
}

/* Logo Size Adjustment */
.logo-img {
    width: 150px;
    height: auto;
}

/* Sticky Header with Shadow */
.sticky-top {
    z-index: 1020; /* Ensure header stays above other elements */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Navbar Styling */
.navbar {
    padding: 15px;
    background-color: #000 !important;
}

.navbar-toggler {
    border: none; /* Clean mobile menu button */
}

.nav-link {
    margin-left: 15px;
    color: #fff; /* White text for contrast */
}

.nav-link:hover {
    color: #009900; /* Dark green for hover effect */
}

/* Hero Section */
.hero-section {
    background-color: #ffffff; /* Set background to plain white */
    color: #000000; /* Ensure text is black for contrast */
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-section .col-md-6 {
    z-index: 1; /* Ensure content stays above the background */
}

.hero-section h1 {
    color: #000000;
    font-weight: bold;
    font-size: 40px;
}

.hero-section p {
    color: #000000;
    line-height: 1.6;
    font-weight: normal;
}

/* Hero Section Image */
.img-fluid {
    max-width: 100%; /* Adjust image size */
    height: auto;
    object-fit: contain;
}
/* CTA Button in Hero Section */
.btn-cta {
    background-color: #009900; /* Button background color */
    color: #ffffff; /* Button text color */
    padding: 8px 20px; /* Button padding */
    width: 165px !important;
    font-size: 16px; /* Font size */
    border-radius: 50px; /* Rounded button */
    text-align: center;
    display: inline-block;
    font-weight: bold;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-cta:hover {
    background-color: #006600; /* Darker green on hover */
    color: #ffffff; /* Keep text white on hover */
}

/* About Us Section */
#about {
    background-color: #f8f9fa; /* Light background */
    padding: 50px 0;
    color: #000;
    text-align: center;
}

#about h2 {
    font-size: 32px;
    color: #000; /* Main heading in black */
    margin-bottom: 40px;
}

.card {
    background-color: #fff; /* White card background */
    border: none; /* Remove border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease; /* Smooth transitions */
    border-radius: 10px; /* Rounded corners */
    padding: 30px 15px; /* Add padding inside the card */
}

.card i {
    color: #009900; /* Initial icon color (green) */
    margin-bottom: 15px;
    transition: color 0.3s ease; /* Smooth transition for color */
}

.card:hover {
    background-color: #009900; /* Change background to green on hover */
    color: #fff; /* Change text color to white */
    transform: scale(1.05); /* Slight scale-up effect */
    box-shadow: 0 8px 16px rgba(0, 153, 0, 0.3); /* Slightly larger shadow */
}

.card:hover i {
    color: #fff; /* Icon turns white on hover */
}

.card .card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.card .card-text {
    font-size: 16px;
    color: #000;
    transition: color 0.3s ease; /* Smooth transition for text color */
}

.card:hover .card-text {
    color: #fff; /* Text turns white on hover */
}

/* Services Section */
#services {
    background-color: #fff; /* White background for the services section */
    color: #000; /* Black text for the section */
    text-align: center;
}

/* Service Cards */
.card {
    background-color: #fff; /* White card background */
    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 0.3s ease; /* Smooth transition for hover effect */
    margin: 0 auto; /* Center the card horizontally */
}
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.card i {
    color: #009900; /* Green icon */
    transition: color 0.3s ease;
}

.card .card-title {
    font-weight: bold; /* Card titles should be bold */
}

.card .card-text {
    font-weight: normal; /* Card text should have normal weight */
    color: #000000; /* Black text for card body */
}

/* Card Hover Effect */
.card:hover {
    background-color: #009900; /* Green background on hover */
    transform: scale(1.05); /* Slightly enlarges the card */
    box-shadow: 0 8px 16px rgba(0, 153, 0, 0.5); /* Green shadow for depth effect */
}

.card:hover i {
    color: #fff; /* White icon */
}

.card:hover .card-title,
.card:hover .card-text {
    color: #ffffff; /* White text on hover */
}

/* Testimonials Section */
#testimonials {
    position: relative;
}

.testimonial-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.scroll-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
}

.testimonial-container {
    display: flex;
    gap: 20px;
    overflow: hidden;
    max-width: 100%;
}

.testimonial-card {
    flex: 0 0 23%; /* Set to show 4 cards */
    background-color: #f8f9fa;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-card h5 {
    color: #009900; /* Dark green color for the client's name */
    margin-top: 15px;
}

/* Our Proud Partners Section */
.p-text-center {
    color: #000;
    text-align: center;
}

#partners img {
    max-width: 80%;
    transition: transform 0.3s ease;
}

#partners img:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}

/* Team Section */
.team-member {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; /* Smooth transition for hover effect */
    border-radius: 10px; /* Round the corners of the card */
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Initial subtle shadow */
    background-color: #fff; /* White background by default */
    color: #000; /* Black text by default */
}

.team-text-center {
    text-align: center;
  color: #fff;  
}

.team-member:hover {
    transform: scale(1.05); /* Slightly enlarge the card on hover */
    box-shadow: 0 8px 16px rgba(0, 153, 0, 0.3); /* Green shadow to create a card lift effect */
    background-color: #009900; /* Green background on hover */
    color: #fff; /* White text on hover */
    
}

.team-img {
    border-radius: 50%; /* Make the image round */
    width: 150px;
    height: 150px;
    object-fit: cover; /* Ensure image fits within round shape */
    border: 4px solid #009900; /* Green border by default */
    transition: border-color 0.3s ease; /* Smooth transition for hover effect */
}

.team-member:hover .team-img {
    border-color: #fff; /* Change border to white on hover */
}

.team-member h5 {
    margin-top: 15px;
    font-weight: bold;
    color: #000000; /* Green color for name by default */
}

.designation {
    font-size: 16px;
    font-weight: normal; /* Normal weight for designation */
    color: #000000; /* Darker shade for readability */
    margin-bottom: 5px;
}

.info {
    font-size: 14px;
    font-weight: normal; /* Normal weight for info text */
    color: #000000; /* Lighter color for the description */
    line-height: 1.6;
}

/* Contact Us Section */
#contact {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
}

#contact h5, #contact h2 {
    color: #000000; /* Dark green for headings */
    font-weight: bold; /* Ensure headings are bold */
}

#contact .form-label {
    color: #000000; /* Black labels */
}

#contact .form-control {
    border-radius: 5px;
    background-color: #e4dfdf; /* Dark input background */
    color: #000000;
}

#contact .btn-primary {
    background-color: #009900;
    border: none;
    color: #fff;
}

#contact .btn-primary:hover {
    background-color: #006600; /* Slightly darker green for hover */
}

#contact .col-md-6 h4, #contact .col-md-6 p, #contact .col-md-6 strong {
    color: #000; /* Black text for office details */
}

/* Footer Section */
footer {
    padding: 5px 0 !important; /* Reduced padding to minimize footer height */
    color: #fff !important; /* White text for footer content */
    font-size: 14px;
    position: relative;
}

.footer-left p {
    margin: 0 !important; /* Remove extra margin */
    font-size: 12px; /* Smaller font for compact appearance */
    padding: 0;
}

.footer-right {
    display: flex;
    align-items: center;
    margin: 0 !important; /* Remove any default margin */
}

.social-icon {
    color: #fff !important; /* White color for icons */
    font-size: 20px;
    margin-left: 10px; /* Reduced space between icons for compactness */
    transition: color 0.3s;
}

.social-icon:hover {
    color: #009900 !important; /* Dark green for hover effect */
}

/* Floating Get in Touch Button */
.floating-btn {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background-color: #009900;
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000; /* Ensures it stays above other content */
}

.floating-btn:hover {
    background-color: #006600;
    transform: scale(1.1);
}

/* Responsive styling for service cards on small screens */
@media (max-width: 576px) {
    #services .row .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .card {
        width: 100%; /* Full width for mobile view */
        height: auto; /* Auto height for proper adjustment */
    }

    .card .card-body {
        padding: 20px; /* Adjust padding for mobile */
    }
}
