/* 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;
}

/* Mobile Navbar Styling */
@media screen and (max-width: 1024px) {
    .navbar {
        padding: 1rem 3%;
    }

    .navbar .nav-links {
        display: flex;
        gap: 2rem;
    }
}

/* 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);
    }
}


/* Hero Section */
.services-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #800000, #a00000);
    color: #fff;
    padding: 40px 5%;
    flex-wrap: wrap;
    height: auto;
    text-align: center;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 10px;
}

.hero-button {
    background: #fff;
    color: #800000;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.hero-button:hover {
    background: #ffffff;
    color: #bd0000;
}


.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) {
    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 100%;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services-cta h2 {
        font-size: 2rem;
    }

    .services-cta p {
        font-size: 1rem;
    }
}

/* @media (max-width: 576px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links a {
        padding: 10px 0;
    }

    .navbar .cta-button {
        align-self: center;
        margin-top: 10px;
    }
} */
.testimonials {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center; /* Center text for larger screens */
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    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;
    min-height: 240px;
    background-color: #f7f7f7;
}

.testimonial p {
    margin-right: 0;
    margin-bottom: 5px;
}

.testimonial h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.testimonial ul li {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 10px;
    margin-left: 30px;
}

/* Second Section */
.testimonialsv {
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.testimonialsv h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.testimonial-containerv {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    max-width: 1250px;
    margin: 0 auto;
}

.testimonialv {
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    min-height: 240px;
    background-color: #fff;
}

.testimonialv p {
    margin-right: 0;
    margin-bottom: 5px;
}

.testimonialv h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.testimonialv ul li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
    margin-left: 30px;
}
.working{
    margin-left: 110px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonial-container, .testimonial-containerv {
        max-width: 90%;
        padding: 0 15px;
    }

    .testimonial, .testimonialv {
        padding: 15px;
        min-height: auto;
    }

    .testimonial p, .testimonialv p {
        font-size: 16px;
    }

    .testimonial h4, .testimonialv h4 {
        font-size: 1.6rem;
    }

    .testimonialv ul li {
        font-size: 0.95rem;
    }
}

/* Center text on mobile */
@media (max-width: 768px) {
    .testimonials h2, .testimonialsv h2 {
        font-size: 2rem;
    }

    .testimonial-container, .testimonial-containerv {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        text-align: center; /* Center align the text */
    }

    .testimonial, .testimonialv {
        padding: 10px;
        text-align: center; /* Center text inside testimonials */
    }

    .testimonial p, .testimonialv p {
        font-size: 14px;
        margin-left: 0;
        text-align: center; /* Center text inside paragraphs */
    }

    .testimonialv ul li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .testimonials h2, .testimonialsv h2 {
        font-size: 1.5rem;
    }

    .testimonial p, .testimonialv p {
        font-size: 12px;
    }

    .testimonialv ul li {
        font-size: 0.85rem;
    }

    .testimonial-container, .testimonial-containerv {
        padding: 0 10px;
        max-width: 100%;
    }
    .working{
        margin-left: 0px;
    }
    
}
