/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* General Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%; /* Reduced padding for more compactness */
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Slightly darker shadow for more depth */
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .logo img {
    height: 45px; /* Adjusted height for a more balanced logo size */
    width: auto;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 1.8rem; /* Increased space for better legibility */
}

.navbar .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s, transform 0.3s ease-in-out;
}

.navbar .nav-links a:hover {
    color: #800000;
    transform: scale(1.1);
}

.navbar .nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #800000;
    transition: width 0.3s ease-in-out;
}

.navbar .nav-links a:hover:after {
    width: 100%;
}

.navbar .cta-button {
    background: #800000;
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s ease-in-out;
}

.navbar .cta-button:hover {
    background: #a00000;
    transform: scale(1.05);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger .line {
    width: 30px;
    height: 3px;
    background-color: #333;
    border-radius: 5px;
}


.testimonials {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 40px;
    margin-bottom: 10px;
    color: #7c7c7c;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items to the top */
    flex-direction: column;
    gap: 20px;
    max-width: 1250px;
    margin: 0 auto;
}

.testimonial {
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: left; /* Align text to the left */
    min-height: 240px;
    background-color: #f7f7f7;
}

.testimonial p {
    margin-right: 0px;
    margin-bottom: 5px;
}


.testimonial h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.testimonial ul li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;

}
.testimonial-details {
    margin-left: 20px; /* Adds spacing to the left of the content */
    text-align: left;
}
.testimonial-details-new{
    margin-left: 0px; /* Adds spacing to the left of the content */
}
.testimonial-new {
    padding: 0px 45px;
    width: 101%;
    box-sizing: border-box;
    text-align: left; /* Align text to the left */
    min-height: 240px;
    background-color: #fff;
}
.testimonial-details-new ul li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
    margin-left: 30px;

}

/* Specific styles for "No Related Services" title */
.testimonial-title {
    margin-left: -100px;
}

/* Responsive styling */
@media (max-width: 768px) {
    .testimonial-container {
        flex-direction: column;
        align-items: center;
    }

    .testimonial {
        width: 90%;
    }

    .testimonial-title {
        margin-left: 0;
    }
}
/* Mobile Navigation */
@media screen and (max-width: 768px) {
    .navbar .nav-links {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease-in-out;
    }

    .navbar .nav-links a {
        font-size: 1.2rem;
    }

    .navbar .cta-button {
        display: none; /* Hide the button on mobile */
    }

    .hamburger {
        display: flex;
    }

    .navbar.open .nav-links {
        left: 0;
    }

    .navbar.open .hamburger .line {
        background-color: #800000; /* Change color when the menu is open */
    }

    /* Add a subtle effect for the mobile nav toggle */
    .navbar.open .nav-links {
        background-color: #f9f9f9;
    }
}

/* Animations */
.navbar.open .nav-links a {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Styling */
.footer {
    background: linear-gradient(135deg, #2f2f2f, #1d1d1d); /* Gradient background */
    color: white;
    padding: 60px 10%; /* Increased padding */
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px; /* Increased gap for better spacing */
}

.footer-column {
    flex: 1 1 300px;
    margin-bottom: 30px; /* Increased bottom margin for spacing */
}

.footer-column h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #f04c5a; /* Eye-catching header color */
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-column p {
    font-size: 1rem;
    line-height: 1.7;
    color: #d0d0d0;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: #b0b0b0;
}

.footer-column ul li a {
    color: #f04c5a;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    font-weight: 500;
}

.footer-column ul li a:hover {
    color: #ffffff;
    transform: translateX(5px); /* Subtle slide effect */
}

.footer-column ul li i {
    margin-right: 12px;
    color: #f04c5a;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.95rem;
    color: #b0b0b0;
}

.footer-bottom a {
    color: #f04c5a;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

.footer-bottom a:hover {
    color: #ffffff;
    transform: translateX(5px); /* Subtle hover effect */
}


/* Media Queries */
@media (max-width: 992px) {
    .expertise-item {
        flex-direction: column;
    }

    .expertise-item.reverse {
        flex-direction: column;
    }

    .expertise-content {
        padding: 20px 0;
    }
}
