@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Playfair+Display:wght@700&display=swap');

:root {
    /* Color Palette */
    --color-primary: #004d40; /* Deep Teal/Green for Authority */
    --color-secondary: #00796b; /* Darker Teal for Accent */
    --color-accent: #ffb300; /* Amber/Orange for Highlights & Buttons */
    --color-text: #333333; /* Dark Grey for Readability */
    --color-background-light: #f5f5f5; /* Light Grey for Section Breaks */
    --color-white: #ffffff;
    
    /* Spacing & Utilities */
    --padding-section: 60px 5%;
    --max-width: 1200px;
    --border-radius-card: 8px;
}

/* ------------------- BASE RESET & TYPOGRAPHY ------------------- */

a {
    text-decoration: none;
    color: var(--color-secondary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--color-primary);
    margin-bottom: 0.5em;
    line-height: 1.2;
}

h1 {
    font-size: 3em;
    font-weight: 700;
}

h2 {
    font-size: 2em;
    font-weight: 700;
    padding-bottom: 5px;
    margin-bottom: 25px;
    border-bottom: 3px solid var(--color-accent);
    display: inline-block;
}

h3 {
    font-size: 1.4em;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

p {
    margin-bottom: 1em;
}

.sections {
    padding: var(--padding-section);
    margin: 0 auto;
    max-width: var(--max-width);
}

/* Add necessary CSS for #container3/hamburger/navigationLinks (omitted for brevity, as it's typically complex JS/CSS interaction) */


/* ------------------- MAIN CONTENT ------------------- */

/* Hero Section */
#hero_services_uk_ie {
    background-color: var(--color-background-light);
    padding: 80px 5%;
    text-align: center;
    border-bottom: 5px solid var(--color-secondary);
}

#hero_services_uk_ie h1 {
    color: var(--color-primary);
}

.contentContainer {
    max-width: 800px;
    margin: 30px auto 0;
}

.contentContainer p {
    font-size: 1.1em;
    color: var(--color-text);
}

/* Card Grid Layout */
#detailed_services {
    background-color: var(--color-white);
}

#value_security {
    background-color: var(--color-background-light);
}

.team_grid {
    display: grid;
    /* Responsive grid: minimum card size 300px, adjusts to fit as many columns as possible */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    margin-top: 20px;
}

.service-card, .security-card {
    background-color: var(--color-white);
    padding: 25px;
    border-radius: var(--border-radius-card);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--color-secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover, .security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card h3, .security-card h3 {
    color: var(--color-secondary);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.security-card {
    border-top-color: var(--color-accent); /* Highlight security/value cards */
}



/* ------------------- RESPONSIVENESS ------------------- */

/* Mobile (max-width: 600px) */
/* Responsive Adjustments */
@media (max-width: 600px) {
    .section-header h1 { font-size: 2rem; }
    article.content ul { grid-template-columns: 1fr; }
}
/* Container for the brochure icons */
.brochure_elements_cont {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.brochure_elements img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.brochure_elements img:hover {
    transform: scale(1.1);
}

/* Modal Overlay (Background) */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

/* Modal Box */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
}

/* Close Button */
.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Form Styling */
#trialForm input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

#trialForm button {
    width: 100%;
    padding: 12px;
    background-color: #c7692b;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#trialForm button:hover {
    background-color: #218838;
}
