/* Reset basic styles */
* {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Body */
body {
    background: linear-gradient(to bottom, #ff914d, #ff3131); /* Background color */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header and Navigation */
header {
    position: sticky;  /* Make the header sticky */
    top: 0;            /* Stick to the top of the page */
    background: linear-gradient(to right, #5de0e6, #004aad); /* Navbar color */
    color: #ffffff;
    padding: 1rem 0;
    z-index: 1000;      /* Ensure it stays on top of other content */
    width: 100%;        /* Ensure the header spans the full width */
    border-bottom: 1px solid #CD37F5; /* Bottom border with color and thickness */

}

header nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;  /* Remove any default margin */
}

header nav ul li {
    margin: 0 20px;
}

header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    font-size: 1.3rem;
}

/* Portfolio Button Container */
.portfolio-button-container {
    margin-top: 20px; /* Space above the portfolio button */
}

/* Portfolio Button */
.portfolio-button {
    background: linear-gradient(to right, #5de0e6, #004aad); /* Button color */
    color: #ffffff;
    padding: 15px 40px; /* Increased horizontal padding */
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.portfolio-button:hover {
    background-color: #CD37F5; /* Hover color for buttons */
}

/* Hero Section */
.hero {
    background: url('your-image.jpg') no-repeat center center/cover;
    color: #BE5103;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}
.hero .cta-button {
    background: linear-gradient(to left, #5de0e6, #004aad); /* Button color */
    color: #ffffff;
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.hero .cta-button:hover {
    background-color: #CD37F5; /* Hover color for buttons */
}

/* Services Section */
.services {
    padding: 60px 20px;;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff; /* Heading color */
}
.services ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.services li {
    font-size: 1.3rem;
    background: linear-gradient(to bottom, #5de0e6, #004aad);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    border: 2px solid #CD37F5; /* Accent for borders */
    text-align: center;
}

.service-img {
    width: 200px; /* Fixed width for all images */
    height: 200px; /* Fixed height for all images */
    object-fit: cover; /* Ensure the image fits into the box without distortion */
    margin-bottom: 15px; /* Space between image and text */
}

.services li:hover {
    transform: translateY(-10px);
    background-color: #2E6F40;
}


/* About Section */
.about {
    padding: 60px 20px;
    color: #ffffff;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.about ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.about ul li {
    font-size: 1.3rem;
    line-height: 1.8;
    width: 200px;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    text-align: center;
}

.contact h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: white; /* Heading color */
}

.contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Input and textarea colors */
.contact input, .contact textarea, .contact select {
    color: black; /* Text color inside the input fields */
    width: 100%;
    max-width: 600px;
    padding: 15px;
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #CD37F5; /* Accent color for borders */
}

/* Placeholder text color */
.contact input::placeholder, 
.contact textarea::placeholder {
    color: black; /* Accent color for placeholder text */
    opacity: 1; /* Ensure placeholder is fully visible */
}

/* When focusing on input or textarea */
.contact input:focus, 
.contact textarea:focus {
    outline: none; /* Remove default outline */
    border-color: #6681F2; /* Change border color on focus */
}

/* Label text styling */
.contact label {
    font-size: 1.2rem;
    margin-bottom: 5px;
    align-self: flex-start;
    color: #C195F5; /* Change label text color if needed */
}


.contact button {
    background:linear-gradient(to bottom, #004aad, #5de0e6, #004aad); /* Button color */
    color: #ffffff;
    font-size: 1.2rem;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: #CD37F5; /* Button hover */
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    color: #ffffff;
    font-size: 1rem;
}
.background-image {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 500px;
    height: 500px;
  }
  /* Existing CSS Reset and Styling Here */


  
/* Responsive Design */
@media (max-width: 768px) {
    .services ul {
        grid-template-columns: 1fr;
    }

    .about ul {
        flex-direction: column;
        align-items: center;
    }

    .contact input,
    .contact textarea,
    .contact select,
    .contact button {
        width: 90%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}
