/* --- Basic Setup & Typography --- */
body {
    margin: 0;
    font-family: 'Inter', sans-serif; /* Using a clean, modern font */
    background-color: #f8f9fa; /* Light grey background for a soft look */
    color: #333;
}

/* Hero Section Styling */
.hero-section {
    width: 100%;
    height: 200px; /* Default height for desktop */
    position: relative; /* Needed for the overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 60px;

    
    background-image: 
        linear-gradient(45deg, rgba(44, 49, 57, 0.685), rgba(29, 31, 33, 0.826)),
        /* Your background image */
        url('/Images/hero-section-photo.webp');
    
    background-size: cover; 
    background-position: center; 
    transition: height 0.3s ease-in-out; 
}

.hero-content {
    /* This container holds the text content */
    padding: 20px;
}

.hero-title {
    margin: 0;
    font-size: 3rem; 
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); 
}

.breadcrumb {
    margin: 10px 0 0;
    font-size: 1rem; 
    font-weight: 400;
    color: #fff;
    letter-spacing: 1px;
}

.Home-link{
    color: white;
    text-decoration: none;
}
.aboutUs-link{
    font-weight: 600;
    color: rgb(255, 255, 255);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); 
}
.Home-link:hover, .aboutUs-link:hover{
    color: #007BFF;
}


/* --- Page Container --- */
/* This wrapper centers the content and sets the maximum width to 1050px */
.page-container {
    max-width: 1050px;
    margin: 0 auto; /* This centers the container horizontally */
    padding: 50px 20px;
}

/* --- Header Section --- */
.portfolio-header {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #212529;
}

.portfolio-header p {
    font-size: 1.1rem;
    color: #6c757d;
    padding: 30px 0;
    line-height: 1.6;
}


/* --- Portfolio Grid (Mobile First) --- */
.portfolio-grid {
    display: grid;
    /* Mobile default: 1 column */
    grid-template-columns: 1fr;
    gap: 30px; /* Space between the grid items */
}

/* --- Portfolio Item Styling --- */
.portfolio-item {
    background-color: #ffffff;
    border: 1px solid #dee2e6; /* Subtle border */
    border-radius: 8px; /* Rounded corners */
    padding: 25px;
    text-align: center; /* Centers all content inside the div */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); 
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-5px); /* Lifts the card on hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Enhances shadow on hover */
}

.portfolio-item h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
    color:#615252f5;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.183); 
}

.portfolio-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 20px;
    flex-grow: 1; /* This makes the paragraph take up available space, pushing the button down */
}

/* --- Discover More Button --- */
.discover-more {
    display: inline-block; /* Allows setting padding and width */
    text-decoration: none;
    color: #007bff;
    border: 1px solid #007bff; /* Made border thinner */
    padding: 8px 16px; /* Reduced padding */
    border-radius: 50px; /* Pill-shaped button */
    font-weight: 700;
    margin: 0 auto; /* Centers the button horizontally */
    text-transform: uppercase;
    font-size: 0.75rem; /* Made font smaller */
    transition: background-color 0.3s, color 0.3s;
    max-width: 150px; /* Set a maximum width for the button */
    box-sizing: border-box; /* Ensures padding is included in the width */
}

.discover-more:hover {
    background-color: #007bff;
    color: #ffffff;
}


/* --- Responsive Design --- */

/* Tablet: 2 columns (for screens wider than 768px) */
@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 3 columns (for screens wider than 1024px) */
@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Section Container */
        .Get-a-quote-section {
            width: 100%;
            padding: 5rem 0; /* Formerly py-20 */
        }

        /* Max-width and Centering Container */
        .Get-a-quote-container {
            max-width: 1050px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1rem; /* Formerly px-4 */
            padding-right: 1rem;
        }

        /* Flex container for centering content */
        .Get-a-quote-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        /* Main Heading - Size reduced */
        .Get-main-heading {
            font-size: 1.5rem; /* Smaller than original */
            font-weight: 600;
            color: #111827;
            letter-spacing: -0.025em;
            margin: 0;
        }

        /* Subheading/Paragraph - Size reduced */
        .Get-sub-heading {
            margin-top: 2rem;
            max-width: 36rem;
            font-size: .75rem; /* Smaller than original */
            color: #6c757d;
            line-height: 1.6;
        }

        /* Call-to-Action Button */
        .cta-button {
            margin-top: 1.5rem;
            display: inline-block;
            background-color: #000000;
            color: #ffffff;
            font-weight: 600;
            font-size: 1rem;
            padding: 0.875rem 1.75rem;
            border-radius: 9999px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            text-decoration: none;
            transition: all 0.3s ease-in-out;
        }

        .cta-button:hover {
            background-color: #1f2937;
        }

        .cta-button:focus {
            outline: 2px solid transparent;
            outline-offset: 2px;
            box-shadow: 0 0 0 3px #374151, 0 0 0 5px #f9fafb;
        }

        /* Responsive Styles for Tablets and Mobiles */
        @media (min-width: 640px) {
            .Get-a-quote-container {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
            .Get-main-headingg {
                font-size: 1.75rem; /* Responsive sizing */
            }
            .Get-sub-heading {
                font-size: 1rem; /* Responsive sizing */
            }
        }
