/* General styles */
body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #FDF3E7;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.intro {
    margin-top: 2rem;
}

.cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #FF7F50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 2rem;
}

h2 {
    text-align: center;
}

/* Project Section */
.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
/* Project Card */
.project-card {
    position: relative;
    width: 300px;
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: beige; /* Ensure text is white */
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
}

/* Add a semi-transparent dark overlay */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    border-radius: 8px;
    z-index: 1; /* Overlay stays behind the text */
}

/* Ensure text is above the overlay */
.project-card h3,
.project-card p {
    position: relative;
    z-index: 2; /* Text stays on top of the overlay */
}

/* Example of text styling */
.project-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

.project-card p {
    font-size: 1rem;
}

/* Ensure text and buttons are above the overlay */
.project-card h3,
.project-card p,
.project-card .project-links {
    position: relative;
    z-index: 2; /* Text and buttons stay on top of the overlay */
}

/* Styling buttons in the project card */
.project-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.project-links a {
    text-decoration: none;
    background-color: #FF7F50; /* Button background color */
    color: white; /* Button text color */
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.project-links a:hover {
    background-color: #cc7a00; /* Darker shade on hover */
}

/* Individual background images for each project */
.project-card:nth-child(1) {
    background-image: url('images/ecommerceshoethumbail.png'); /* Replace with actual preview image */
}

.project-card:nth-child(2) {
    background-image: url('images/hotelbookingscreenshotthumbnail.png'); /* Replace with actual preview image */
}

.project-card:nth-child(3) {
    background-image: url('images/togglethumnail.png'); /* Replace with actual preview image */
}

.project-card:nth-child(4) {
    background-image: url('WWSS.png') ;
}

.project-card:nth-child(5) {
    background-image: url('FPSS.png');
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: #fff;
}

.social-links a {
    color: white;
    margin: 0 0.5rem;
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}

/* About Section Styles */
.about-card {
    max-width: 600px; /* Set a maximum width for the card */
    margin: 2rem auto; /* Center the card with auto margins */
    padding: 1.5rem; /* Add padding for spacing */
    background-color: #FFFAF0; /* Light background color for warmth */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    text-align: center; /* Center text for a cohesive look */
}

/* Additional Styles */
.about-card h3 {
    font-size: 1.8rem; /* Adjust heading size */
    color: #FF7F50; /* Warm heading color */
    margin-bottom: 1rem; /* Space below heading */
}

.about-card p {
    font-size: 1rem; /* Standard paragraph size */
    line-height: 1.6; /* Improved line spacing for readability */
    color: #333; /* Dark text for contrast */
}

.pc-card {
    max-width: 600px; /* Set a maximum width for the card */
    margin: 2rem auto; /* Center the card with auto margins */
    padding: 1.5rem; /* Add padding for spacing */
    background-color: #FFFAF0; /* Light background color for warmth */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    text-align: center; /* Center text for a cohesive look */
}

.pc-card h3 {
    font-size: 1.8rem; /* Adjust heading size */
    color: #FF7F50; /* Warm heading color */
    margin-bottom: 1rem; /* Space below heading */
}

.pc-card p {
    font-size: 1rem; /* Standard paragraph size */
    line-height: 1.6; /* Improved line spacing for readability */
    color: #333; /* Dark text for contrast */
}


@media (max-width: 768px) {
    .projects-container {
        flex-direction: column; /* Stack project cards on smaller screens */
        align-items: center;
    }
    .about-card {
        padding: 1rem; /* Adjust padding for smaller screens */
        width: 90%; /* Allow the card to take more width */
    }
}

