:root {
    --font-base: 'Roboto', sans-serif;
    --color-primary: #4A4E69;   /* Slate Blue */
    --color-accent: #CC5500;    /* Burnt Orange */
    --color-white: #ffffff;
    --color-light-gray: #E0E0E0;
    --color-darker-accent: #A64400;
}

body {
    font-family: var(--font-base);
    background-color: var(--color-light-gray);
    color: var(--color-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header, section, footer {
    padding: 20px;
    max-width: 1200px; /* Wider for modern look */
    margin: 0 auto;
    border-radius: 12px;
}

.hero {
    text-align: center;
    padding: 40px 20px; /* Slightly tighter than 60px */
}

.hero-bg {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    padding: 40px 20px;
    border-radius: 12px;
}

.hero h1 {
    font-size: 48px;
    color: var(--color-white);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
    animation: fadeIn 1.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero .tagline {
    font-size: 24px;
    color: var(--color-white);
    margin-bottom: 10px;
    font-weight: 500;
}

.hero .usp {
    font-size: 18px;
    color: var(--color-white);
    margin-bottom: 20px;
}

.btn {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--color-darker-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.services {
    padding: 60px 20px;
}

.services h2 {
    color: var(--color-primary);
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.service-tile {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: center;
}

.service-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background: linear-gradient(145deg, #fff, #f8f8f8);
}

.service-tile i {
    font-size: 36px;
    color: var(--color-accent);
    margin-bottom: 10px;
    display: block;
}

.service-tile h3 {
    color: var(--color-accent);
    font-size: 20px;
    margin-bottom: 10px;
}

.service-tile p {
    color: var(--color-primary);
    font-size: 16px;
    line-height: 1.5;
}

.about, .why-choose-us, .contact {
    padding: 40px 20px;
    background-color: white; /* Swapped to white for cleaner look */
    border-radius: 12px; /* Matching hero’s corners */
    margin-bottom: 20px; /* Space between sections */
}

.about h2, .why-choose-us h2, .contact h2 {
    color: #4A4E69;
    font-size: 28px; /* Slightly smaller for subtlety */
    margin-bottom: 15px;
}

.why-choose-us ul {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.why-choose-us li {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--color-primary);
    position: relative;
    padding-left: 20px;
}

.why-choose-us li:before {
    content: "✓";
    color: var(--color-accent);
    position: absolute;
    left: 0;
}

.contact {
    text-align: center; /* Center the simplified contact info */
}

.contact p {
    font-size: 18px;
    margin: 0;
}

.contact a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.contact a:hover {
    color: var(--color-darker-accent);
    text-decoration: underline;
}

footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    padding: 20px;
    text-align: center;
    border-radius: 12px;
}

footer a {
    color: var(--color-white);
    text-decoration: none;
}

footer a:hover {
    color: var(--color-light-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .hero .tagline { font-size: 20px; }
    .hero .usp { font-size: 16px; }
    .service-grid { grid-template-columns: 1fr; }
    .btn { padding: 10px 18px; }
}


.site-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 50px;
    line-height: 50px;
    padding: 0;
}

/* Container – centre content, keep side gutters */
.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;               /* fill the 50 px bar */
    padding: 0 1rem;            /* only horizontal padding */
}

/* Logo – white, same font as the rest of the site */
.site-header .logo {
    font-family: var(--font-base);
    font-size: 1.25rem;        /* slightly smaller than body headings */
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
}

.site-header .nav {
    display: flex;               /* <nav> becomes a flex container */
    align-items: center;
    flex-wrap: nowrap;           /* keep everything on one line */
}

.site-header .nav-list {
    display: flex;               /* <ul> becomes a flex container */
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.6rem;                 /* tighter gap between items */
}

.site-header .nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0 0.4rem;
    transition: color 0.2s ease;
    position: relative;
    overflow: hidden;
}
.site-header .nav-toggle {
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    display: none;               /* overridden in media query */
}

/* Mobile menu – slide‑down, same gradient background */
@media (max-width: 768px) {
    .site-header .nav-toggle { display: block; }

    .site-header .nav {
        position: absolute;
        top: 100%;               /* directly below the slim bar */
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .site-header .nav.open { max-height: 400px; }

    .site-header .nav-list {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
}


@media (min-width: 1024px) {
    .site-header .container {
        max-width: 1100px;
    }
}

.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.site-header .nav-link:hover::after,
.site-header .nav-link:focus::after {
    transform: scaleX(1);
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
    color: var(--color-white);
}

@media (max-width: 768px) {
    /* ① Reduce the link’s vertical padding (makes the block tighter) */
    .site-header .nav-list .nav-link {
        padding-top: 0.35rem;   /* from 0.5rem → 0.35rem */
        padding-bottom: 0.35rem;
        /* keep the horizontal padding you already have (1rem) */
    }

    /* ② Bring the underline up so it hugs the text */
    .site-header .nav-list .nav-link::after {
        bottom: -0.3px;          /* close to the baseline – adjust ±0.2px if needed */
        height: 2px;            /* keep the thickness you chose */
    }
}


.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: #00A5A5;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.service-link:hover {
    border-bottom: 2px solid #00A5A5;
}

.service-link::after {
    content: " →";
    margin-left: 4px;
}