body {
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: #f4f7f6; /* A very light grey for the page body */
}

/* --- THIS IS THE MODIFIED SECTION --- */
header {
    background: #ffffff; /* Changed to white */
    color: #333; /* Changed text color to dark */
    padding: 0.5rem 0; /* Adjusted padding for a sleeker look */
    border-bottom: 1px solid #e9ecef; /* Adds a subtle separator line */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Adds a slight shadow */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

nav .logo img {
    max-height: 60px; /* Adjusted logo height */
    width: auto;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    color: #333; /* Changed link color to dark to be visible on white */
    text-decoration: none;
    padding: 0 1rem;
    font-weight: bold;
}
/* --- END OF MODIFIED SECTION --- */

.hero {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; 
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    color: white; 
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3rem;
}

.btn {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
}

.container {
    width: 80%;
    margin: 2rem auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.service-item {
    border: 1px solid #ddd;
    padding: 1.5rem;
    text-align: center;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #333;
    color: #fff;
    margin-top: 2rem;
}
/* Styles for Admin Action Buttons */
.action-form {
  display: inline-block; /* Allows buttons to sit side-by-side */
  margin-right: 5px;
}

.button-approve, .button-reject {
  border: none;
  padding: 5px 12px;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
}

.button-approve {
  background-color: #22c55e; /* Green */
}
.button-approve:hover {
  background-color: #16a34a;
}

.button-reject {
  background-color: #ef4444; /* Red */
}
.button-reject:hover {
  background-color: #dc2626;
}
/* === STYLES FOR SWIPER SLIDER === */

/* This gives our new section some top margin */
.work-slider {
    padding-top: 40px;
}

/* This is the main container for the slider */
.swiper {
  width: 100%;
  height: 550px; /* You can adjust the height of the slider here */
  border-radius: 8px;
  background: #e0e0e0; /* A light background color while images load */
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* This makes sure your images fill the space nicely */
}

/* Styling for the next/previous arrow buttons */
.swiper-button-next, .swiper-button-prev {
    color: #ffffff; /* White arrows */
    background-color: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 24px;
    font-weight: bold;
}

/* Styling for the pagination dots at the bottom */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #ffffff;
}
