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

:root {
 --primary-color: #047857;
 --primary-dark: #065f46;
 --primary-darker: #064e3b;
 --accent-color: #10b981;
 --bg-light: #f0fdf4;
 --text-dark: #1f2937;
 --text-light: #6b7280;
 --border-color: #e5e7eb;
 --white: #ffffff;
 --header-bg: #022c22;
 --footer-bg: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
 --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 --radius: 8px;
 --transition: all 0.3s ease-in-out;
 --font-main: 'Inter', sans-serif;
}

/* --- BASE & TYPOGRAPHY --- */
*, *::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-color: var(--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); }
img {
 max-width: 100%;
 height: auto;
 display: block;
}
h1, h2, h3, h4, h5, h6 {
 font-weight: 700;
 line-height: 1.2;
 color: var(--text-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: 1.25rem; }

/* --- HEADER --- */
.header {
 background-color: var(--white);
 box-shadow: var(--shadow-sm);
 position: sticky;
 top: 0;
 z-index: 1000;
}
.header-top-bar {
 background-color: var(--header-bg);
 color: var(--white);
 padding: 8px 0;
 font-size: 0.875rem;
}
.header-top-bar a {
 color: var(--white);
 display: inline-flex;
 align-items: center;
 gap: 8px;
}
.header-top-bar a:hover { color: var(--accent-color); }
.header-top-bar-content {
 display: flex;
 justify-content: flex-end;
}
.header-contact-info { display: flex; gap: 24px; }
.nav {
 height: 80px;
 display: flex;
 align-items: center;
 justify-content: space-between;
}
.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
}
.nav-links {
 display: flex;
 list-style: none;
 gap: 32px;
}
.nav-links a {
 color: var(--text-dark);
 font-weight: 500;
 padding: 8px 0;
 position: relative;
}
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: -2px;
 left: 0;
 width: 0;
 height: 2px;
 background-color: var(--primary-color);
 transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; }

/* --- BUTTONS --- */
.btn {
 display: inline-block;
 padding: 12px 24px;
 border-radius: var(--radius);
 font-weight: 600;
 text-align: center;
 border: 2px solid transparent;
 cursor: pointer;
 transition: var(--transition);
}
.btn-primary {
 background-color: var(--primary-color);
 color: var(--white);
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 transform: translateY(-2px);
}
.btn-secondary {
 border-color: var(--primary-color);
 color: var(--primary-color);
 background: transparent;
}
.btn-secondary:hover {
 background-color: var(--primary-color);
 color: var(--white);
}

/* --- SECTIONS --- */
.section { padding: 80px 0; }
.section.bg-light { background-color: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
 display: inline-block;
 background-color: var(--accent-color);
 color: var(--white);
 padding: 4px 12px;
 border-radius: 99px;
 font-size: 0.875rem;
 font-weight: 600;
 margin-bottom: 16px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle {
 max-width: 700px;
 margin: 0 auto;
 color: var(--text-light);
 font-size: 1.1rem;
}

/* --- HERO --- */
.hero {
 padding: 100px 0;
 text-align: center;
 background-color: #eef2f3;
 position: relative;
 overflow: hidden;
 min-height: 50vh;
 display:flex;
 align-items: center;
}
.hero::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-image:
 radial-gradient(var(--border-color) 1px, transparent 1px);
 background-size: 20px 20px;
 opacity: 0.5;
}
.hero-content {
 position: relative;
 z-index: 1;
}
.hero-logo-container { margin-bottom: 24px; }
.hero-logo-text {
 background-color: var(--primary-color);
 color: var(--white);
 padding: 8px 16px;
 border-radius: var(--radius);
 font-weight: 700;
 font-size: 1.25rem;
}

.hero h1 { 
 margin-bottom: 16px;
 color: var(--text-dark);
}
.hero-subtitle {
 font-size: 1.25rem;
 color: var(--text-light);
 max-width: 700px;
 margin: 0 auto 32px;
}
.page-header-section {
 background: var(--primary-darker);
 color: var(--white);
 padding: 60px 0;
 text-align: center;
}
.page-header-section h1 { color: var(--white); }
.page-header-section p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

/* --- GRID & CARD STYLES --- */
.grid-2, .grid-3, .grid-4 {
 display: grid;
 gap: 30px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
 background-color: var(--white);
 border-radius: var(--radius);
 box-shadow: var(--shadow-md);
 overflow: hidden;
 transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.card img {
 width: 100%;
 height: 200px;
 object-fit: cover;
}
.card-body { padding: 24px; }
.card-title { margin-bottom: 12px; }
.card-text { color: var(--text-light); }

/* --- SPECIFIC SECTION STYLES --- */

/* Decorative Underline */
.decorative-underline {
 width: 80px;
 height: 4px;
 background-color: var(--accent-color);
 margin: 24px auto;
 border-radius: 2px;
}

/* Service Overview */
.service-overview-card {
 background: var(--white);
 padding: 32px;
 border-radius: var(--radius);
 text-align: center;
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
 border-top: 4px solid var(--primary-color);
}
.service-overview-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-md);
}
.service-icon-wrapper {
 width: 60px;
 height: 60px;
 margin: 0 auto 20px;
 border-radius: 50%;
 background-color: var(--bg-light);
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--primary-color);
}
.service-icon-wrapper svg { width: 32px; height: 32px; }
.service-overview-card h3 { margin-bottom: 10px; }

/* Timeline */
.timeline {
 position: relative;
 max-width: 900px;
 margin: 0 auto;
}
.timeline::after {
 content: '';
 position: absolute;
 width: 4px;
 background-color: var(--border-color);
 top: 0;
 bottom: 0;
 left: 50%;
 margin-left: -2px;
}
.timeline-item {
 padding: 10px 40px;
 position: relative;
 width: 50%;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item:nth-child(odd) .timeline-content { text-align: right;}
.timeline-item:nth-child(even) .timeline-content { text-align: left; }
.timeline-step {
 position: absolute;
 width: 50px;
 height: 50px;
 line-height: 50px;
 font-size: 1.2rem;
 font-weight: 700;
 text-align: center;
 background-color: var(--white);
 border: 4px solid var(--primary-color);
 top: 32px;
 border-radius: 50%;
 z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-step { right: -25px; }
.timeline-item:nth-child(even) .timeline-step { left: -25px; }
.timeline-content {
 padding: 20px 30px;
 background-color: var(--white);
 position: relative;
 border-radius: var(--radius);
 box-shadow: var(--shadow-sm);
}

/* Case Studies */
.case-study-card .card-body { position: relative; }
.case-study-company-logo {
 display: block;
 margin-top: 20px;
 padding-top: 20px;
 border-top: 1px solid var(--border-color);
 font-weight: 600;
 color: var(--text-light);
}

/* Team */
.team-card {
 text-align: center;
 padding: 24px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius);
 background: var(--white);
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 16px;
 border: 4px solid var(--primary-color);
}
.team-name { margin-bottom: 4px; }
.team-title { color: var(--primary-color); font-weight: 600; margin-bottom: 8px; }
.team-bio { font-size: 0.9rem; color: var(--text-light); }

/* Partners */
.partner-section { overflow: hidden; }
.logo-carousel {
 display: flex;
 width: 200%;
 animation: scroll 30s linear infinite;
}
.logo-carousel-track { display: flex; align-items: center; justify-content: space-around; width: 100%;}
.logo-carousel img {
 height: 40px;
 width: auto;
 margin: 0 40px;
 filter: grayscale(100%);
 opacity: 0.6;
 transition: var(--transition);
}
.logo-carousel img:hover { filter: grayscale(0); opacity: 1; }
@keyframes scroll {
 0% { transform: translateX(0); }
 100% { transform: translateX(-50%); }
}

/* CTA */
.cta-section-home {
 background-color: var(--primary-darker);
 color: var(--white);
}
.cta-section-home h2, .cta-section-home p { color: var(--white); }

/* --- ABOUT PAGE --- */
.media-object {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 48px;
 align-items: center;
}
.media-visual img {
 border-radius: var(--radius);
 box-shadow: var(--shadow-md);
}
.media-copy ul {
 list-style-position: inside;
 margin: 20px 0;
 padding-left: 0;
}
.value-card {
 background: var(--white); 
 padding: 24px; 
 border-radius: var(--radius); 
 text-align: center;
 box-shadow: var(--shadow-sm);
}

/* --- SERVICES PAGE --- */
.services-page-grid {
 display: grid;
 gap: 48px;
}
.service-detail-card {
 display: grid;
 grid-template-columns: 1fr;
 gap: 24px;
 background: var(--white);
 padding: 32px;
 border-radius: var(--radius);
 box-shadow: var(--shadow-sm);
}
.service-detail-card img {
 height: 250px;
 width: 100%;
 object-fit: cover;
 border-radius: var(--radius);
}
.service-content h2 { margin-bottom: 16px; }
.service-content h4 { margin-top: 24px; margin-bottom: 12px; }
.service-content ul { padding-left: 20px; margin-bottom: 24px; }

/* --- CONTACT PAGE --- */
.contact-page-layout {
 display: grid;
 grid-template-columns: 2fr 1fr;
 gap: 48px;
}
.contact-form-container, .contact-info-container {
 background: var(--white);
 padding: 32px;
 border-radius: var(--radius);
 box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label {
 display: block;
 margin-bottom: 8px;
 font-weight: 500;
}
.form-group input, .form-group textarea {
 width: 100%;
 padding: 12px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius);
 font-family: inherit;
 font-size: 1rem;
}
.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);
}
.contact-info-item { margin-bottom: 24px; }
.contact-info-item h4 { margin-bottom: 8px; }
.map-container {
 border-radius: var(--radius);
 overflow: hidden;
 margin-top: 48px;
 box-shadow: var(--shadow-md);
}

/* --- LEGAL PAGES --- */
.legal-page { padding: 80px 0; }
.legal-page h1 { margin-bottom: 16px; }
.legal-page p { margin-bottom: 16px; }
.legal-page section { margin-bottom: 32px; }
.legal-page h2 { margin-bottom: 12px; }
.legal-page ul { margin: 16px 0; padding-left: 20px; }
.cookie-table {
 width: 100%;
 border-collapse: collapse;
 margin: 24px 0;
}
.cookie-table th, .cookie-table td {
 padding: 12px;
 border: 1px solid var(--border-color);
 text-align: left;
}
.cookie-table th { background-color: var(--bg-light); }

/* --- FOOTER --- */
.footer {
 background: var(--footer-bg);
 color: var(--white);
 padding: 60px 0 30px;
 margin-top: 80px;
}
.footer a { color: #d1d5db; }
.footer a:hover { color: var(--white); }
.footer-certifications {
 display: flex;
 justify-content: center;
 gap: 24px;
 padding-bottom: 30px;
 margin-bottom: 30px;
 border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-certifications img {
 height: 40px;
 width: auto;
 filter: brightness(0) invert(1);
 opacity: 0.7;
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(5, 1fr);
 gap: 30px;
 margin-bottom: 40px;
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 margin-bottom: 20px;
 text-transform: uppercase;
 letter-spacing: 0.5px;
 color: var(--white);
}
.footer-column p, .footer-links { font-size: 0.9rem; color: #d1d5db; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-hours {
 font-size: 0.9rem;
 color: #d1d5db;
 margin-top: 16px;
 line-height: 1.5;
}
.footer-bottom {
 padding-top: 30px;
 border-top: 1px solid rgba(255,255,255,0.1);
 display: flex;
 justify-content: center;
 align-items: center;
 text-align: center;
 flex-direction: column;
 font-size: 0.875rem;
 color: #9ca3af;
}
.footer-legal-links { display: flex; gap: 20px; margin-top: 10px; }
.footer-legal-links a { color: #9ca3af; }

/* --- COOKIE BANNER --- */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: var(--header-bg);
 color: var(--white);
 padding: 20px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
 z-index: 1001;
 display: none;
 gap: 20px;
}
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--accent-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0;}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
 .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
 .media-object { grid-template-columns: 1fr; }
 .contact-page-layout { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: repeat(3, 1fr); }
 .timeline::after { left: 30px; }
 .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
 .timeline-item:nth-child(even) { left: 0; }
 .timeline-item:nth-child(odd) .timeline-content, .timeline-item:nth-child(even) .timeline-content { text-align: left;}
 .timeline-step { left: 5px; }
 .timeline-item:nth-child(odd) .timeline-step, .timeline-item:nth-child(even) .timeline-step { left: 5px;}
}

@media (max-width: 768px) {
 .nav-toggle {
 display: block;
 background: none;
 border: none;
 cursor: pointer;
 z-index: 1001;
 }
 .nav-toggle span {
 display: block;
 width: 25px;
 height: 2px;
 background-color: var(--text-dark);
 margin: 5px 0;
 transition: var(--transition);
 }
 .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
 .nav-toggle.active span:nth-child(2) { opacity: 0; }
 .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
 
 .nav-links {
 position: fixed;
 top: 0;
 left: -100%;
 width: 80%;
 max-width: 300px;
 height: 100vh;
 background-color: var(--white);
 flex-direction: column;
 padding: 100px 30px 30px;
 gap: 20px;
 box-shadow: var(--shadow-md);
 transition: left 0.3s ease-in-out;
 }
 .nav-links.active { left: 0; }
 .header-top-bar-content { justify-content: center; }
 .header-contact-info {
 flex-direction: column;
 gap: 8px;
 align-items: center;
 }
 .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr; text-align: center; }
 .footer-column { margin-bottom: 20px; }
 .cookie-banner { flex-direction: column; text-align: center; }
}