/* 
 * CodigoPro - Cursos de Programación
 * Estilos principales del sitio
 * 2024
 */

/* === VARIABLES === */
:root {
  /* Colores principales */
  --primary-color: #4361ee;
  --primary-dark: #3a56d4;
  --primary-light: #738aff;
  --secondary-color: #ff6b6b;
  --secondary-dark: #e05f5f;
  --accent-color: #ffe66d;
  
  /* Tonos neutros */
  --dark: #1a1b25;
  --gray-dark: #2d2e3a;
  --gray: #6c757d;
  --gray-light: #dee2e6;
  --light: #f8f9fa;
  
  /* Espacio */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  
  /* Tipografía */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  
  /* Tamaños de fuente */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-xxl: 2rem;
  --fs-xxxl: 2.5rem;
  
  /* Border radius */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  
  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  
  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Anchura de contenedores */
  --container-width: 1200px;
}

/* === RESET Y ESTILOS BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style-position: inside;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

h1 {
  font-size: var(--fs-xxxl);
}

h2 {
  font-size: var(--fs-xxl);
}

h3 {
  font-size: var(--fs-xl);
}

h4 {
  font-size: var(--fs-lg);
}

p {
  margin-bottom: var(--space-md);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* === UTILIDADES === */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xxl);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: var(--space-sm) auto 0;
}

.section-subtitle {
  text-align: center;
  font-size: var(--fs-lg);
  color: var(--gray);
  margin-top: -1.5rem;
  margin-bottom: var(--space-xl);
}

.center-btn {
  text-align: center;
  margin-top: var(--space-xl);
}

.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-md);
  line-height: 1.5;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 6px rgba(67, 97, 238, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(67, 97, 238, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
  box-shadow: 0 4px 6px rgba(255, 107, 107, 0.2);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(255, 107, 107, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--gray-dark);
  border: 1px solid var(--gray);
}

.btn-outline:hover {
  background-color: var(--gray-light);
  color: var(--dark);
}

/* === LAYOUT === */
header {
  background-color: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

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

/* Navegación */
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-left: var(--space-lg);
}

.nav-menu a {
  font-weight: 600;
  color: var(--dark);
  font-size: var(--fs-md);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-fast);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  height: 2px;
  width: 100%;
  background-color: var(--dark);
  transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, #f5f7ff 0%, #e6eaff 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: var(--space-xxl);
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: var(--fs-xxxl);
  margin-bottom: var(--space-md);
  color: var(--dark);
}

.hero-content p {
  font-size: var(--fs-lg);
  color: var(--gray);
  margin-bottom: var(--space-lg);
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Features */
.features {
  padding: var(--space-xxl) 0;
  background-color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

.feature-card svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--gray);
  font-size: var(--fs-md);
}

/* Latest Posts */
.latest-posts {
  padding: var(--space-xxl) 0;
  background-color: var(--light);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

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

.post-card:hover {
  transform: translateY(-5px);
}

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

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.post-content {
  padding: var(--space-lg);
}

.post-content h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.post-content p {
  color: var(--gray);
  margin-bottom: var(--space-md);
}

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

/* Testimonials */
.testimonials {
  padding: var(--space-xxl) 0;
  background-color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.testimonial-card {
  background-color: var(--light);
  border-radius: var(--border-radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card .quote {
  color: var(--primary-light);
  margin-bottom: var(--space-md);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: var(--space-lg);
}

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

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: var(--space-md);
  object-fit: cover;
}

.testimonial-author h4 {
  margin-bottom: 0;
  font-size: var(--fs-md);
}

.testimonial-author p {
  margin-bottom: 0;
  color: var(--gray);
  font-size: var(--fs-sm);
  font-style: normal;
}

/* CTA Banner */
.cta-banner {
  background-color: var(--primary-color);
  color: white;
  padding: var(--space-xxl) 0;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  margin-bottom: var(--space-md);
}

.cta-content p {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.9);
}

.cta-content .btn-primary {
  background-color: white;
  color: var(--primary-color);
}

.cta-content .btn-primary:hover {
  background-color: var(--accent-color);
  color: var(--dark);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-col h3 {
  color: white;
  margin-bottom: var(--space-lg);
  font-size: var(--fs-lg);
}

.footer-logo {
  width: 120px;
  margin-bottom: var(--space-md);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

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

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.social-icons svg {
  width: 18px;
  height: 18px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.contact-info li svg {
  margin-right: var(--space-sm);
  margin-top: 3px;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: var(--space-lg);
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cookie-content p {
  margin-bottom: var(--space-md);
}

.cookie-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.cookie-banner a {
  font-size: var(--fs-sm);
}

/* Page Header */
.page-header {
  background-color: var(--primary-color);
  color: white;
  padding: var(--space-xxl) 0;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: var(--space-sm);
}

.page-header p {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* Blog Page */
.blog-content {
  padding: var(--space-xxl) 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.blog-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

@media (min-width: 768px) {
  .blog-card {
    flex-direction: row;
  }
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  flex: 1;
  min-height: 250px;
}

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

.blog-info {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.blog-category {
  background-color: var(--primary-light);
  color: white;
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-sm);
}

.blog-date {
  color: var(--gray);
  font-size: var(--fs-sm);
}

.blog-text {
  flex: 1.5;
  padding: var(--space-lg);
}

.blog-text h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
}

.blog-text p {
  color: var(--gray);
  margin-bottom: var(--space-md);
}

/* Newsletter */
.newsletter {
  background-color: var(--gray-dark);
  color: white;
  padding: var(--space-xxl) 0;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-content h2 {
  color: white;
  margin-bottom: var(--space-md);
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem var(--space-md);
  border: none;
  border-radius: var(--border-radius-md);
  font-size: var(--fs-md);
}

.newsletter-form button {
  white-space: nowrap;
}

.newsletter-content .small {
  font-size: var(--fs-sm);
  margin-top: var(--space-md);
  color: rgba(255, 255, 255, 0.6);
}

/* Single Post */
.post-single {
  padding: var(--space-xxl) 0;
}

.post-single .container {
  max-width: 900px;
}

.post-header {
  margin-bottom: var(--space-lg);
}

.post-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.post-author {
  display: flex;
  align-items: center;
  margin-top: var(--space-md);
}

.post-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: var(--space-md);
}

.post-author span {
  display: block;
}

.post-author span:first-child {
  font-weight: 600;
}

.post-author span:last-child {
  font-size: var(--fs-sm);
  color: var(--gray);
}

.post-featured-image {
  margin-bottom: var(--space-xl);
}

.post-featured-image img {
  border-radius: var(--border-radius-md);
  width: 100%;
}

.post-content {
  font-size: var(--fs-md);
  line-height: 1.7;
}

.post-content h2 {
  margin-top: var(--space-xl);
}

.post-content h3 {
  margin-top: var(--space-lg);
}

.post-content h4 {
  margin-top: var(--space-md);
}

.post-content ul, .post-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.post-content li {
  margin-bottom: var(--space-sm);
}

.post-content pre {
  background-color: var(--gray-dark);
  color: white;
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  overflow-x: auto;
  margin-bottom: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
}

.post-content code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.post-content a {
  text-decoration: underline;
}

.post-footer {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--gray-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.post-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
}

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

.post-tags a {
  background-color: var(--light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: var(--fs-sm);
  transition: background-color var(--transition-fast);
}

.post-tags a:hover {
  background-color: var(--gray-light);
}

.share-post {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

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

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

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

.related-posts {
  margin-top: var(--space-xxl);
}

.related-posts h3 {
  margin-bottom: var(--space-lg);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.related-post {
  display: block;
  background-color: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.related-post:hover {
  transform: translateY(-5px);
}

.related-post img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.related-post h4 {
  padding: var(--space-md);
  font-size: var(--fs-md);
  margin-bottom: 0;
}

.cta-banner {
  margin-top: var(--space-xxl);
}

/* About Page */
.about-intro {
  padding: var(--space-xxl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 3fr 2fr;
  }
}

.about-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.about-content h2:first-child {
  margin-top: 0;
}

.about-content ul {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-lg);
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-values {
  padding: var(--space-xxl) 0;
  background-color: var(--light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.value-card {
  background-color: white;
  padding: var(--space-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: white;
  margin-bottom: var(--space-md);
}

.value-icon svg {
  width: 30px;
  height: 30px;
}

.value-card h3 {
  margin-bottom: var(--space-sm);
}

.team-section {
  padding: var(--space-xxl) 0;
  background-color: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-xl);
}

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

.team-member img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  margin-bottom: var(--space-md);
}

.team-member h3 {
  margin-bottom: var(--space-xs);
}

.team-member p:first-of-type {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
}

.team-member p:last-of-type {
  font-size: var(--fs-sm);
  color: var(--gray);
  margin-bottom: var(--space-md);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--light);
  color: var(--gray);
  transition: all var(--transition-fast);
}

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

.stats-section {
  padding: var(--space-xxl) 0;
  background-color: var(--primary-color);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  text-align: center;
}

.stat-card {
  padding: var(--space-lg);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.stat-label {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.8);
}

.partners-section {
  padding: var(--space-xxl) 0;
  background-color: var(--light);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  align-items: center;
}

.partner-logo {
  flex-basis: 160px;
  padding: var(--space-md);
}

.partner-logo img {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-normal);
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Contact Page */
.contact-section {
  padding: var(--space-xxl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

.contact-info {
  padding: var(--space-lg);
  background-color: var(--light);
  border-radius: var(--border-radius-md);
}

.contact-info h2 {
  margin-bottom: var(--space-md);
}

.contact-info p {
  margin-bottom: var(--space-lg);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-right: var(--space-md);
  background-color: var(--primary-light);
  color: white;
  border-radius: var(--border-radius-md);
}

.info-item h3 {
  margin-bottom: var(--space-xs);
}

.info-item p {
  margin-bottom: var(--space-xs);
  color: var(--gray);
}

.social-links-contact {
  margin-top: var(--space-xl);
}

.social-links-contact h3 {
  margin-bottom: var(--space-md);
}

.contact-form-container {
  background-color: white;
  padding: var(--space-xl);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.contact-form-container h2 {
  margin-bottom: var(--space-sm);
}

.contact-form-container p {
  margin-bottom: var(--space-lg);
  color: var(--gray);
}

.contact-form {
  display: grid;
  gap: var(--space-md);
}

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

.form-group label {
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius-md);
  font-size: var(--fs-md);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: var(--space-sm);
}

.checkbox-group input {
  width: auto;
}

.map-section {
  padding-bottom: var(--space-xxl);
}

.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.faq-item {
  background-color: white;
  padding: var(--space-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin-bottom: var(--space-sm);
  font-size: var(--fs-lg);
}

.faq-item p {
  color: var(--gray);
  margin-bottom: 0;
}

/* Modal */
.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-content {
  background-color: white;
  padding: var(--space-xl);
  border-radius: var(--border-radius-md);
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.close-modal {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 1.5rem;
  cursor: pointer;
}

.thank-you-message {
  text-align: center;
}

.thank-you-message svg {
  color: #2ecc71;
  margin-bottom: var(--space-md);
}

.thank-you-message h2 {
  margin-bottom: var(--space-md);
}

.thank-you-message p {
  margin-bottom: var(--space-md);
  color: var(--gray);
}

.thank-you-message button {
  margin-top: var(--space-md);
}

/* Responsive Styles */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content, .hero-image {
    flex: none;
    width: 100%;
  }
  
  .hero-image {
    margin-top: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: var(--space-md) 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .values-grid, 
  .features-grid, 
  .posts-grid, 
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .blog-card {
    flex-direction: column;
  }
  
  .blog-image {
    height: 200px;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
