/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    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;
    text-decoration: none;
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    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 */
.hero-section {
    margin: 40px 10%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center; /* Centers content vertically */
    justify-content: center; /* Centers content horizontally */
    height: 70vh; /* Ensures the height is restricted to 70vh for mobile */
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%; /* Ensures container takes up full height */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area */
    border-radius: 20px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    padding: 0 20px;
    z-index: 1;
    margin-bottom: 0; /* Removes any extra space at the bottom */
}

.hero-content h1 {
    font-size: 2.5rem; /* Mobile-specific font size */
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1rem; /* Mobile-specific font size */
    margin-bottom: 30px;
}

.hero-button {
    background: #800000;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.hero-button:hover {
    background: #a00000;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 70vh; /* Ensures hero section height is 70vh for mobile */
        margin-bottom: 0; /* Removes extra bottom margin */
    }

    .hero-image {
        object-position: center; /* Ensures image is centered */
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }
}
/*front content */
.front-content {
    
    padding: 90px 50px;
    max-width: 100%;
    margin-left: 115px;
}

.front-content h2 {
    font-size: 1.75rem; /* Slightly larger heading */
    margin-bottom: 15px;
    color: #800000;
    font-size: 2rem; /* Slightly larger heading */
    margin-bottom: 12px;
    font-weight: bold; /* Make the heading bold for importance */
}

.front-content p {
    font-size: 1rem;
    margin-top: 12px;
    margin-bottom: 20px;
    line-height: 1.6; /* Increase line spacing for better readability */
    color: #555;
}


/* 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) {
    .service-item,
    .testimonial-item {
        width: 100%;
    }

    .about-us-section {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    /* .navbar .nav-links {
        display: none;
    }
/* 
    .hamburger {
        display: block;
    } */ */

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 10%;
        background: #fff;
        padding: 1rem;
        border-radius: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services-overview h2,
    .about-content h2,
    .testimonials-section h2,
    .cta-section h2 {
        font-size: 2rem;
    }
    .front-content {
    
        padding: 20px;
        max-width: 100%;
        margin-left: 0px;
    }
}

/* @media (max-width: 576px) {
    .navbar {
        padding: 1rem 5%;
    }

    .navbar .cta-button {
        display: none;
    }

    .hero-section {
        padding: 60px 5%;
    }

    .about-content,
    .about-image {
        padding: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
} */
