/* --- CSS RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* --- CSS VARIABLES --- */
:root {
    --primary-color: #004AAD;
    --secondary-color: #F7941D;
    --dark-color: #222;
    --light-color: #f4f4f4;
    --text-color: #333;
    --white-color: #fff;
    --font-family: 'Inter', sans-serif;
    --base-font-size: 1rem;
    --border-radius: 8px;
    --container-width: 1100px;
    --spacing-unit: 1rem;
}

/* --- GLOBAL STYLES --- */
html { scroll-behavior: smooth; font-size: 100%; }
body { font-family: var(--font-family); line-height: 1.6; color: var(--text-color); background-color: var(--white-color); }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 calc(var(--spacing-unit) * 1.5); }
h1, h2, h3 { line-height: 1.2; margin-bottom: var(--spacing-unit); color: var(--dark-color); font-weight: 700; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: var(--spacing-unit); }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--secondary-color); }
ul { list-style-type: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- BUTTON STYLES --- */
.cta-button, .btn-secondary { display: inline-block; padding: 0.8rem 1.5rem; border: 2px solid transparent; border-radius: var(--border-radius); font-weight: 700; text-align: center; text-decoration: none; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; cursor: pointer; }
.cta-button { background-color: var(--secondary-color); color: var(--white-color); border-color: var(--secondary-color); text-transform: uppercase; }
.cta-button:hover { background-color: #d97d10; border-color: #d97d10; color: var(--white-color); }
.btn-secondary { background-color: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--white-color); }

/* --- HEADER & NAVIGATION --- */
.site-header { background-color: var(--white-color); padding: 10px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { max-width: 100px; height: auto; transition: transform 0.3s ease; }
.logo img:hover { transform: scale(1.05); }
.main-nav { position: relative; }
.nav-links { display: none; flex-direction: column; position: absolute; top: calc(100% + 15px); right: 0; width: 250px; background-color: var(--white-color); box-shadow: 0 5px 15px rgba(0,0,0,0.15); border-radius: var(--border-radius); }
.nav-links.active { display: flex; }
.nav-links li { width: 100%; text-align: left; }
.nav-links a { display: block; padding: var(--spacing-unit); font-weight: 600; position: relative; }
.header-cta { display: none; }

/* --- HERO SECTION --- */
.hero { position: relative; background-image: url('../images/68992805-909732016030388-4843909647377104896-n-960x720.jpg'); background-size: cover; background-position: center; color: var(--white-color); padding: calc(var(--spacing-unit) * 4) 0; text-align: center; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 1; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white-color); font-size: 2.5rem; }
.hero-subtext { max-width: 650px; margin: 1rem auto 2rem; background: rgba(0,0,0,0.2); padding: 1rem; border-radius: var(--border-radius); }
.hero-jobs h2 { font-size: 1.2rem; color: var(--white-color); margin-bottom: 1rem; font-weight: 600; text-align: left; }
.hero-jobs ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; text-align: left; }
.hero-jobs li { font-size: 0.9rem; }

/* --- SERVICES & CONTENT SECTIONS --- */
section { padding: calc(var(--spacing-unit) * 4) 0; }
.page-header { background-color: var(--light-color); text-align: center; padding: calc(var(--spacing-unit) * 3) 0; }
.section-intro { text-align: center; max-width: 700px; margin: 0 auto calc(var(--spacing-unit) * 2); }
#services h2 { margin-bottom: 2rem; text-align: center;}
.services-grid { display: grid; gap: calc(var(--spacing-unit) * 1.5); }
.service-card { background: var(--white-color); border-radius: var(--border-radius); overflow: hidden; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; padding-bottom: 1.5rem; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card h3 { padding: var(--spacing-unit) var(--spacing-unit) 0.5rem; color: var(--primary-color); }
.service-card p { padding: 0 var(--spacing-unit); flex-grow: 1; margin-bottom: 1.5rem; }
.why-choose-us-section { background-color: var(--light-color); }
.why-choose-us-section h2 { text-align: center; margin-bottom: 2rem; }
.why-choose-us-grid { display: grid; gap: 1.5rem; }
.feature-card { background: var(--white-color); padding: 1.5rem; border-radius: var(--border-radius); box-shadow: 0 4px 12px rgba(0,0,0,0.05); text-align: center; }
.feature-card h3 { color: var(--primary-color); margin-bottom: 0.5rem; font-size: 1.2rem; }
.how-it-works { text-align: center; }
.how-it-works h2 { margin-bottom: 2rem; }
.how-it-works-grid { display: grid; gap: 1.5rem; }
.step-card { border: 1px solid #eee; padding: 2rem; border-radius: var(--border-radius); }
.step-number { font-size: 2.5rem; font-weight: 700; color: var(--secondary-color); line-height: 1; margin-bottom: 1rem; }
.step-card h3 { color: var(--primary-color); }
.testimonials { background-color: var(--light-color); }
.testimonials h2 { text-align: center; margin-bottom: 2rem; }
.testimonial-grid { display: grid; gap: var(--spacing-unit); }
.testimonial { background-color: var(--white-color); padding: 1.5rem; border-left: 5px solid var(--primary-color); border-radius: var(--border-radius); }
.faq-section h2 { text-align: center; margin-bottom: 2rem; }
.faq-grid { max-width: 800px; margin: 0 auto; display: grid; gap: 1rem; }
.faq-item { border-bottom: 1px solid #eee; padding-bottom: 1rem; }
.faq-item h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }

/* --- FOOTER --- */
.site-footer { background-color: var(--dark-color); color: var(--light-color); padding: calc(var(--spacing-unit) * 3) 0 0; }
.site-footer a { color: var(--light-color); }
.site-footer a:hover { color: var(--secondary-color); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-col h4 { color: var(--white-color); margin-bottom: var(--spacing-unit); }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-bottom { border-top: 1px solid #444; text-align: center; padding: var(--spacing-unit) 0; }

/* --- COOKIE BANNER --- */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--dark-color); color: var(--white-color); padding: var(--spacing-unit); display: none; flex-wrap: wrap; justify-content: center; align-items: center; z-index: 2000; }
.cookie-banner.visible { display: flex; }
.cookie-banner p { margin: 0 1rem 0 0; }
.cookie-banner a { color: var(--secondary-color); text-decoration: underline; }
.cookie-button { background-color: var(--secondary-color); color: var(--white-color); border: none; padding: 0.5rem 1rem; border-radius: var(--border-radius); cursor: pointer; margin-left: 1rem; }

/* --- HAMBURGER MENU ICON --- */
.menu-toggle { position: relative; width: 30px; height: 22px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.hamburger-icon, .hamburger-icon::before, .hamburger-icon::after { content: ''; position: absolute; left: 0; width: 30px; height: 3px; background-color: var(--dark-color); border-radius: 2px; transition: transform 0.3s ease, top 0.3s ease, background-color 0.3s ease; }
.hamburger-icon { top: 50%; transform: translateY(-50%); }
.hamburger-icon::before { top: -10px; }
.hamburger-icon::after { top: 10px; }
.menu-toggle[aria-expanded="true"] .hamburger-icon { background-color: transparent; }
.menu-toggle[aria-expanded="true"] .hamburger-icon::before { transform: rotate(45deg); top: 0; }
.menu-toggle[aria-expanded="true"] .hamburger-icon::after { transform: rotate(-45deg); top: 0; }

/* --- ACCESSIBILITY IMPROVEMENTS --- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--secondary-color); outline-offset: 2px; box-shadow: 0 0 0 5px var(--primary-color); border-radius: 2px; transition: none; }

/* --- COMPLIANCE PAGE STYLES --- */
.compliance-content { padding: calc(var(--spacing-unit) * 2) 0; }
.compliance-content .container { max-width: 800px; }
.compliance-content h2 { margin-top: 2rem; margin-bottom: 1rem; color: var(--primary-color); }
.compliance-content ul { list-style-type: disc; margin-left: 2rem; margin-bottom: 1rem; }

/* --- MEDIA QUERIES --- */
@media (min-width: 576px) {
    .hero-jobs ul { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    .hero { padding: calc(var(--spacing-unit) * 6) 0; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .why-choose-us-grid { grid-template-columns: repeat(2, 1fr); }
    .how-it-works-grid { grid-template-columns: repeat(3, 1fr); }
    .faq-grid { gap: 1.5rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .menu-toggle { display: none; }
    .logo img { max-width: 150px; }
    .nav-links { display: flex; flex-direction: row; position: static; width: auto; background: none; box-shadow: none; align-items: center; }
    .nav-links li { border: none; }
    .nav-links a { padding: 0.5rem 1rem; white-space: nowrap; }
    .nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background-color: var(--secondary-color); transition: width 0.3s ease; }
    .nav-links a:hover::after, .nav-links a:focus::after { width: 80%; }
    .header-cta { display: block; margin-left: 1.5rem; }
    .header-cta .cta-button { padding: 0.6rem 1.2rem; }
    
    .dropdown { position: relative; padding-bottom: 1.5rem; margin-bottom: -1.5rem; }
    .dropdown-menu { position: absolute; top: 100%; left: 0; background-color: var(--white-color); min-width: 220px; box-shadow: 0 8px 16px rgba(0,0,0,0.15); border-radius: var(--border-radius); padding: 0.5rem 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease; }
    .dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
    .dropdown-menu li { width: 100%; text-align: left; }
    .dropdown-menu a { width: 100%; padding: 0.5rem 1rem; }
    .dropdown-menu a::after { display: none; }

    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .why-choose-us-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}