/* 
 * GEO US HR Agency - Основные стили сайта
 * 2024
 */

/* ----- Общие стили ----- */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #3e63dd;
  --accent-color: #ff6b6b;
  --light-color: #f8fafc;
  --dark-color: #1e293b;
  --text-color: #334155;
  --muted-color: #64748b;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Arial', sans-serif;
  color: var(--text-color);
  line-height: 1.7;
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

section {
  padding: 5rem 0;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

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

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

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

.cta-center {
  text-align: center;
  margin-top: 2rem;
}

/* ----- Header и навигация ----- */
header {
  position: sticky;
  top: 0;
  background-color: white;
  box-shadow: var(--box-shadow);
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

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

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

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--dark-color);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.5rem;
  position: relative;
}

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

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

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* ----- Hero секция ----- */
.hero {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
  padding: 6rem 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ----- Services Preview секция ----- */
.services-preview {
  background-color: white;
}

.services-preview h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--muted-color);
  margin-bottom: 0;
}

/* ----- Latest Posts секция ----- */
.latest-posts {
  background-color: var(--light-color);
}

.latest-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.post-card {
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

.post-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--accent-color);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.post-tag.new {
  background-color: var(--success-color);
}

.post-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.post-content p {
  color: var(--muted-color);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.read-more {
  align-self: flex-start;
  color: var(--primary-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.read-more:hover::after {
  transform: translateX(5px);
}

/* ----- Testimonials секция ----- */
.testimonials {
  background-color: white;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  padding: 1rem;
}

.testimonial-content {
  background-color: var(--light-color);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary-color);
  opacity: 0.2;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

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

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

.testimonial-author h4 {
  margin: 0;
  font-size: 1rem;
}

.testimonial-author p {
  margin: 0;
  color: var(--muted-color);
  font-size: 0.875rem;
}

/* ----- Footer ----- */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4 {
  color: white;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.footer-links ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: white;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact svg {
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

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

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-bottom: 0;
  font-size: 0.875rem;
}

/* ----- Cookie Consent ----- */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-color);
  padding: 1rem;
  z-index: 1001;
  display: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1rem;
  background-color: white;
  border-radius: 0.5rem;
}

.cookie-content p {
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cookie-buttons button {
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-accept {
  background-color: var(--success-color);
  color: white;
}

.btn-accept:hover {
  background-color: #0ea271;
}

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

.btn-customize:hover {
  background-color: #2c4fb3;
}

.btn-decline {
  background-color: var(--muted-color);
  color: white;
}

.btn-decline:hover {
  background-color: #4b5563;
}

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

/* ----- Summary Section ----- */
.summary-section {
  padding: 3rem 0;
  background-color: var(--light-color);
}

.summary-box {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  max-width: 900px;
  margin: 0 auto;
  border-left: 4px solid var(--primary-color);
}

.summary-box h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.summary-box p {
  margin-bottom: 0;
}

/* ----- Page Header ----- */
.page-header {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.page-header h1 {
  color: white;
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ----- Blog Page Styles ----- */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: space-between;
}

.search-box {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  overflow: hidden;
  flex: 1;
  max-width: 400px;
}

.search-box input {
  flex: 1;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.search-box input:focus {
  outline: none;
}

.search-box button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-box button:hover {
  background-color: var(--secondary-color);
}

.category-filter select {
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--text-color);
  background-color: white;
  cursor: pointer;
  min-width: 200px;
}

.category-filter select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.blog-grid {
  margin-bottom: 3rem;
}

.blog-grid .post-card.large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: auto;
}

.blog-grid .post-card.large .post-image {
  height: 100%;
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: var(--muted-color);
  font-size: 0.875rem;
}

.post-category {
  color: var(--primary-color);
  font-weight: 500;
}

.post-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.post-date::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
}

.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: var(--transition);
}

.pagination a {
  background-color: white;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

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

.pagination .current-page {
  background-color: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
}

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

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

.subscribe h2 {
  color: white;
  margin-bottom: 1rem;
}

.subscribe p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.subscribe-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.subscribe-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
}

.subscribe-form input:focus {
  outline: none;
}

/* ----- Services Page Styles ----- */
.services-section {
  background-color: white;
}

.service-box {
  margin-bottom: 4rem;
}

.service-box:last-child {
  margin-bottom: 0;
}

.service-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.service-box.alt .service-content {
  flex-direction: row-reverse;
}

.service-icon {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-color);
  border-radius: 0.5rem;
  color: var(--primary-color);
}

.service-text {
  flex: 1;
}

.service-text ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-text li {
  margin-bottom: 0.5rem;
}

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

.pricing h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.pricing-card.featured::before {
  content: 'Популярный';
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 0 0 0 0.5rem;
}

.pricing-header {
  background-color: var(--light-color);
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.pricing-card.featured .pricing-header {
  background-color: var(--primary-color);
}

.pricing-card.featured .pricing-header h3,
.pricing-card.featured .pricing-header .price {
  color: white;
}

.pricing-header h3 {
  margin-bottom: 0.5rem;
}

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

.pricing-body {
  padding: 2rem;
  flex-grow: 1;
}

.pricing-body ul {
  list-style-type: none;
}

.pricing-body li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-body li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: 700;
}

.pricing-footer {
  padding: 0 2rem 2rem;
  text-align: center;
}

.cta-section {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  text-align: center;
}

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

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* ----- Contact Page Styles ----- */
.contact-content {
  background-color: white;
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
}

.contact-form-container h2,
.contact-info h2 {
  margin-bottom: 2rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-size: 1rem;
  color: var(--text-color);
  font-family: inherit;
}

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

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input {
  width: auto;
}

.contact-info {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 0.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
}

.info-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.info-content p {
  margin-bottom: 0;
  color: var(--muted-color);
}

.contact-social h3 {
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

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

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

.map-section {
  background-color: var(--light-color);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.map-container {
  height: 450px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.faq-section {
  background-color: white;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

.toggle-icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 0 1rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  margin-bottom: 0;
}

.thank-you-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted-color);
  transition: var(--transition);
}

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

.modal-icon {
  color: var(--success-color);
  margin-bottom: 1.5rem;
}

.modal-content h2 {
  margin-bottom: 1rem;
}

.modal-content p {
  margin-bottom: 2rem;
}

/* ----- About Page Styles ----- */
.about-story {
  background-color: white;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-text h2 {
  margin-bottom: 1.5rem;
}

.story-image img {
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
}

.mission-values {
  background-color: var(--light-color);
}

.mission-box {
  background-color: var(--primary-color);
  border-radius: 0.5rem;
  padding: 3rem;
  color: white;
  text-align: center;
  margin-bottom: 4rem;
  box-shadow: var(--box-shadow);
}

.mission-box h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.mission-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.values-grid h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.values-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.value-card h3 {
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--muted-color);
  margin-bottom: 0;
}

.team-section {
  background-color: white;
}

.team-section h2,
.section-intro {
  text-align: center;
}

.team-section h2 {
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--muted-color);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-card {
  background-color: var(--light-color);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.team-card h3 {
  margin: 1.5rem 0 0.5rem;
  padding: 0 1.5rem;
}

.team-card p {
  color: var(--muted-color);
  margin-bottom: 0.5rem;
  padding: 0 1.5rem;
}

.team-card p:nth-of-type(1) {
  color: var(--primary-color);
  font-weight: 500;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  transition: var(--transition);
}

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

.stats-section {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
}

.stats-section h2 {
  color: white;
  text-align: center;
  margin-bottom: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.clients-section {
  background-color: var(--light-color);
}

.clients-section h2,
.clients-section .section-intro {
  text-align: center;
}

.clients-section h2 {
  margin-bottom: 1rem;
}

.clients-section .section-intro {
  margin-bottom: 3rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 1rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.client-logo img {
  max-width: 100%;
  max-height: 80px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

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

/* ----- Blog Post Styles ----- */
.blog-post {
  background-color: white;
  padding: 5rem 0;
}

.post-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.post-header .post-meta {
  justify-content: center;
}

.post-header h1 {
  margin-bottom: 2rem;
}

.post-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

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

.author-name {
  font-weight: 500;
  margin-bottom: 0;
}

.author-title {
  color: var(--muted-color);
  margin-bottom: 0;
  font-size: 0.875rem;
}

.post-featured-image {
  margin-bottom: 3rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

.post-content {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.post-intro {
  font-size: 1.2rem;
  color: var(--muted-color);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content strong {
  color: var(--dark-color);
}

.post-quote {
  margin: 2.5rem 0;
  padding: 2rem;
  background-color: var(--light-color);
  border-left: 4px solid var(--primary-color);
  border-radius: 0.5rem;
}

.post-quote blockquote {
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.post-quote cite {
  display: block;
  color: var(--muted-color);
  font-size: 0.875rem;
  text-align: right;
}

.post-image {
  margin: 2.5rem 0;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

figcaption {
  margin-top: 0.75rem;
  color: var(--muted-color);
  font-size: 0.875rem;
  text-align: center;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  align-items: center;
}

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

.post-tags a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--light-color);
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-color);
  transition: var(--transition);
}

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

.post-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.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(--light-color);
  color: var(--muted-color);
  transition: var(--transition);
}

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

.related-posts {
  margin-top: 4rem;
}

.related-posts h3 {
  margin-bottom: 2rem;
  text-align: center;
}

/* ----- Responsive Styles ----- */
@media (max-width: 992px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .service-content,
  .service-box.alt .service-content {
    flex-direction: column;
  }
  
  .service-icon {
    margin-bottom: 1.5rem;
  }
  
  .story-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .story-text {
    order: 2;
  }
  
  .story-image {
    order: 1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid .post-card.large {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  section {
    padding: 4rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 80%;
    height: calc(100vh - var(--header-height));
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    z-index: 999;
    padding: 2rem;
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .subscribe-form {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .posts-grid,
  .services-grid,
  .values-content,
  .team-grid,
  .stats-grid,
  .clients-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .mission-box {
    padding: 2rem;
  }
  
  .mission-box p {
    font-size: 1.1rem;
  }
  
  .blog-filters {
    flex-direction: column;
  }
  
  .search-box {
    max-width: 100%;
  }
}
