/* General Styles & Reset */
:root {
    --color-primary-dark: #004D40; /* Deep Teal - Professional and serene */
    --color-secondary-dark: #4A4A4A; /* Charcoal Grey - Muted, sophisticated text */
    --color-light-background: #F0F4F8; /* Light Blue-Grey - Clean, modern background */
    --color-accent: #FFC107; /* Amber Yellow - Vibrant, inviting accent */
    --color-text-light: #FFFFFF; /* Pure White - For text on dark backgrounds */
    --color-text-dark: #212121; /* Very Dark Grey - For text on light backgrounds */
    --font-family-inter: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-family-inter);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-light-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure Inter font is loaded */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem; /* Responsive padding */
}

/* Headings */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive font size */
    text-align: center;
    color: var(--color-text-light); /* H1 in hero section */
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px; /* More rounded */
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    border: 2px solid var(--color-accent);
}

.btn-primary:hover {
    background-color: #ffc107;
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    border: 2px solid var(--color-primary-dark);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Header */
.site-header {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure header stays on top */
}

.header-content {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: space-between;
    align-items: center;
    gap: 1rem; /* Space between logo and contact */
}

.logo a {
    color: var(--color-text-light);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text { /* Added for the non-linked logo text */
    color: var(--color-text-light);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block; /* Ensures it behaves like a block element for consistent spacing */
}

.contact-info {
    text-align: right;
}

.phone-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.phone-number {
    font-size: clamp(1.6rem, 5vw, 2.5rem); /* Large and highly visible */
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.5px;
    display: block; /* Ensure it takes full width for clickability */
    margin-top: 0.2rem;
}

.phone-number:hover {
    color: var(--color-light-background);
}

/* Hero Section */
.hero-section {
    background-color: var(--color-secondary-dark);
    color: var(--color-text-light);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh; /* Minimum height for hero */
}

.hero-content {
    position: relative;
    z-index: 2; /* Ensure content is above image */
    max-width: 800px;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire section */
    opacity: 0.2; /* Subtle overlay */
    z-index: 1;
}

/* Sections General */
section {
    padding: 3rem 0;
    background-color: var(--color-light-background); /* Default background */
}

.services-section, .why-choose-us-section, .testimonials-section, .cta-section {
    padding: 3rem 0;
}

/* Service Grid */
.service-grid, .features-grid, .testimonial-grid {
    display: grid;
    gap: 1.5rem;
    padding-top: 1rem;
}

/* Responsive grid columns */
@media (min-width: 600px) {
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.service-item, .feature-item, .testimonial-item {
    background-color: #ffffff; /* White background for cards */
    padding: 1.5rem;
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Soft shadow */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover, .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-item h3, .feature-item h3 {
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.service-item p, .feature-item p {
    font-size: 0.95rem;
    color: var(--color-secondary-dark);
}

/* Testimonials */
.testimonials-section {
    background-color: var(--color-secondary-dark);
    color: var(--color-text-light);
}

.testimonials-section h2 {
    color: var(--color-text-light);
}

.testimonial-item {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    padding: 2rem;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.customer-name {
    display: block;
    font-weight: 600;
    text-align: right;
    opacity: 0.9;
}

/* Call to Action Section */
.cta-section {
    background-color: var(--color-light-background);
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: var(--color-secondary-dark);
}

/* Footer */
.site-footer {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.site-footer a {
    color: var(--color-text-light);
    opacity: 0.7;
}

.site-footer a:hover {
    opacity: 1;
}

/* SEO Link (Visually hidden but accessible for screen readers and search engines) */
.seo-link {
    /* Standard technique for visually hiding content while keeping it accessible */
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap; /* Ensures the text stays on one line */
}

/* Accessibility (WCAG AA) */
/* Focus states for keyboard navigation */
a:focus, button:focus, input:focus, select:focus {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Ensure sufficient contrast for text */
body {
    color: var(--color-text-dark); /* Ensure this has good contrast with light-background */
}
.site-header, .hero-section, .testimonials-section, .site-footer {
    color: var(--color-text-light); /* Ensure this has good contrast with dark backgrounds */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .contact-info {
        text-align: center;
    }
    .logo a {
        font-size: 1.5rem;
    }
    .phone-number {
        font-size: 2rem;
    }
    .hero-section {
        padding: 3rem 0;
        min-height: 50vh;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .btn {
        padding: 0.7rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem;
    }
    .hero-section {
        padding: 2rem 0;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.4rem;
    }
    .phone-number {
        font-size: 1.8rem;
    }
    .service-item, .feature-item, .testimonial-item {
        padding: 1rem;
    }
}
