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

:root {
 --primary-color: #0d9488; /* Calm Teal */
 --secondary-color: #2d8f5e; /* Healing Green */
 --primary-dark: #0f766e;
 --bg-main: #ffffff;
 --bg-light: #f0fdf4; /* Pure White from palette as light bg */
 --text-dark: #1a1a1a;
 --text-light: #4a4a4a;
 --text-muted: #6b7280;
 --border-color: #e5e7eb;
 --radius-sm: 4px;
 --radius-md: 8px;
 --radius-lg: 16px;
 --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.02);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
 --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
 --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
 --transition: all 0.3s ease-in-out;
}

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

html {
 scroll-behavior: smooth;
 font-size: 16px;
}

body {
 font-family: var(--font-main);
 line-height: 1.6;
 color: var(--text-light);
 background-color: var(--bg-main);
 -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
 color: var(--text-dark);
 font-weight: 700;
 line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

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

img {
 max-width: 100%;
 height: auto;
 display: block;
}

.container {
 max-width: 1200px;
 margin-left: auto;
 margin-right: auto;
 padding-left: 1.5rem;
 padding-right: 1.5rem;
}

.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

/* Buttons */
.btn {
 display: inline-block;
 font-weight: 600;
 font-size: 1rem;
 padding: 12px 24px;
 border-radius: var(--radius-md);
 border: 1px solid transparent;
 cursor: pointer;
 text-align: center;
 transition: var(--transition);
 line-height: 1.5;
}
.btn-primary {
 background-color: var(--primary-color);
 color: #fff;
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 transform: translateY(-2px);
}
.btn-secondary {
 background-color: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}
.btn-secondary:hover {
 background-color: var(--primary-color);
 color: #fff;
}
.btn-white {
 background-color: #fff;
 color: var(--primary-color);
}
.btn-white:hover {
 background-color: #f0f0f0;
}
.btn-full { width: 100%; }

/* Header */
.header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background-color: rgba(255, 255, 255, 0.8);
 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 transition: var(--transition);
}
.header.scrolled {
 box-shadow: var(--shadow-md);
 background-color: rgba(255, 255, 255, 0.95);
}
.nav-container {
 max-width: 1280px;
 margin: 0 auto;
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 70px;
 padding: 0 1.5rem;
}
.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
}
.nav-links-container{
 flex-grow: 1;
 display: flex;
 justify-content: center;
}
.nav-links {
 display: flex;
 gap: 32px;
 list-style: none;
}
.nav-links a {
 color: var(--text-dark);
 font-weight: 500;
 position: relative;
 padding: 8px 0;
}
.nav-links a::after {
 content: "";
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background-color: var(--primary-color);
 transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after {
 width: 100%;
}
.nav-toggle { display: none; }

/* Hero Section */
.hero-section {
 padding-top: 140px;
 padding-bottom: 60px;
 background-color: var(--bg-light);
}
.hero-container {
 display: grid;
 grid-template-columns: 1fr;
 gap: 48px;
 align-items: center;
}
.hero-badge {
 display: inline-block;
 background-color: var(--primary-color);
 color: #fff;
 padding: 4px 12px;
 border-radius: var(--radius-lg);
 font-size: 0.875rem;
 font-weight: 500;
 margin-bottom: 16px;
}
.hero-subtitle {
 font-size: 1.125rem;
 color: var(--text-light);
 margin: 16px 0 24px;
 max-width: 600px;
}
.hero-benefits {
 list-style: none;
 margin-bottom: 32px;
 padding-left: 0;
}
.hero-benefits li {
 display: flex;
 align-items: center;
 gap: 12px;
 margin-bottom: 12px;
 font-size: 1rem;
 font-weight: 500;
 color: var(--text-dark);
}
.hero-benefits svg {
 width: 20px;
 height: 20px;
 flex-shrink: 0;
 color: var(--secondary-color);
}
.hero-actions { display: flex; gap: 16px; }
.hero-visual-content img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 object-fit: cover;
 width: 100%;
 height: 100%;
 max-height: 450px;
}

/* Logo Section */
.logo-section {
 padding: 60px 0;
}
.logo-section-title {
 text-align: center;
 font-size: 1rem;
 font-weight: 500;
 color: var(--text-muted);
 text-transform: uppercase;
 letter-spacing: 1px;
 margin-bottom: 32px;
}
.logo-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
 gap: 32px;
 align-items: center;
}
.logo-item {
 text-align: center;
 font-size: 1.1rem;
 font-weight: 600;
 color: var(--text-muted);
 opacity: 0.7;
 filter: grayscale(50%);
}

/* Page Headers */
.page-header-section {
 padding: 120px 0 60px;
 background-color: var(--bg-light);
 text-align: center;
}
.page-title {
 font-size: 2.75rem;
 margin-bottom: 1rem;
}
.page-subtitle { 
 font-size: 1.125rem;
 color: var(--text-light);
 max-width: 700px;
 margin: 0 auto;
}

/* Shared Section Header */
.section-header {
 text-align: center;
 max-width: 700px;
 margin: 0 auto 48px;
}
.section-badge {
 display: inline-block;
 background-color: rgba(13, 148, 136, 0.1);
 color: var(--primary-color);
 padding: 4px 12px;
 border-radius: var(--radius-lg);
 font-size: 0.875rem;
 font-weight: 600;
 text-transform: uppercase;
 margin-bottom: 12px;
}
.section-title {
 margin-bottom: 16px;
}
.section-subtitle {
 font-size: 1.1rem;
 color: var(--text-light);
}

/* Offer Layout */
.offer-layout {
 display: grid;
 gap: 48px;
}
.offer-item {
 display: grid;
 grid-template-columns: 1fr;
 gap: 24px;
 align-items: center;
}
.offer-image {
 border-radius: var(--radius-lg);
 object-fit: cover;
 width: 100%;
 height: 300px;
 box-shadow: var(--shadow-md);
}
.offer-text h3 {
 margin-bottom: 12px;
}
.text-link {
 font-weight: 600;
 margin-top: 16px;
 display: inline-block;
}

/* Expertise Grid */
.expertise-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 30px;
}
.expertise-card {
 background-color: #fff;
 padding: 24px;
 border-radius: var(--radius-md);
 text-align: center;
 box-shadow: var(--shadow-sm);
 border: 1px solid var(--border-color);
 transition: var(--transition);
}
.expertise-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.expertise-icon {
 width: 50px;
 height: 50px;
 background-color: var(--bg-light);
 color: var(--primary-color);
 border-radius: 50%;
 margin: 0 auto 16px;
 display: flex;
 align-items: center;
 justify-content: center;
}
.expertise-icon svg {
 width: 24px;
 height: 24px;
}
.expertise-card h3 {
 margin-bottom: 8px;
 font-size: 1.15rem;
}
.expertise-card p {
 font-size: 0.95rem;
}

/* Case Study Section */
.case-study-layout {
 display: grid;
 gap: 64px;
}
.case-study-item {
 display: grid;
 grid-template-columns: 1fr;
 gap: 32px;
 align-items: center;
}
.case-study-image-wrapper img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-lg);
 object-fit: cover;
 width: 100%;
 height: 350px;
}
.case-study-category {
 display: block;
 color: var(--secondary-color);
 font-weight: 600;
 margin-bottom: 8px;
 text-transform: uppercase;
 font-size: 0.85rem;
}
.case-study-text h3 {
 margin-bottom: 12px;
 font-size: 1.75rem;
}
.case-study-text p {
 margin-bottom: 24px;
}

/* Team Section */
.team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
 gap: 30px;
}
.team-card {
 text-align: center;
 background: #fff;
 padding: 32px 24px;
 border-radius: var(--radius-lg);
 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%;
 margin: 0 auto 20px;
 object-fit: cover;
 border: 4px solid #fff;
 box-shadow: 0 0 0 4px var(--primary-color);
}
.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; }

/* CTA Section */
.cta-section {
 background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
 color: #fff;
 padding: 80px 0;
 margin-top: 80px;
}
.cta-container {
 text-align: center;
}
.cta-title {
 color: #fff;
 font-size: 2.25rem;
 margin-bottom: 1rem;
}
.cta-subtitle {
 max-width: 600px;
 margin: 0 auto 2rem;
 opacity: 0.9;
}

/* Articles Page */
.articles-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
 gap: 30px;
}
.card {
 background-color: var(--bg-main);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 overflow: hidden;
 display: flex;
 flex-direction: column;
 transition: var(--transition);
}
.card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.card-image {
 width: 100%;
 height: 200px;
 object-fit: cover;
}
.card-content {
 padding: 24px;
 flex-grow: 1;
 display: flex;
 flex-direction: column;
}
.card-category {
 color: var(--primary-color);
 font-size: 0.8rem;
 font-weight: 600;
 text-transform: uppercase;
 margin-bottom: 8px;
}
.card-title {
 font-size: 1.25rem;
 margin-bottom: 12px;
}
.card-text {
 flex-grow: 1;
 margin-bottom: 24px;
}
.card-button {
 align-self: flex-start;
}

/* About Page */
.about-container {
 display: grid;
 grid-template-columns: 1fr;
 gap: 48px;
 align-items: center;
}
.about-image-wrapper img {
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
 width: 100%;
 height: 100%;
 object-fit: cover;
}
.about-content p {
 margin-bottom: 1rem;
}
.section-title.reduced-margin {
 margin-bottom: 1rem;
}
.values-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 24px;
}
.value-card {
 background: #fff;
 padding: 24px;
 border-radius: var(--radius-md);
 border-left: 4px solid var(--primary-color);
}
.value-card h3 {
 color: var(--text-dark);
 margin-bottom: 8px;
}

/* Resources Page */
.resources-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 24px;
}
.resource-card {
 background-color: #fff;
 padding: 24px;
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-sm);
 display: flex;
 align-items: flex-start;
 gap: 20px;
 transition: var(--transition);
}
.resource-card:hover {
 box-shadow: var(--shadow-md);
 transform: translateX(5px);
}
.resource-icon {
 flex-shrink: 0;
 width: 44px;
 height: 44px;
 background-color: var(--bg-light);
 border-radius: var(--radius-md);
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--primary-color);
}
.resource-icon svg {
 width: 24px;
 height: 24px;
}
.resource-title {
 font-size: 1.15rem;
 margin-bottom: 4px;
}

/* Contact Page */
.contact-layout {
 display: grid;
 grid-template-columns: 1fr;
 gap: 48px;
}
.contact-title { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 1.5rem; }
.contact-item {
 display: flex;
 gap: 16px;
 margin-bottom: 24px;
}
.contact-icon {
 width: 40px;
 height: 40px;
 background-color: var(--bg-light);
 color: var(--primary-color);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item strong { display: block; margin-bottom: 4px; color: var(--text-dark); }
.contact-item p { margin-bottom: 0; }
.contact-form-wrapper {
 background-color: var(--bg-light);
 padding: 32px;
 border-radius: var(--radius-lg);
}
.form-group { margin-bottom: 20px; }
.form-group label {
 display: block;
 font-weight: 500;
 margin-bottom: 8px;
 color: var(--text-dark);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
 width: 100%;
 padding: 14px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius-md);
 font-family: inherit;
 font-size: 1rem;
 background-color: #fff;
}
.form-group input:focus, .form-group textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}
.form-group.checkbox-group {
 display: flex;
 align-items: flex-start;
 gap: 10px;
}
.form-group.checkbox-group input {
 margin-top: 5px;
}
.form-group.checkbox-group label {
 font-weight: 400;
 font-size: 0.9rem;
}
textarea { resize: vertical; min-height: 120px; }

.map-container {
 width: 100%;
 height: 450px;
 border-radius: 0;
 overflow: hidden;
 margin-top: 80px;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* Thank You Page */
.thank-you-section {
 min-height: 60vh;
 display: flex;
 align-items: center;
 justify-content: center;
}
.thank-you-content {
 max-width: 600px;
 background: var(--bg-light);
 padding: 48px;
 border-radius: var(--radius-lg);
}
.thank-you-icon {
 color: var(--secondary-color);
 margin-bottom: 1.5rem;
}
.thank-you-icon svg {
 width: 80px;
 height: 80px;
 margin: 0 auto;
}

/* Legal Pages */
.legal-content { padding: 40px 0 80px; }
.legal-content h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.legal-content h3 { margin: 1.5rem 0 1rem; font-size: 1.25rem; }
.legal-content p, .legal-content ul { margin-bottom: 1rem; }
.legal-content ul { padding-left: 20px; }
.legal-content table {
 width: 100%;
 border-collapse: collapse;
 margin: 2rem 0;
}
.legal-content th, .legal-content td {
 border: 1px solid var(--border-color);
 padding: 12px;
 text-align: left;
}
.legal-content th {
 background-color: var(--bg-light);
}

/* Footer */
.footer {
 background-color: var(--text-dark);
 color: #a0aec0;
 padding: 60px 0 20px;
 margin-top: 80px;
}
.footer-grid {
 display: grid;
 grid-template-columns: 2fr repeat(3, 1fr);
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo {
 font-size: 1.75rem;
 font-weight: 700;
 color: #fff;
 margin-bottom: 16px;
 display: inline-block;
}
.footer-description {
 font-size: 0.9rem;
 max-width: 300px;
}
.footer-heading {
 font-size: 1rem;
 font-weight: 600;
 color: #fff;
 margin-bottom: 20px;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a, .footer-contact-item a {
 color: #a0aec0;
 font-size: 0.9rem;
}
.footer-links a:hover, .footer-contact-item a:hover {
 color: #fff;
}
.footer-contact-item {
 display: flex;
 align-items: flex-start;
 gap: 12px;
 margin-bottom: 16px;
}
.footer-contact-item svg {
 width: 18px;
 height: 18px;
 flex-shrink: 0;
 margin-top: 2px;
 color: var(--primary-color);
}
.footer-bottom {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 padding-top: 20px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 0.875rem;
}
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { color: #a0aec0; }
.footer-legal-links a:hover { color: #fff; }

/* Cookie Banner */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background-color: rgba(26, 26, 26, 0.95);
 backdrop-filter: blur(5px);
 color: #fff;
 padding: 15px 20px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
 font-size: 0.9rem;
}
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--primary-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; }

/* Form Validation Styles */
.input-error {
 border-color: #dc2626 !important;
 box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}
.field-error {
 color: #dc2626;
 font-size: 0.85rem;
 margin-top: 4px;
}
.spinner {
 display: inline-block;
 width: 16px;
 height: 16px;
 border: 2px solid rgba(255,255,255,0.3);
 border-radius: 50%;
 border-top-color: #fff;
 animation: spin 0.8s linear infinite;
 margin-right: 8px;
 vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
button:disabled { opacity: 0.7; cursor: not-allowed; }

/* Responsive */
@media (min-width: 768px) {
 .hero-container { grid-template-columns: 1fr 1fr; }
 .offer-item { grid-template-columns: 1fr 1fr; }
 .case-study-item { grid-template-columns: 1fr 1fr; }
 .case-study-item.reverse { grid-template-columns: 1fr 1fr; }
 .case-study-item.reverse .case-study-image-wrapper { order: 2; }
 .about-container { grid-template-columns: 1fr 1.2fr; }
 .contact-layout { grid-template-columns: 1fr 1.2fr; }
 .resources-grid { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
}

@media (max-width: 992px) {
 .footer-grid {
 grid-template-columns: 1fr 1fr;
 gap: 30px;
 }
}

@media (max-width: 767px) {
 .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: 6px 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(7px, -6px); }
 .nav-links-container {
 position: fixed;
 top: 0;
 left: -100%;
 width: 100%;
 height: 100vh;
 background-color: #fff;
 transition: left 0.4s ease;
 padding-top: 100px;
 justify-content: flex-start;
 }
 .nav-links-container.active {
 left: 0;
 }
 .nav-links {
 flex-direction: column;
 align-items: center;
 gap: 24px;
 width: 100%;
 }
 .nav-links a { font-size: 1.5rem; }
 .nav-cta { display: none; }
 .footer-grid { grid-template-columns: 1fr; text-align: center; }
 .footer-brand { margin: 0 auto; }
 .footer-bottom { flex-direction: column; gap: 1rem; }
 .cookie-banner { flex-direction: column; text-align: center; }
}