/* General Styling */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #f9f9f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

/* Header Section */
header {
    background: url("images/header-background.jpg") no-repeat center center/cover;
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

/* Overlay to make text readable */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* dark overlay */
    z-index: 1;
}

header h1, header p {
    position: relative;
    z-index: 2;
}

header .site-title {
    font-size: 2.5em;
    font-weight: bold;
    margin: 0;
}

header .tagline {
    font-size: 1.2em;
    margin-top: 10px;
}

/* Sections */
section {
    padding: 40px 20px;
    background: #fff;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0077b6;
}

/* About Image */
.about-image {
    text-align: center;
    margin-top: 20px;
}

.about-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Services Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
    text-align: center;
}

.service-item img {
    max-width: 120px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

form input, form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
}

form button {
    background: #0077b6;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 1em;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: #005f86;
}
/* Call Button in Header */
.call-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background: #ff5722;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.call-button:hover {
    background: #e64a19;
}


/* Contact Options */
.contact-options {
    text-align: center;
    margin-top: 20px;
}

.contact-options a {
    color: #0077b6;
    text-decoration: none;
}

.contact-options a:hover {
    text-decoration: underline;
}

/* Portrait Photo in Contact Section */
.portrait {
    text-align: center;
    margin: 20px 0;
}

.portrait img {
    max-width: 150px;
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Testimonials Section */
#testimonials {
    background: #f0f8ff; /* Light blue background */
    padding: 40px 20px;
    margin-top: 20px;
    border-radius: 8px;
}

#testimonials h2 {
    text-align: center;
    color: #0077b6;
    margin-bottom: 30px;
}

/* Grid / Flex Layout */
.testimonial-grid {
    display: flex;
    flex-wrap: wrap; /* Wrap testimonials to new line if needed */
    gap: 20px;
    justify-content: center;
}

.testimonial-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 300px;
    flex: 1 1 250px; /* Responsive width */
    text-align: center;
}

/* Testimonial Text */
.testimonial-text {
    font-style: italic;
    margin-bottom: 10px;
    font-size: 0.95em;
    line-height: 1.4;
}

/* Author Name */
.testimonial-author {
    font-weight: bold;
    color: #0077b6;
    font-size: 0.9em;
}

/* Testimonial Photos */
.testimonial-photo {
    width: 60px;             /* Small profile size */
    height: 60px;
    border-radius: 50%;      /* Makes photo circular */
    object-fit: cover;       /* Crops image nicely */
    margin-bottom: 10px;
    border: 2px solid #0077b6; /* Optional colored border */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .testimonial-grid {
        flex-direction: column; /* Stack vertically on small screens */
        align-items: center;
    }
}


/* Footer */
footer {
    background: #0077b6;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}

