/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    position: fixed; /* Fixed position */
    top: 0; /* Keep it at the top of the page */
    left: 0;
    width: 100%; /* Make the header span the full width of the screen */
    z-index: 1000; /* Ensure it stays on top of other elements */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #532647;
    color: #000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Add padding to the body to prevent content from hiding behind the fixed header */
body {
    padding-top: 70px; /* Adjust based on your header height */
}

/* Ensure the navigation links still look good when scrolled */
nav ul li a {
    color: #000;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #532647 ; /* Purple on hover */
    transform: scale(1.1);
}


/* Logo Styling */
header .logo img {
    width: 200px; /* Smaller width */
    height: auto; /* Maintain aspect ratio */
}

/* Navigation Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px; /* Slightly reduced gap */
}

nav ul li a {
    color: white; /* Black text */
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: black ; /* Purple on hover */
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        flex-direction: column;
        gap: 15px; /* Slightly reduced gap for mobile */
    }
}

/* Home Section */
#home {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh; /* Full-screen height */
    padding: 20px;
    color: #fff; /* White text for contrast */
    background: url('background-image.webp') no-repeat center center/cover; /* Add background image */
    position: relative;
    z-index: 1;
}

/* Optional: Gradient overlay to enhance text visibility */
#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: -1;
}

/* Hero Content Styling */
.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #532647 ; /* Purple */
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background-color: #4e148c; /* Darker purple */
}

/* About Us Section */
#about {
    background-color: #f3f3f3; /* Keeps the section background white */
    padding: 50px 20px;
    text-align: center;
}

#about .container {
    max-width: 1200px;
    margin: 0 auto;
}

#about h2 {
    font-size: 2.5rem;
    color: #000; /* Title color changed to black */
    margin-bottom: 10px;
    position: relative;
}

#about .section-intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 30px;
    justify-items: center;
}

.about-item {
    background-color: #fff; /* Background color for the boxes */
    padding: 20px;
    border: 2px solid #532647 ; /* Purple border */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Hover effect */
}

.about-item h3 {
    font-size: 1.5rem;
    color: #000; /* Title color changed to black */
    margin-bottom: 15px;
    text-transform: uppercase; /* Uppercase title for consistency */
    position: relative;
}

.about-item h3::after {
    content: "";
    position: absolute;
    bottom: -10px; /* Adjust to position the line closer to the title */
    left: 0;
    width: 100%; /* Line spans the full width of the box */
    height: 3px; /* Line thickness */
    background-color: #532647 ; /* Purple color for the line */
}

.about-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Services Section */
#services {
    background-color: #f3f3f3; /* Light neutral background */
    padding: 50px 20px;
    text-align: center;
}

#services h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

#services .section-intro {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px; /* Keeps text aligned with About Us section */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Side-by-side layout */
    gap: 20px;
    max-width: 1200px; /* Adjusts for side-by-side width */
    margin: 0 auto;
}

.service {
    background: #fff; /* White background for consistency */
    border: 2px solid #532647 ; /* Purple border for branding */
    border-radius: 12px; /* Smooth corners */
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.service h3 {
    font-size: 1.5rem;
    color: #000; /* Black title for emphasis */
    margin-bottom: 15px;
    text-transform: uppercase;
    border-bottom: 3px solid #532647 ; /* Purple underline for titles */
    display: inline-block;
    padding-bottom: 5px;
}

.service p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-container {
        grid-template-columns: 1fr; /* Stacks on smaller screens */
    }
}

/* Contact Section */
#contact {
    background-color: #f3f3f3;
    padding: 50px 20px;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

#contact .section-intro {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-container {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: #fff;
    border: 2px solid #532647 ;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 400px;
    max-width: 500px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Added transition for hover effect */
}

.contact-info:hover {
    transform: translateY(-5px); /* Hover effect: move the box up */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Hover effect: stronger shadow */
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 15px;
    border-bottom: 3px solid #532647 ;
    display: inline-block;
    padding-bottom: 5px;
}

.contact-info p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 10px 0;
}

.contact-info a {
    color: #532647 ; /* Purple */
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer Styling */
footer {
    background-color: #532647 ; /* Purple */
    color: #fff; /* White text for contrast */
    padding: 20px 0; /* Padding for spacing */
    text-align: center; /* Center-align the content */
}

footer a {
    color: #fff; /* Ensure links are white */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Smooth color transition */
}

footer a:hover {
    color: #333; /* Dark color for links on hover */
}
