UpUploa/*
Theme Name: Hill Data Systems Single
Theme URI: https://hilldatasystems.co.uk
Author: Hill Data Systems
Description: Custom, lightweight, plugin-free single-page theme for Hill Data Systems.
Version: 1.03
Text Domain: hilldata
*/


/* ### minimise user's ability to download images etc ### */
img {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    pointer-events: none; /* Optional: disables clicking/dragging entirely on images */
}



/* ### Reset & Base Styles ### */

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #3B3735;
    background-color: #FFFFFF;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: #0A783F; text-decoration: none; transition: color 0.2s; }
a:hover { color: #07542c; text-decoration: underline; }



/* ### Container ### */

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}




/* ### Header & Navbar ### */

.site-header {
    background: #FFFFFF;
    border-bottom: 1px solid #EAE6E1;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.site-logo img {
    height: 45px;
    width: auto;
    display: block;
}
.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}
.main-navigation a {
    color: #3B3735;
    font-weight: 500;
    font-size: 0.95rem;
}
.main-navigation a:hover {
    color: #0A783F;
}
.header-cta {
    background-color: #0A783F;
    color: #FFFFFF !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}
.header-cta:hover {
    background-color: #07542c;
    text-decoration: none;
}




/* ### Hero Section ### */

.hero {
    background-color: #D7E0D4;
    padding: 50px 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}
.hero h1 {
    font-size: 2.75rem;
    color: #0A783F;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero .tagline {
    font-size: 1.35rem;
    font-weight: 600;
    color: #3B3735;
    margin-bottom: 15px;
}
.hero .sub-tagline {
    font-size: 1.05rem;
    color: #555555;
    margin-bottom: 30px;
}
.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.btn-primary {
    background-color: #0A783F;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
}
.btn-primary:hover {
    background-color: #07542c;
    color: #FFFFFF;
    text-decoration: none;
}
.btn-secondary {
    background-color: transparent;
    color: #0A783F;
    border: 2px solid #0A783F;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
}
.btn-secondary:hover {
    background-color: #0A783F;
    color: #FFFFFF;
    text-decoration: none;
}
.hero-image img {
    max-width: 100%;
    width: 420px; /* Adjust this number larger or smaller if needed */
    height: auto;
    display: block;
    margin: 0 auto;
}




/* ### Sections General ### */

.section {
    padding: 50px 0;
}
.section-alt {
    background-color: #F4F5F6;
}
.section-title {
    text-align: center;
    font-size: 2.25rem;
    color: #0A783F;
    margin-bottom: 4px;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #8E8987;
    margin-bottom: 25px;
    font-style: italic;
}




/* ### About Section ### */

.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}
.about-photo-wrap {
    text-align: center;
}
.about-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #0A783F;
}
.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}
.about-quote {
    background: #FFFFFF;
    border-left: 4px solid #0A783F;
    padding: 25px;
    font-style: italic;
    font-size: 1.1rem;
    color: #3B3735;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border-radius: 0 6px 6px 0;
    margin-bottom: 40px;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item {
    background: #FFFFFF;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0A783F;
    margin-bottom: 5px;
}
.stat-label {
    font-size: 0.95rem;
    color: #8E8987;
}




/* ### Services Grid ### */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.service-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 30px;
    /* Added a clear, visible border and slightly enhanced shadow */
    border: 1px solid #98B394;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: #0A783F; /* Highlights the border green on hover */
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.service-header-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.service-img-wrap {
    flex-shrink: 0;
    width: 75px;  /* Increased wrapper size */
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-img-wrap img {
    max-height: 70px; /* Increased maximum icon height */
    max-width: 70px;  /* Increased maximum icon width */
    width: auto;
    height: auto;
}
.service-card h3 {
    color: #0A783F;
    font-size: 1.25rem; /* Slightly larger title */
    margin-bottom: 0;
    line-height: 1.3;
}
.service-card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.service-card ul {
    list-style: none;
    border-top: 1px solid #EAE6E1;
    padding-top: 15px;
}
.service-card li {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}
.service-card li::before {
    content: "•";
    color: #0A783F;
    position: absolute;
    left: 0;
}




/* ### Trust Banner ### */

.trust-banner {
    background-color: #D7E0D4;
    padding: 40px 0;
    border-top: 1px solid #c5d3c1;
    border-bottom: 1px solid #c5d3c1;
}
.trust-banner img {
    height: 105px;
    width: auto;
}



/* ### Testimonials ### */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
}
.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #EAE6E1;
    padding-top: 15px;
    margin-top: auto;
}
.testimonial-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: #0A783F;
}
.testimonial-logo {
    max-height: 30px;
    width: auto;
}



/* ### Contact Section ### */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background: #F4F5F6;
    padding: 50px;
    border-radius: 8px;
}
.contact-info h3, .contact-form-wrap h3 {
    color: #0A783F;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.contact-detail {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start; /* Aligns labels to the top of multi-line text */
}
.contact-detail .label {
    font-weight: 600;
    width: 100px;
    flex-shrink: 0;
    color: #3B3735;
}
.contact-detail .value {
    color: #555;
}



/* ### Legal Page Styling ### */

.legal-page {
    max-width: 850px;
    margin: 60px auto;
    padding: 0 20px;
}

.legal-page h1 {
    color: #0A783F;
    font-size: 2.25rem;
    margin-bottom: 10px;
}

.legal-meta {
    color: #8E8987;
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #EAE6E1;
}

.legal-content h2 {
    color: #0A783F;
    font-size: 1.4rem;
    margin-top: 35px;
    margin-bottom: 15px;
}

.legal-content h3 {
    color: #3B3735;
    font-size: 1.15rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

.legal-content p, 
.legal-content ul, 
.legal-content ol {
    margin-bottom: 15px;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.legal-content ul, 
.legal-content ol {
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content strong {
    color: #3B3735;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.95rem;
}

.legal-content th, 
.legal-content footer td, 
.legal-content td {
    border: 1px solid #EAE6E1;
    padding: 12px 15px;
    text-align: left;
}

.legal-content th {
    background-color: #F4F5F6;
    color: #0A783F;
    font-weight: 600;
}

.legal-content tr:nth-child(even) {
    background-color: #FAFAFA;
}



/* ### Footer ### */

.site-footer {
    background: #252321;
    color: #B5B0AC;
    padding: 10px 0;
    font-size: 0.9rem;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    color: #B5B0AC;
}
.footer-links a:hover {
    color: #FFFFFF;
}



/* ### Responsive ### */

@media(max-width: 768px) {
    .hero-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .main-navigation {
        display: none;
    }
}
