@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Montserrat:wght@700&display=swap');

:root {
 --primary-color: #047857; /* Emerald-700 */
 --primary-dark: #065f46; /* Emerald-800 */
 --accent-color: #10b981; /* Emerald-500 */
 --header-bg: #064e3b; /* Emerald-900, dark navy-like green */
 --footer-bg: #022c22; /* Even darker shade */
 --text-dark: #1f2937;
 --text-light: #4b5563;
 --text-white: #ffffff;
 --bg-light: #f0fdf4;
 --bg-white: #ffffff;
 --border-color: #d1d5db;
 --font-main: 'Inter', sans-serif;
 --font-heading: 'Montserrat', sans-serif;
 --radius-md: 8px;
 --radius-lg: 12px;
 --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
 --transition: all 0.3s ease-in-out;
}

*, *::before, *::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

html {
 scroll-behavior: smooth;
}

body {
 font-family: var(--font-main);
 font-size: 16px;
 line-height: 1.6;
 color: var(--text-dark);
 background: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
}

a {
 color: var(--primary-color);
 text-decoration: none;
 transition: var(--transition);
}

a:hover {
 color: var(--accent-color);
}

h1, h2, h3, h4 {
 font-family: var(--font-heading);
 color: var(--text-dark);
 font-weight: 700;
 line-height: 1.2;
}

ul {
 list-style: none;
}

/* Header */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(255,255,255,0.9);
 backdrop-filter: blur(10px);
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}

.header-top-bar {
 background-color: var(--header-bg);
 color: var(--text-white);
 padding: 8px 0;
 font-size: 0.85rem;
}
.header-top-bar-content {
 display: flex;
 justify-content: space-between;
 align-items: center;
}
.header-contact-info, .header-social-media {
 display: flex;
 align-items: center;
 gap: 20px;
}
.header-contact-info a, .header-social-media a {
 color: var(--text-white);
 display: flex;
 align-items: center;
 gap: 6px;
}
.header-contact-info a:hover, .header-social-media a:hover {
 color: var(--accent-color);
}
.header-contact-info svg, .header-social-media svg {
 width: 16px;
 height: 16px;
}

.nav {
 height: 70px;
 display: flex;
 justify-content: space-between;
 align-items: center;
}
.nav-logo {
 font-family: var(--font-heading);
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
}
.nav-links {
 display: flex;
 gap: 32px;
}
.nav-links a {
 font-weight: 500;
 color: var(--text-dark);
 padding: 8px 0;
 position: relative;
}
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 50%;
 transform: translateX(-50%);
 width: 0;
 height: 2px;
 background: var(--primary-color);
 transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after {
 width: 100%;
}
.nav-actions {
 display: flex;
 align-items: center;
 gap: 16px;
}

.search-toggle, .nav-toggle {
 background: none;
 border: none;
 cursor: pointer;
 color: var(--text-dark);
}

.nav-toggle {
 display: none;
 width: 24px;
 height: 24px;
 position: relative;
}

.nav-toggle span {
 display: block;
 position: absolute;
 height: 2px;
 width: 100%;
 background: var(--text-dark);
 border-radius: 2px;
 opacity: 1;
 left: 0;
 transform: rotate(0deg);
 transition: .25s ease-in-out;
}

.nav-toggle span:nth-child(1) { top: 4px; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 18px; }

.nav-toggle.open span:nth-child(1) {
 top: 11px;
 transform: rotate(135deg);
}
.nav-toggle.open span:nth-child(2) {
 opacity: 0;
 left: -60px;
}
.nav-toggle.open span:nth-child(3) {
 top: 11px;
 transform: rotate(-135deg);
}

/* Main sections */
main {
 padding-top: 108px; /* top bar + nav height */
}
.section {
 padding: 80px 0;
}
.section.bg-light {
 background-color: var(--bg-light);
}

.section-header {
 margin-bottom: 48px;
}

.section-header.centered {
 text-align: center;
 max-width: 750px;
 margin-left: auto;
 margin-right: auto;
}

.section-badge {
 display: inline-block;
 background-color: var(--bg-light);
 color: var(--primary-color);
 padding: 8px 16px;
 border-radius: 20px;
 font-size: 0.9rem;
 font-weight: 700;
 margin-bottom: 16px;
 border: 1px solid var(--primary-color);
}
.section-title {
 font-size: clamp(2rem, 4vw, 2.75rem);
 margin-bottom: 16px;
}
.title-underline {
 width: 80px;
 height: 4px;
 background-color: var(--accent-color);
 margin: 16px auto;
}
.section-subtitle {
 font-size: 1.1rem;
 color: var(--text-light);
 line-height: 1.7;
}

/* Hero Business */
.hero-business {
 padding: 100px 0;
 text-align: center;
 background-color: #eef2f3;
 background-image: linear-gradient(315deg, rgba(255,255,255,0) 0%, rgba(239,253,244,1) 100%),
 radial-gradient(at top left, #ffffff 40%, #d1fae5);
 position: relative;
 overflow: hidden;
}

.hero-logo-container {
 display: inline-block;
 padding: 12px 24px;
 border: 1px solid rgba(4, 120, 87, 0.2);
 border-radius: var(--radius-lg);
 margin-bottom: 24px;
}

.hero-logo-text {
 font-family: var(--font-heading);
 font-size: 1.25rem;
 font-weight: 700;
 color: var(--primary-dark);
}

.hero-headline {
 font-size: clamp(2.5rem, 5vw, 3.8rem);
 color: var(--text-dark);
 max-width: 900px;
 margin: 0 auto 24px;
}

.hero-subheadline {
 font-size: 1.2rem;
 color: var(--text-light);
 max-width: 700px;
 margin: 0 auto 32px;
}
.hero-badges {
 display: flex;
 justify-content: center;
 gap: 24px;
 margin-top: 40px;
 flex-wrap: wrap;
}
.badge {
 display: flex;
 align-items: center;
 gap: 8px;
 font-size: 0.9rem;
 font-weight: 500;
 color: var(--text-light);
}
.badge svg {
 width: 20px;
 height: 20px;
 color: var(--accent-color);
}

/* Buttons */
.btn {
 display: inline-block;
 font-family: var(--font-main);
 font-weight: 600;
 padding: 14px 32px;
 border-radius: var(--radius-md);
 border: 2px solid transparent;
 cursor: pointer;
 transition: var(--transition);
 text-align: center;
}
.btn-primary {
 background-color: var(--primary-color);
 color: var(--text-white);
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 box-shadow: var(--shadow-lg);
 transform: translateY(-2px);
 color: var(--text-white);
}
.btn-secondary {
 background-color: var(--bg-white);
 color: var(--primary-color);
 border-color: var(--primary-color);
}
.btn-secondary:hover {
 background-color: var(--primary-color);
 color: var(--text-white);
 transform: translateY(-2px);
}
.btn-primary-full {
 background-color: var(--primary-color);
 color: var(--text-white);
 width: 100%;
}
.btn-primary-full:hover {
 background-color: var(--primary-dark);
}

/* Formal Grid */
.formal-grid-4, .formal-grid-3 {
 display: grid;
 gap: 30px;
}
.formal-grid-4 { grid-template-columns: repeat(4, 1fr); }
.formal-grid-3 { grid-template-columns: repeat(3, 1fr); }

.formal-card {
 background: var(--bg-white);
 padding: 32px;
 border-radius: var(--radius-lg);
 text-align: center;
 border: 1px solid var(--border-color);
 transition: var(--transition);
}
.formal-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
 border-color: var(--primary-color);
}
.formal-card-icon {
 width: 60px;
 height: 60px;
 margin: 0 auto 24px;
 background-color: var(--bg-light);
 border-radius: var(--radius-md);
 display: flex;
 align-items: center;
 justify-content: center;
}
.formal-card-icon svg {
 width: 32px;
 height: 32px;
 color: var(--primary-color);
}
.formal-card-title {
 font-size: 1.25rem;
 margin-bottom: 12px;
}
.formal-card-text {
 color: var(--text-light);
}

/* Horizontal Timeline */
.timeline-horizontal {
 display: flex;
 justify-content: space-between;
 position: relative;
 padding: 20px 0;
}
.timeline-horizontal::before {
 content: '';
 position: absolute;
 top: 39px; /* adjust to center of number */
 left: 5%;
 width: 90%;
 height: 2px;
 background-color: var(--border-color);
}
.timeline-step {
 text-align: center;
 width: 23%;
 position: relative;
 background: var(--bg-white);
 padding: 0 10px;
}
.timeline-number {
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background-color: var(--bg-white);
 border: 2px solid var(--primary-color);
 color: var(--primary-color);
 font-weight: 700;
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto 20px;
 position: relative;
 z-index: 1;
}
.timeline-step:hover .timeline-number {
 background-color: var(--primary-color);
 color: var(--text-white);
}
.timeline-title { font-size: 1.1rem; margin-bottom: 8px; }
.timeline-text { font-size: 0.9rem; color: var(--text-light); }

/* Team Section */
.team-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 30px;
}
.team-card {
 background: var(--bg-white);
 border-radius: var(--radius-lg);
 padding: 32px;
 text-align: center;
 box-shadow: var(--shadow-md);
 transition: var(--transition);
}
.team-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 20px;
 border: 4px solid var(--bg-white);
 box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.team-name { font-size: 1.25rem; margin-bottom: 4px; }
.team-title { color: var(--primary-color); font-weight: 600; margin-bottom: 12px; }
.team-bio { font-size: 0.9rem; color: var(--text-light); }

/* Partners Logo Carousel */
.partners-section {
 overflow: hidden;
 padding: 40px 0;
}
.logo-carousel {
 display: flex;
 width: auto;
}
.logo-carousel-track {
 display: flex;
 animation: scroll 30s linear infinite;
}
.partner-logo {
 height: 45px;
 width: auto;
 margin: 0 40px;
 filter: grayscale(100%);
 opacity: 0.6;
 transition: var(--transition);
}
.partner-logo:hover {
 filter: grayscale(0%);
 opacity: 1;
}
@keyframes scroll {
 0% { transform: translateX(0); }
 100% { transform: translateX(-50%); }
}

/* Contact Form Wrapper */
.contact-form-wrapper {
 display: grid;
 grid-template-columns: 1fr 1.5fr;
 gap: 40px;
 background: var(--bg-white);
 padding: 40px;
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 align-items: center;
}
.contact-form-title { font-size: 1.8rem; margin-bottom: 16px; }
.contact-info-item {
 display: flex;
 gap: 16px;
 margin-top: 24px;
 align-items: flex-start;
}
.contact-info-item svg {
 width: 24px;
 height: 24px;
 color: var(--primary-color);
 flex-shrink: 0;
}
.contact-form .form-row {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; }
.form-group input, .form-group textarea {
 width: 100%;
 padding: 12px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 font-size: 1rem;
 font-family: var(--font-main);
 transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.2);
}
textarea { resize: vertical; }

/* Footer */
.footer {
 background-color: var(--footer-bg);
 color: #a0aec0;
 padding: 60px 0 20px;
 font-size: 0.9rem;
}
.footer-certified {
 display: flex;
 justify-content: center;
 gap: 40px;
 padding: 20px 0;
 border-top: 1px solid rgba(255,255,255,0.1);
 border-bottom: 1px solid rgba(255,255,255,0.1);
 margin-bottom: 40px;
 font-weight: 600;
 color: #cbd5e0;
 letter-spacing: 0.5px;
 font-size: 0.8rem;
 text-transform: uppercase;
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(5, 1fr);
 gap: 30px;
 margin-bottom: 40px;
}
.footer-heading {
 font-size: 1rem;
 color: var(--text-white);
 margin-bottom: 20px;
 font-weight: 700;
}
.footer-column ul {
 list-style: none;
 padding: 0;
}
.footer-column li {
 margin-bottom: 12px;
}
.footer-column a {
 color: #a0aec0;
}
.footer-column a:hover {
 color: var(--accent-color);
}
.footer-contact-hours {
 border-top: 1px solid rgba(255,255,255,0.1);
 padding-top: 20px;
 margin-top: 20px;
 display: flex;
 justify-content: space-between;
 flex-wrap: wrap;
 font-size: 0.85rem;
}
.footer-contact-details a { color: #cbd5e0; }
.footer-contact-details a:hover { color: var(--accent-color); }
.footer-bottom {
 text-align: center;
 padding-top: 20px;
 margin-top: 20px;
 border-top: 1px solid rgba(255,255,255,0.1);
 font-size: 0.85rem;
}

/* Specific Page Styles */
.page-header-section {
 background-color: var(--header-bg);
 color: var(--text-white);
 padding: 60px 0;
 text-align: center;
}
.page-header-section h1 {
 font-size: 3rem;
 color: var(--text-white);
}
.page-header-section p {
 font-size: 1.2rem;
 color: #cbd5e0;
 max-width: 600px;
 margin: 16px auto 0;
}

.media-object-layout {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 50px;
 align-items: center;
}
.media-object-image img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
}
.value-card.formal-card {
 text-align: left;
}

/* Services Page */
.services-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 30px;
}
.service-card {
 background: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 overflow: hidden;
 transition: var(--transition);
}
.service-card:hover{
 transform: translateY(-8px);
 box-shadow: var(--shadow-lg);
}
.service-card-image {
 width: 100%;
 height: 250px;
 object-fit: cover;
}
.service-card-content { padding: 30px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.service-card ul { list-style: disc; padding-left: 20px; margin-top: 16px; }
.service-card li { margin-bottom: 8px; color: var(--text-light); }

.cta-section-dark {
 background-color: var(--header-bg);
 color: var(--text-white);
 text-align: center;
}
.cta-section-dark h2 { color: var(--text-white); margin-bottom: 16px; }
.cta-section-dark p { max-width: 600px; margin: 0 auto 32px; color: #cbd5e0; }

/* Contact Page */
.contact-page-layout {
 display: grid;
 grid-template-columns: 1fr 1.5fr;
 gap: 50px;
}
.contact-details-box {
 background-color: var(--bg-light);
 padding: 40px;
 border-radius: var(--radius-lg);
}
.contact-details-box h3 { font-size: 1.8rem; margin-bottom: 16px;}
.contact-info-item-page { display: flex; align-items: flex-start; gap: 16px; margin-top: 24px;}
.contact-info-item-page .contact-icon {
 background-color: var(--accent-color);
 color: var(--text-white);
 width: 40px;
 height: 40px;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 flex-shrink: 0;
}
.contact-info-item-page .contact-icon svg { width: 20px; height: 20px; }
.contact-info-item-page h4 { margin-bottom: 4px; font-size: 1.1rem; }
.contact-form-page h3 { font-size: 1.8rem; margin-bottom: 24px; }
.form-group input[type="checkbox"] { width: auto; margin-right: 10px; }
.form-group label[for="privacy-consent"] { display: inline-flex; align-items: center; font-weight: 400; font-size: 0.9rem; }
.map-section { padding: 0; }
.map-section iframe { display: block; }

/* Thank You Page */
.thank-you-section {
 padding: 120px 0;
 min-height: 60vh;
 display: flex;
 align-items: center;
 justify-content: center;
}
.thank-you-section .centered { text-align: center; max-width: 600px; }
.thank-you-icon { color: var(--accent-color); margin-bottom: 24px; }
.thank-you-icon svg { width: 80px; height: 80px; }
.thank-you-section h1 { margin-bottom: 16px; }
.thank-you-section p { margin-bottom: 32px; color: var(--text-light); }

/* Legal Pages */
.legal-page { padding: 40px 0; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { margin-bottom: 16px; color: var(--text-dark); }
.legal-page p { margin-bottom: 16px; }
.legal-page section { margin-bottom: 32px; }
.legal-page h2 {
 font-size: 1.5rem;
 margin-top: 32px;
 margin-bottom: 16px;
 padding-bottom: 8px;
 border-bottom: 2px solid var(--accent-color);
}
.legal-page ul { list-style: disc; margin-left: 20px; margin-bottom: 16px; }
.legal-page li { margin-bottom: 8px; }
.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin: 24px 0;
}
.cookie-table th, .cookie-table td {
 border: 1px solid var(--border-color);
 padding: 12px;
 text-align: left;
}
.cookie-table th { background-color: var(--bg-light); font-weight: 600; }

/* Cookie Banner */
#cookie-banner {
 display: none;
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--header-bg);
 color: var(--text-white);
 padding: 20px;
 z-index: 2000;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 flex-wrap: wrap;
}
#cookie-banner p { margin: 0; }
#cookie-banner a { color: var(--accent-color); text-decoration: underline; }
#cookie-banner div { display: flex; gap: 10px; }
#cookie-banner button {
 padding: 10px 20px;
 border-radius: var(--radius-md);
 cursor: pointer;
 border: none;
}
#accept-cookies { background-color: var(--accent-color); color: white; }
#decline-cookies { background-color: transparent; border: 1px solid white; color: white; }

/* Animations */
.animate-on-scroll {
 opacity: 0;
 transform: translateY(30px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
 opacity: 1;
 transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
 .header-social-media { display: none; }
 .formal-grid-4 { grid-template-columns: repeat(2, 1fr); }
 .formal-grid-3, .team-grid { grid-template-columns: 1fr; }
 .timeline-horizontal { flex-direction: column; gap: 30px; }
 .timeline-horizontal::before { display: none; }
 .timeline-step { width: 100%; }
 .contact-form-wrapper { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: repeat(3, 1fr); }
 .services-grid { grid-template-columns: 1fr; }
 .contact-page-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
 .nav-toggle { display: block; z-index: 1001; }
 .nav-links {
 position: fixed;
 top: 0;
 left: -100%;
 width: 280px;
 height: 100vh;
 background: var(--bg-white);
 flex-direction: column;
 padding: 120px 20px 20px;
 gap: 20px;
 box-shadow: var(--shadow-lg);
 transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
 }
 .nav-links.open {
 left: 0;
 }
 main { padding-top: 76px; }
 .header-top-bar { display: none; }
 
 .hero-headline { font-size: 2.2rem; }
 .hero-subheadline { font-size: 1rem; }
 .formal-grid-4 { grid-template-columns: 1fr; }
 .media-object-layout { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: repeat(2, 1fr); }
 .footer-contact-hours { flex-direction: column; gap: 10px; }
}

@media (max-width: 576px) {
 .footer-grid { grid-template-columns: 1fr; }
 .footer-certified { flex-direction: column; gap: 15px; align-items: center; }
 #cookie-banner { flex-direction: column; text-align: center; }
}