/* 
   CoachingVital - Estilos principales
   Autor: CoachingVital Team
   Año: 2023
*/

/* ==================== 
   1. Estilos globales
   ==================== */

:root {
  --primary-color: #2e7d32; /* Verde - Color principal */
  --primary-light: #60ad5e;
  --primary-dark: #005005;
  --secondary-color: #ffb300; /* Amarillo cálido - Acento */
  --secondary-light: #ffe54c;
  --secondary-dark: #c68400;
  --text-dark: #263238;
  --text-medium: #546e7a;
  --text-light: #b0bec5;
  --background-light: #f5f5f5;
  --white: #ffffff;
  --black: #000000;
  --success: #4caf50;
  --error: #f44336;
  --warning: #ff9800;
  --info: #2196f3;
  --border-radius: 4px;
  --border-radius-lg: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --container-padding: 0 20px;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

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

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

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

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

/* ==================== 
   2. Botones y controles
   ==================== */

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

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

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

input, textarea, select {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--text-light);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

/* ==================== 
   3. Header & Navegación
   ==================== */

header {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li:first-child {
  margin-left: 0;
}

nav ul li a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin-bottom: 5px;
  transition: var(--transition);
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 0 0 15px 0;
  }

  nav ul li:last-child {
    margin-bottom: 0;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* ==================== 
   4. Hero
   ==================== */

.hero {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* ==================== 
   5. Page Header
   ==================== */

.page-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ==================== 
   6. Featured Posts
   ==================== */

.featured-posts {
  padding: 80px 0;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  position: relative;
  padding-bottom: 15px;
}

.featured-posts h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.post-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.post-img {
  height: 200px;
  overflow: hidden;
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-img img {
  transform: scale(1.05);
}

.post-content {
  padding: 25px;
}

.post-content h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.post-content p {
  color: var(--text-medium);
  margin-bottom: 20px;
}

.read-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.read-more::after {
  content: '→';
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover::after {
  margin-left: 8px;
}

.view-more {
  margin-top: 50px;
  text-align: center;
}

@media (max-width: 992px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== 
   7. Testimonials
   ==================== */

.testimonials {
  padding: 80px 0;
  background-color: var(--primary-light);
  color: var(--white);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
}

.testimonial-slider {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial {
  background-color: var(--white);
  color: var(--text-dark);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--box-shadow);
  max-width: 500px;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 80px;
  color: var(--primary-color);
  opacity: 0.1;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial p {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.testimonial-author span {
  color: var(--text-medium);
  font-size: 0.9rem;
}

/* ==================== 
   8. Newsletter
   ==================== */

.newsletter {
  padding: 80px 0;
  background-color: var(--white);
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: var(--text-medium);
}

.newsletter form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.newsletter input {
  flex: 1;
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .newsletter form {
    flex-direction: column;
  }
  
  .newsletter input {
    margin-bottom: 10px;
  }
}

/* ==================== 
   9. Blog
   ==================== */

.blog-content {
  padding: 60px 0;
}

.blog-filters {
  margin-bottom: 40px;
}

.search-box {
  display: flex;
  margin-bottom: 20px;
}

.search-box input {
  flex: 1;
  margin-bottom: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.search-box button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0 20px;
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.categories span {
  color: var(--text-medium);
  margin-right: 10px;
}

.categories button {
  background-color: transparent;
  border: 1px solid var(--text-light);
  color: var(--text-medium);
  padding: 8px 15px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.categories button:hover, .categories button.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.posts-grid .post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.posts-grid .post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.posts-grid .post-content h2 {
  font-size: 1.4rem;
}

.posts-grid .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
}

.posts-grid .date, .posts-grid .category {
  font-size: 0.9rem;
  color: var(--text-medium);
}

.posts-grid .category {
  background-color: var(--primary-light);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 20px;
}

.posts-grid .read-more {
  margin-top: auto;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  align-items: center;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 5px;
  transition: var(--transition);
  color: var(--text-medium);
}

.pagination a:hover, .pagination a.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.pagination span {
  margin: 0 5px;
  color: var(--text-medium);
}

.pagination .next {
  width: auto;
  border-radius: var(--border-radius);
  padding: 0 15px;
}

.pagination .next svg {
  margin-left: 5px;
}

@media (max-width: 768px) {
  .categories {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .categories span {
    margin-bottom: 10px;
  }
  
  .categories button {
    margin-bottom: 5px;
  }
}

/* ==================== 
   10. Single Post
   ==================== */

.post-single {
  padding: 60px 0;
}

.post-single .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.post-single article {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--box-shadow);
}

.post-header {
  margin-bottom: 40px;
}

.post-header .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.post-header .date, .post-header .category, .post-header .author {
  font-size: 0.95rem;
  color: var(--text-medium);
  display: flex;
  align-items: center;
}

.post-header .category {
  background-color: var(--primary-light);
  color: var(--white);
  padding: 3px 15px;
  border-radius: 20px;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  line-height: 1.2;
}

.post-featured-img {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}

.post-featured-img img {
  width: 100%;
}

.post-content h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
}

.post-content h3 {
  font-size: 1.4rem;
  margin: 30px 0 15px;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content ul, .post-content ol {
  margin-bottom: 20px;
  margin-left: 20px;
}

.post-content li {
  margin-bottom: 10px;
  list-style-type: disc;
}

.post-content .post-cta {
  margin-top: 60px;
  background-color: var(--primary-light);
  color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  text-align: center;
}

.post-content .post-cta h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

.post-content .post-cta .btn {
  background-color: var(--white);
  color: var(--primary-color);
  margin-top: 20px;
}

.post-content .post-cta .btn:hover {
  background-color: var(--background-light);
}

.post-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--text-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.post-tags span {
  font-weight: 500;
}

.post-tags a {
  background-color: var(--background-light);
  color: var(--text-medium);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.post-tags a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.post-share {
  display: flex;
  align-items: center;
  gap: 15px;
}

.post-share span {
  font-weight: 500;
}

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--background-light);
  transition: var(--transition);
}

.post-share a:hover {
  background-color: var(--primary-color);
}

.post-share a:hover svg path {
  fill: var(--white);
}

.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 25px;
  box-shadow: var(--box-shadow);
}

.sidebar-widget h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.sidebar-widget h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
}

.author-info {
  display: flex;
  gap: 15px;
}

.author-info img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin-bottom: 10px;
}

.related-post {
  margin-bottom: 15px;
}

.related-post:last-child {
  margin-bottom: 0;
}

.related-post a {
  display: flex;
  align-items: center;
  gap: 15px;
}

.related-post img {
  width: 80px;
  height: 60px;
  border-radius: var(--border-radius);
  object-fit: cover;
}

.related-post h4 {
  font-size: 1rem;
  font-weight: 500;
}

.categories-widget ul li {
  margin-bottom: 12px;
}

.categories-widget ul li:last-child {
  margin-bottom: 0;
}

.categories-widget ul li a {
  display: flex;
  justify-content: space-between;
  color: var(--text-medium);
  transition: var(--transition);
}

.categories-widget ul li a:hover {
  color: var(--primary-color);
}

.newsletter-widget p {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  margin-top: 20px;
}

.comparison-table th {
  background-color: var(--primary-light);
  color: var(--white);
  padding: 12px;
  text-align: left;
}

.comparison-table td {
  padding: 12px;
  border-bottom: 1px solid var(--text-light);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background-color: var(--background-light);
}

@media (max-width: 992px) {
  .post-single .container {
    grid-template-columns: 1fr;
  }
  
  .post-single article {
    padding: 25px;
  }
  
  .post-header h1 {
    font-size: 2rem;
  }
}

/* ==================== 
   11. Contact
   ==================== */

.contact-section {
  padding: 60px 0;
}

.contact-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
}

.contact-form h2 {
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 25px;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group.checkbox input {
  width: auto;
  margin: 0;
}

.form-group.checkbox label {
  margin: 0;
}

.contact-info {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
}

.contact-info h2 {
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}

.info-icon svg {
  width: 24px;
  height: 24px;
}

.info-icon svg path:last-child {
  fill: var(--white);
}

.info-item h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.info-item p {
  opacity: 0.9;
}

.social-media {
  margin-top: 40px;
}

.social-media h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--white);
}

.social-icons a svg path:last-child {
  fill: var(--white);
  transition: var(--transition);
}

.social-icons a:hover svg path:last-child {
  fill: var(--primary-color);
}

.map-section {
  padding: 60px 0;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.map {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--box-shadow);
}

.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.8rem;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  font-size: 1.1rem;
  margin: 0;
}

.toggle-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 1000px;
}

.thank-you-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.popup-content {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-medium);
}

.success-icon {
  fill: var(--success);
  margin-bottom: 20px;
}

.popup-content h2 {
  margin-bottom: 15px;
  color: var(--success);
}

.popup-content p {
  margin-bottom: 25px;
}

.close-btn {
  display: inline-block;
}

@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
}

/* ==================== 
   12. About
   ==================== */

.about-intro {
  padding: 60px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
}

.about-text ul {
  margin-bottom: 30px;
  margin-left: 20px;
}

.about-text ul li {
  margin-bottom: 10px;
  list-style-type: disc;
}

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.team {
  padding: 60px 0;
  background-color: var(--background-light);
}

.team h2 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 2.2rem;
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-member {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.team-member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-member h3 {
  font-size: 1.3rem;
  margin: 20px 20px 10px;
}

.team-member p {
  margin: 0 20px 20px;
  color: var(--text-medium);
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 10px;
}

.our-approach {
  padding: 60px 0;
}

.our-approach h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
}

.approach-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.approach-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.approach-text p {
  margin-bottom: 20px;
}

.approach-text ul {
  margin-bottom: 30px;
  margin-left: 20px;
}

.approach-text ul li {
  margin-bottom: 10px;
  list-style-type: disc;
}

.certifications {
  padding: 60px 0;
  background-color: var(--background-light);
}

.certifications h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
}

.cert-logos {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

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

.cert-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
}

.cert-logo span {
  font-weight: 500;
}

@media (max-width: 992px) {
  .about-content, .approach-content {
    grid-template-columns: 1fr;
  }
  
  .about-image, .approach-image {
    grid-row: 1;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== 
   13. Footer
   ==================== */

footer {
  background-color: #263238;
  color: var(--white);
  padding-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 15px;
}

.footer-logo p {
  opacity: 0.8;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after, .footer-contact h3::after, .footer-social h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--white);
}

.footer-contact ul li {
  display: flex;
  margin-bottom: 15px;
}

.footer-contact ul li svg {
  margin-right: 15px;
  flex-shrink: 0;
}

.footer-contact ul li svg path:last-child {
  fill: rgba(255, 255, 255, 0.8);
}

.footer-contact ul li span {
  opacity: 0.8;
}

.footer-social .social-icons {
  margin-top: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  opacity: 0.8;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: var(--transition);
}

.legal-links li a:hover {
  color: var(--white);
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ==================== 
   14. Interesting Facts
   ==================== */

.interesting-facts {
  padding: 60px 0;
  background-color: var(--background-light);
}

.interesting-facts h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.8rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.fact-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 25px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

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

.fact-icon {
  margin-bottom: 20px;
}

.fact-icon svg {
  width: 50px;
  height: 50px;
}

.fact-icon svg path:last-child {
  fill: var(--primary-color);
}

.fact-card p {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
}

.personal-message {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.personal-message::before {
  content: '"';
  font-size: 100px;
  color: var(--primary-color);
  opacity: 0.1;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.personal-message h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.personal-message p {
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .facts-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== 
   15. Cookie Banner
   ==================== */

.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: none;
}

.cookie-content {
  padding: 20px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.cookie-content a {
  font-size: 0.9rem;
  text-decoration: underline;
}

@media (max-width: 576px) {
  .cookie-buttons {
    flex-direction: column;
  }
}
