/* ==================== CUSTOM FONT ==================== */
/* Load locally hosted custom font (for header only) */
@font-face {
    font-family: 'logo'; /* Name to reference in CSS */
    src: url('fonts/OE.ttf') format('woff2'),
         url('fonts/OE.ttf') format('woff'); /* Fallback format */
    font-weight: normal;
    font-style: normal;
}

/* ==================== GLOBAL STYLES ==================== */
body {
    font-family: Arial, sans-serif; /* Default font for all text except header */
    margin: 0; /* Remove default page margin */
    line-height: 1.6; /* Makes text easier to read */
    background: #f4f4f4; /* Light gray background */
    color: #333; /* Dark gray text */
}

/* ==================== HEADER ==================== */
header {
    background: skyblue; /* Brand color for header */
    color: gold; /* Gold text for contrast */
    text-align: center; /* Center logo and tagline */
    padding: 2rem 1rem; /* Space around content */
    
    /* Apply custom font only to the header */
    font-family: 'logo', sans-serif;
}

header h1 {
    margin: 0; /* Remove default spacing */
    font-size: 2.5rem; /* Large font for the company name */
}

header p {
    margin: 0.5rem 0 0; /* Space below main title */
    font-size: 1.2rem; /* Subtitle size */
	color: white;
}

/* ==================== SERVICES ==================== */
.services {
    padding: 3rem 1rem;
    text-align: center;
	background: white;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
	color: gold;
}

.service-boxes {
    display: flex; /* Align service cards horizontally */
    justify-content: center;
    gap: 20px; /* Space between cards */
    flex-wrap: wrap; /* Wrap cards on small screens */
}

.service {
    background: skyblue;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Subtle shadow */
    padding: 1.5rem;
    max-width: 300px;
    transition: transform 0.2s ease-in-out; /* Hover animation */
}

.service:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

.service img {
    width: 100%;	/* Image fills the card width */
    height: 90%;
	border-radius: 10px;
    margin-bottom: 1rem;
max-height: 200px;
max-width:  250px;

}

.service h3 {
    margin: 0.5rem 0;
    color: gold; /* Brand accent color */
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: 3rem 1rem;
    text-align: center;
    background: #f9f9f9; /* Different background to separate section */
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Container for carousel slides */
.testimonial-carousel {
    position: relative; /* Needed for carousel positioning */
    max-width: 600px;
    margin: auto;
    overflow: hidden; /* Hide non-active slides */
}

/* Each testimonial card (slide) */
.testimonial-carousel .testimonial {
    display: none; /* Hide by default */
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-style: italic; /* Quote style */
}

/* Active slide */
.testimonial-carousel .testimonial.active {
    display: block; /* Show the active slide */
}

.testimonial h4 {
    margin-top: 1rem;
    font-weight: bold;
    color: royalblue;
    font-style: normal; /* Customer name not italic */
}

/* Carousel navigation buttons */
.carousel-nav {
    margin-top: 1rem;
}

.carousel-nav button {
    background: royalblue;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
}

.carousel-nav button:hover {
    background: darkblue;
}

/* ==================== CONTACT ==================== */
.contact {
    background: #fff;
    padding: 3rem 1rem;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: auto;
}

.contact input,
.contact textarea {
    margin: 0.5rem 0;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact button {
    margin-top: 1rem;
    padding: 0.75rem;
    border: none;
    background: royalblue;
    color: white;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.contact button:hover {
    background: darkblue;
}

/* ==================== FOOTER ==================== */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem;
	
	.contact-item
	{
		text-align: left;
	}
}
