/* 
 * Tclearhaven - Main Stylesheet
 * Premium Card-Based Design
 * Fixed Background Scroll Layout
 */


:root {
  --color-primary: #2C4F43;
  --color-secondary: #D9A566;
  --color-accent: #BF4E30;
  --color-text-primary: #333333;
  --color-text-secondary: #666666;
  --color-bg-primary: #F8F7F4;
  --color-bg-secondary: #E8E6E1;
  --color-success: #5B8C5A;
  --color-error: #A63D40;
  --color-border: #D1CFC9;
  
  --font-primary: 'DM Sans', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --container-max-width: 1200px;
  --header-height: 80px;
}

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

html {
  font-size: 62.5%; 
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

h1 {
  font-size: 4.8rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 3.6rem;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

h5 {
  font-size: 1.8rem;
}

h6 {
  font-size: 1.6rem;
}

p {
  margin-bottom: 1.6rem;
}

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

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

ul, ol {
  margin-bottom: 2rem;
  padding-left: 2rem;
}

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

button {
  font-family: var(--font-primary);
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
}

.section-sm {
  padding: 4rem 0;
}

.section-lg {
  padding: 12rem 0;
}


.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-accent {
  color: var(--color-accent);
}

.text-white {
  color: #ffffff;
}

.bg-primary {
  background-color: var(--color-primary);
}

.bg-secondary {
  background-color: var(--color-secondary);
}

.bg-accent {
  background-color: var(--color-accent);
}

.bg-light {
  background-color: var(--color-bg-secondary);
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.mb-5 {
  margin-bottom: 5rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mt-5 {
  margin-top: 5rem;
}

.py-1 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-2 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-3 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-4 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-5 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.px-1 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-2 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-3 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.px-4 {
  padding-left: 4rem;
  padding-right: 4rem;
}

.px-5 {
  padding-left: 5rem;
  padding-right: 5rem;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-around {
  justify-content: space-around;
}

.align-items-center {
  align-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.rounded {
  border-radius: var(--border-radius);
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}


.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 1.2rem 2.4rem;
  font-size: 1.6rem;
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.btn:focus, .btn:hover {
  outline: 0;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  color: #fff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #243f36;
  border-color: #243f36;
  color: #fff;
}

.btn-secondary {
  color: #fff;
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #c28c4f;
  border-color: #c28c4f;
  color: #fff;
}

.btn-accent {
  color: #fff;
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-accent:hover, .btn-accent:focus {
  background-color: #a33d23;
  border-color: #a33d23;
  color: #fff;
}

.btn-outline-primary {
  color: var(--color-primary);
  background-color: transparent;
  border-color: var(--color-primary);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-outline-secondary {
  color: var(--color-secondary);
  background-color: transparent;
  border-color: var(--color-secondary);
}

.btn-outline-secondary:hover, .btn-outline-secondary:focus {
  background-color: var(--color-secondary);
  color: #fff;
}

.btn-outline-accent {
  color: var(--color-accent);
  background-color: transparent;
  border-color: var(--color-accent);
}

.btn-outline-accent:hover, .btn-outline-accent:focus {
  background-color: var(--color-accent);
  color: #fff;
}

.btn-sm {
  padding: 0.8rem 1.6rem;
  font-size: 1.4rem;
}

.btn-lg {
  padding: 1.6rem 3.2rem;
  font-size: 1.8rem;
}

.btn-block {
  display: block;
  width: 100%;
}


.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: var(--header-height);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 2rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 5rem;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0 1.5rem;
  position: relative;
}

.nav-link {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-text-primary);
  text-decoration: none;
  padding: 1rem 0;
  display: block;
  transition: var(--transition);
}

.nav-link:hover, .nav-link:focus, .nav-link.active {
  color: var(--color-primary);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 25rem;
  padding: 1rem 0;
  margin: 0.5rem 0 0;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  clear: both;
  font-weight: 400;
  color: var(--color-text-primary);
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-item:hover, .dropdown-item:focus {
  color: var(--color-primary);
  background-color: var(--color-bg-secondary);
}

.nav-contact {
  display: flex;
  align-items: center;
  margin-left: 2rem;
}

.nav-phone {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  margin-right: 2rem;
}

.nav-phone i {
  margin-right: 0.8rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 21px;
  position: relative;
  margin-left: 2rem;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--color-primary);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: var(--transition);
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2), .hamburger span:nth-child(3) {
  top: 9px;
}

.hamburger span:nth-child(4) {
  top: 18px;
}

.hamburger.open span:nth-child(1) {
  top: 9px;
  width: 0%;
  left: 50%;
}

.hamburger.open span:nth-child(2) {
  transform: rotate(45deg);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
}

.hamburger.open span:nth-child(4) {
  top: 9px;
  width: 0%;
  left: 50%;
}


.hero {
  position: relative;
  height: 100vh;
  min-height: 60rem;
  width: 100%;
  overflow: hidden;
  margin-top: var(--header-height);
  background-color: var(--color-bg-primary);
}

.hero-background {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.hero-card {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius);
  padding: 4rem;
  max-width: 60rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 4.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
  line-height: 1.4;
}

.hero-cta {
  margin-top: 3rem;
}


.card {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: fit-content;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.card-text {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-footer {
  padding: 1.5rem 2rem;
  background-color: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-meta {
  font-size: 1.4rem;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
}

.card-meta i {
  margin-right: 0.5rem;
}

.card-link {
  font-weight: 500;
  color: var(--color-primary);
  transition: var(--transition);
}

.card-link:hover {
  color: var(--color-secondary);
}

.card-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-bg-secondary);
  border-radius: 3rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-right: 0.8rem;
  margin-bottom: 0.8rem;
  transition: var(--transition);
}

.card-tag:hover {
  background-color: var(--color-secondary);
  color: #fff;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 3rem;
  margin-bottom: 5rem;
}

.card-list {
  display: flex;
  flex-wrap: wrap;
  margin: -1.5rem;
}

.card-list-item {
  width: calc(33.333% - 3rem);
  margin: 1.5rem;
}


.breed-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 5rem;
}

.breed-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  width: 30rem;
  transition: var(--transition);
}

.breed-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.breed-card-img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.breed-card-body {
  padding: 2rem;
}

.breed-card-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  text-align: center;
}

.breed-card-facts {
  margin-bottom: 2rem;
}

.breed-fact {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.breed-fact i {
  color: var(--color-secondary);
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.breed-card-link {
  text-align: center;
  display: block;
  margin-top: 2rem;
}


.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
  gap: 3rem;
  margin-bottom: 5rem;
}

.article-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.article-card-img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
}

.article-card-body {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-card-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.article-card-meta {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: var(--color-text-secondary);
}

.article-card-meta div {
  display: flex;
  align-items: center;
  margin-right: 1.5rem;
}

.article-card-meta i {
  margin-right: 0.5rem;
}

.article-card-excerpt {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.article-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-bg-secondary);
  border-radius: 3rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-right: 0.8rem;
  margin-bottom: 0.8rem;
  transition: var(--transition);
}

.article-tag:hover {
  background-color: var(--color-secondary);
  color: #fff;
}


.story-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
  gap: 3rem;
  margin-bottom: 5rem;
}

.story-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.story-card-content {
  padding: 3rem;
}

.story-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.story-card-img {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 2rem;
}

.story-card-author {
  flex-grow: 1;
}

.story-card-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.story-card-role {
  font-size: 1.4rem;
  color: var(--color-text-secondary);
}

.story-card-quote {
  position: relative;
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  padding-left: 2rem;
  border-left: 3px solid var(--color-secondary);
  font-style: italic;
}

.story-card-text {
  margin-bottom: 2rem;
}

.story-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.story-card-location {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: var(--color-text-secondary);
}

.story-card-location i {
  margin-right: 0.8rem;
  color: var(--color-secondary);
}


.conservation-section {
  background-color: var(--color-bg-secondary);
  padding: 8rem 0;
}

.conservation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
  gap: 3rem;
}

.conservation-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 3rem;
  transition: var(--transition);
}

.conservation-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.conservation-card-icon {
  width: 8rem;
  height: 8rem;
  background-color: var(--color-bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.conservation-card-icon i {
  font-size: 3.2rem;
  color: var(--color-primary);
}

.conservation-card-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}


.resources-section {
  padding: 8rem 0;
}

.resources-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
  gap: 3rem;
}

.resource-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 3rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.resource-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.resource-card-icon {
  width: 6rem;
  height: 6rem;
  background-color: var(--color-bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
}

.resource-card-icon i {
  font-size: 2.4rem;
  color: var(--color-primary);
}

.resource-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.resource-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.resource-checklist li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}

.resource-checklist li:before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.2rem;
  color: var(--color-success);
}


.events-section {
  padding: 6rem 0;
  background-color: var(--color-bg-secondary);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.event-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.event-date {
  width: 10rem;
  padding: 2rem;
  background-color: var(--color-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.event-day {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  font-size: 1.6rem;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.event-details {
  padding: 2rem;
  flex-grow: 1;
}

.event-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.event-info {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.event-info-item {
  display: flex;
  align-items: center;
  margin-right: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: var(--color-text-secondary);
}

.event-info-item i {
  margin-right: 0.8rem;
  color: var(--color-secondary);
}

.event-description {
  margin-bottom: 1.5rem;
}


.newsletter-section {
  padding: 8rem 0;
  background-color: var(--color-bg-primary);
}

.newsletter-container {
  max-width: 60rem;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
}

.newsletter-description {
  font-size: 1.8rem;
  margin-bottom: 3rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.newsletter-input {
  flex: 1;
  min-width: 25rem;
  height: 5.2rem;
  padding: 0 2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  font-family: var(--font-primary);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(44, 79, 67, 0.2);
}

.newsletter-btn {
  height: 5.2rem;
  min-width: 15rem;
}

.newsletter-privacy {
  font-size: 1.4rem;
  color: var(--color-text-secondary);
}

.newsletter-privacy a {
  color: var(--color-primary);
  text-decoration: underline;
}


.contact-form-section {
  padding: 8rem 0;
  background-color: #fff;
}

.contact-form-container {
  max-width: 60rem;
  margin: 0 auto;
}

.contact-form-title {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-form-description {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.form-control {
  height: 5.2rem;
  padding: 0 2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  font-family: var(--font-primary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(44, 79, 67, 0.2);
}

textarea.form-control {
  height: 15rem;
  padding: 1.5rem 2rem;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.form-checkbox input {
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.form-checkbox label {
  font-size: 1.4rem;
  color: var(--color-text-secondary);
}

.form-checkbox a {
  color: var(--color-primary);
  text-decoration: underline;
}

.form-submit {
  align-self: center;
  min-width: 20rem;
}

.iti {
  width: 100%;
}


.research-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
  gap: 3rem;
  margin-bottom: 5rem;
}

.research-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.research-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.research-card-body {
  padding: 3rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.research-card-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.research-card-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.research-card-meta-item {
  display: flex;
  align-items: center;
  margin-right: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: var(--color-text-secondary);
}

.research-card-meta-item i {
  margin-right: 0.8rem;
  color: var(--color-secondary);
}

.research-card-abstract {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.research-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.research-card-source {
  font-size: 1.4rem;
  color: var(--color-text-secondary);
}


.guide-section {
  padding: 6rem 0;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
  gap: 3rem;
  margin-bottom: 5rem;
}

.guide-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
}

.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.guide-card-img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.guide-card-body {
  padding: 3rem;
}

.guide-card-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.guide-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-step {
  display: flex;
  margin-bottom: 2rem;
}

.guide-step-number {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.8rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.guide-step-content {
  flex-grow: 1;
}

.guide-step-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}


.faq-section {
  padding: 6rem 0;
  background-color: var(--color-bg-secondary);
}

.faq-list {
  max-width: 80rem;
  margin: 0 auto;
}

.faq-item {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 2rem;
}

.faq-question {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question h4 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.faq-icon {
  color: var(--color-primary);
  font-size: 1.8rem;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 2rem 2rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}


.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 50rem;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.modal-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2.4rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--color-accent);
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  padding: 2rem;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--color-border);
}

.modal-btn {
  margin-left: 1rem;
}


.footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 6rem 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 5rem;
  filter: brightness(0) invert(1);
}

.footer-about {
  margin-bottom: 2rem;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.footer-contact-icon {
  color: var(--color-secondary);
  margin-right: 1.5rem;
  font-size: 1.8rem;
  margin-top: 0.3rem;
}

.footer-contact-text {
  flex-grow: 1;
}

.footer-heading {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 2rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1.2rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.footer-link:hover {
  color: var(--color-secondary);
  transform: translateX(5px);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 2rem 0;
  text-align: center;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.4rem;
}

.footer-cookie-settings {
  background: none;
  border: none;
  color: var(--color-secondary);
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  margin-left: 1rem;
  text-decoration: underline;
  transition: var(--transition);
}

.footer-cookie-settings:hover {
  color: #fff;
}


.contact-page {
  padding: 8rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 4rem;
}

.contact-info {
  margin-bottom: 4rem;
}

.contact-info-title {
  font-size: 2.8rem;
  margin-bottom: 2rem;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.contact-info-icon {
  width: 5rem;
  height: 5rem;
  background-color: var(--color-bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
  flex-shrink: 0;
}

.contact-info-icon i {
  font-size: 2rem;
  color: var(--color-primary);
}

.contact-info-content {
  flex-grow: 1;
}

.contact-info-label {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.contact-map {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 40rem;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}


.thank-you-section {
  padding: 10rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height) - 400px);
}

.thank-you-icon {
  width: 10rem;
  height: 10rem;
  background-color: var(--color-bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.thank-you-icon i {
  font-size: 5rem;
  color: var(--color-success);
}

.thank-you-title {
  font-size: 4.2rem;
  margin-bottom: 2rem;
}

.thank-you-text {
  font-size: 2rem;
  max-width: 60rem;
  margin: 0 auto 4rem;
}


.legal-page {
  padding: 8rem 0;
}

.legal-container {
  max-width: 80rem;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 4rem;
}

.legal-title {
  font-size: 3.6rem;
  margin-bottom: 1.5rem;
}

.legal-date {
  font-size: 1.6rem;
  color: var(--color-text-secondary);
}

.legal-section {
  margin-bottom: 4rem;
}

.legal-section-title {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-list {
  margin-bottom: 2rem;
  padding-left: 2.5rem;
}

.legal-list li {
  margin-bottom: 1rem;
}


.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  z-index: 1000;
  display: none;
}

.cookie-consent.active {
  display: block;
  animation: cookieSlideUp 0.5s ease;
}

@keyframes cookieSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
  min-width: 28rem;
}

.cookie-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.cookie-description {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-settings-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.cookie-settings-modal.active {
  display: flex;
}

.cookie-settings-content {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 60rem;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

.cookie-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.cookie-settings-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.cookie-settings-body {
  padding: 2rem;
}

.cookie-category {
  margin-bottom: 3rem;
}

.cookie-category:last-child {
  margin-bottom: 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cookie-category-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 5rem;
  height: 2.6rem;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 3.4rem;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 1.8rem;
  width: 1.8rem;
  left: 0.4rem;
  bottom: 0.4rem;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: var(--color-success);
}

.cookie-toggle input:focus + .cookie-toggle-slider {
  box-shadow: 0 0 1px var(--color-success);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(2.4rem);
}

.cookie-category-description {
  margin-bottom: 1.5rem;
}

.cookie-list {
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius);
  padding: 1.5rem;
}

.cookie-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.cookie-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cookie-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.cookie-item-name {
  font-weight: 700;
}

.cookie-item-duration {
  font-size: 1.4rem;
  color: var(--color-text-secondary);
}

.cookie-settings-footer {
  padding: 2rem;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--color-border);
}

.cookie-settings-btn {
  margin-left: 1rem;
}


@media (max-width: 1200px) {
  html {
    font-size: 56.25%; 
  }
  
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  }
  
  .article-cards {
    grid-template-columns: repeat(auto-fill, minmax(32rem, 1fr));
  }
  
  .story-cards {
    grid-template-columns: repeat(auto-fill, minmax(32rem, 1fr));
  }
}

@media (max-width: 992px) {
  html {
    font-size: 50%; 
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-item {
    width: 100%;
    margin: 0;
    text-align: center;
  }
  
  .nav-link {
    padding: 1.5rem 2rem;
    width: 100%;
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    width: 100%;
    padding: 0;
    margin: 0;
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .dropdown-item {
    padding: 1.5rem 2rem;
    background-color: var(--color-bg-secondary);
    text-align: center;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-contact {
    margin-left: 0;
  }
  
  .card-list-item {
    width: calc(50% - 3rem);
  }
  
  .hero-card {
    padding: 3rem;
  }
  
  .hero-title {
    font-size: 3.6rem;
  }
  
  .hero-subtitle {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 6rem 0;
  }
  
  .section-sm {
    padding: 3rem 0;
  }
  
  .section-lg {
    padding: 8rem 0;
  }
  
  h1 {
    font-size: 3.6rem;
  }
  
  h2 {
    font-size: 2.8rem;
  }
  
  h3 {
    font-size: 2.2rem;
  }
  
  .card-grid, .article-cards, .story-cards, .conservation-grid, .resources-list, .research-cards, .guide-cards {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
  
  .card-list-item {
    width: 100%;
    margin: 1.5rem 0;
  }
  
  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-text {
    margin-bottom: 2rem;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    width: 100%;
    padding: 1rem;
    flex-direction: row;
    justify-content: center;
  }
  
  .event-day {
    margin-right: 0.8rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-card {
    padding: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-input {
    width: 100%;
  }
  
  .newsletter-btn {
    width: 100%;
  }
  
  .modal-content {
    width: 95%;
  }
  
  .cookie-settings-content {
    width: 95%;
  }
  
  .cookie-settings-footer {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cookie-settings-btn {
    margin-left: 0;
    width: 100%;
  }
}