/* 
 * Davimaxsoft - Main Stylesheet
 * Version 1.0.0
 * 2024
 */

/* Base Styles */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary-color: #475569;
  --secondary-dark: #334155;
  --accent-color: #f97316;
  --light-color: #f8fafc;
  --dark-color: #0f172a;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --border-radius: 8px;
  --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;
  font-size: 16px;
}

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

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

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

ul {
  list-style: none;
}

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

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  font-size: 1rem;
}

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

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

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

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

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

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

.btn.small {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn.large {
  padding: 16px 32px;
  font-size: 1.125rem;
}

/* Header & Navigation */
header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  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;
}

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

nav ul li a {
  color: var(--gray-700);
  font-weight: 600;
  position: relative;
}

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

nav ul li a.active::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

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

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

/* Hero Section */
.hero {
  padding: 80px 0;
  background-color: var(--gray-100);
}

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

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.hero-content h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--gray-700);
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--gray-600);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  flex: 1;
  max-width: 500px;
  margin-left: 40px;
}

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

/* Welcome Section */
.welcome-section {
  padding: 60px 0;
  background-color: var(--light-color);
  text-align: center;
}

.welcome-languages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.welcome-languages p {
  font-size: 1.125rem;
  padding: 12px 24px;
  background-color: var(--gray-100);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.lang {
  font-weight: 600;
  margin-right: 0.5rem;
}

/* Latest Posts Section */
.latest-posts {
  padding: 80px 0;
  background-color: white;
}

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

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

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

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

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

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

.post-content {
  padding: 20px;
}

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

.post-meta {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.read-more:hover {
  color: var(--primary-dark);
}

.view-all {
  text-align: center;
  margin-top: 3rem;
}

/* Data Visualization Section */
.data-section {
  padding: 80px 0;
  background-color: var(--gray-100);
  text-align: center;
}

.chart-container {
  max-width: 800px;
  margin: 0 auto 2rem;
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.chart-description {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray-600);
}

/* Services Overview */
.services-overview {
  padding: 80px 0;
  background-color: white;
}

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

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

.service-card {
  background-color: var(--gray-100);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  color: white;
  border-radius: 50%;
}

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

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

.service-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--gray-100);
}

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

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

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

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: 0;
}

.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 {
  margin-bottom: 0.25rem;
}

.testimonial-author p {
  color: var(--gray-500);
  margin-bottom: 0;
}

/* Contact CTA */
.contact-cta {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

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

.contact-cta p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
}

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

.contact-cta .btn.primary:hover {
  background-color: var(--gray-100);
}

/* Footer */
footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding: 60px 0 30px;
}

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

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

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

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

.footer-links ul li a {
  color: var(--gray-300);
}

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

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.footer-contact i {
  margin-right: 10px;
  font-size: 1.25rem;
}

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

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

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

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright p {
  margin-bottom: 0;
}

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

.footer-legal a {
  color: var(--gray-400);
}

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

/* Cookie Consent */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--gray-800);
  color: white;
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

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

.cookie-content p {
  margin-bottom: 0;
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-consent a {
  color: var(--gray-300);
  text-decoration: underline;
}

.cookie-consent a:hover {
  color: white;
}

/* Blog Specific Styles */
.page-header {
  background-color: var(--gray-100);
  padding: 60px 0;
  text-align: center;
}

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

.page-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray-600);
  font-size: 1.125rem;
}

.blog-filters {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.search-bar {
  display: flex;
  max-width: 400px;
  width: 100%;
}

.search-bar input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--gray-300);
  border-right: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.search-bar button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 15px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
}

.category-filter select {
  padding: 10px 15px;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-size: 1rem;
  min-width: 200px;
}

.blog-posts {
  padding: 60px 0;
  background-color: white;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-post {
  display: flex;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.blog-post .post-image {
  width: 300px;
  height: auto;
  flex-shrink: 0;
}

.blog-post .post-content {
  padding: 30px;
  flex: 1;
}

.blog-post h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.blog-post .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.post-text {
  color: var(--gray-700);
}

.post-text h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

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

.post-text ul li,
.post-text ol li {
  margin-bottom: 0.5rem;
}

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

.post-tags span {
  color: var(--gray-500);
}

.post-tags a {
  display: inline-block;
  padding: 5px 10px;
  background-color: var(--gray-100);
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--gray-700);
}

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

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

.post-share span {
  color: var(--gray-500);
}

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

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

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--gray-100);
  border-radius: var(--border-radius);
  color: var(--gray-700);
  font-weight: 600;
}

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

.pagination a:hover:not(.active) {
  background-color: var(--gray-200);
}

.pagination a.next {
  width: auto;
  padding: 0 15px;
}

/* Services Specific Styles */
.services-intro {
  padding: 80px 0;
  background-color: white;
}

.services-intro .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.intro-content {
  flex: 1;
}

.intro-image {
  flex: 1;
  max-width: 500px;
}

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

.main-services {
  padding: 80px 0;
  background-color: var(--gray-100);
}

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

.service-block {
  display: flex;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 40px;
}

.service-block.alternate {
  flex-direction: row-reverse;
}

.service-block .service-content {
  flex: 1;
  padding: 40px;
}

.service-block .service-image {
  flex: 1;
  max-width: 500px;
}

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

.service-block .service-icon {
  width: 70px;
  height: 70px;
  margin: 0 0 20px;
}

.service-block .service-icon svg {
  width: 35px;
  height: 35px;
}

.service-features {
  margin: 2rem 0;
}

.service-features h4 {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

.service-features ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.service-features li {
  display: flex;
  align-items: center;
}

.feature-icon {
  margin-right: 10px;
  color: var(--success-color);
}

.additional-services {
  padding: 80px 0;
  background-color: white;
}

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

.development-process {
  padding: 80px 0;
  background-color: var(--gray-100);
}

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

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 25px;
  width: 2px;
  background-color: var(--primary-color);
}

.process-step {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
  margin-right: 30px;
}

.step-content {
  flex: 1;
  background-color: white;
  padding: 20px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

.step-content p {
  margin-bottom: 0;
  color: var(--gray-600);
}

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

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

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

.cta p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
}

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

.cta .btn.primary:hover {
  background-color: var(--gray-100);
}

/* About Page Styles */
.company-story {
  padding: 80px 0;
  background-color: white;
}

.company-story .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.story-content {
  flex: 1;
}

.story-image {
  flex: 1;
  max-width: 500px;
}

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

.mission-values {
  padding: 80px 0;
  background-color: var(--gray-100);
}

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

.mission-box,
.values-box {
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

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

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

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

.value-item h3 {
  margin-bottom: 0.75rem;
}

.team-section {
  padding: 80px 0;
  background-color: white;
}

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

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--gray-600);
}

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

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

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.member-photo {
  height: 300px;
  overflow: hidden;
}

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

.member-info {
  padding: 25px;
}

.member-info h3 {
  margin-bottom: 0.25rem;
}

.member-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-bio {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

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

.member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: var(--gray-100);
  border-radius: 50%;
  color: var(--gray-700);
}

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

.work-environment {
  padding: 80px 0;
  background-color: var(--gray-100);
}

.work-environment .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.environment-image {
  flex: 1;
  max-width: 500px;
}

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

.environment-content {
  flex: 1;
}

.environment-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.environment-content ul li {
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.clients-partners {
  padding: 80px 0;
  background-color: white;
  text-align: center;
}

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

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.logo-item img {
  max-height: 80px;
  margin: 0 auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

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

/* Contact Page Styles */
.contact-info {
  padding: 60px 0;
  background-color: white;
}

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

.info-card {
  background-color: var(--gray-100);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

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

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

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

.info-card h3 {
  margin-bottom: 0.75rem;
}

.info-card p {
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.contact-form-section {
  padding: 80px 0;
  background-color: var(--gray-100);
}

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

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

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
}

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

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

.map {
  height: 300px;
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

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

.faq-section {
  padding: 80px 0;
  background-color: white;
}

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

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

.faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: var(--gray-100);
  border-radius: var(--border-radius);
}

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

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

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-question.active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq-answer p {
  padding: 20px 0;
  color: var(--gray-600);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

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

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--gray-500);
  cursor: pointer;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: var(--success-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-icon svg {
  width: 40px;
  height: 40px;
}

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

.modal-content p {
  margin-bottom: 2rem;
  color: var(--gray-600);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1.25rem;
  }

  .hero .container,
  .services-intro .container,
  .company-story .container,
  .work-environment .container {
    flex-direction: column;
  }

  .hero-image,
  .intro-image,
  .story-image,
  .environment-image {
    margin-left: 0;
    margin-top: 40px;
    max-width: 100%;
  }

  .testimonials-slider {
    flex-direction: column;
    align-items: center;
  }

  .mission-values .container {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  header {
    height: auto;
    padding: 15px 0;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin-left: 0;
    margin-bottom: 15px;
  }

  .mobile-menu-btn {
    display: flex;
  }

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

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

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

  .service-block,
  .service-block.alternate {
    flex-direction: column;
  }

  .service-block .service-image {
    max-width: 100%;
    height: 300px;
  }

  .service-features ul {
    grid-template-columns: 1fr;
  }

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

  .blog-post .post-image {
    width: 100%;
    height: 200px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .service-block .service-content,
  .form-container,
  .map-container {
    padding: 20px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-buttons .btn {
    width: 100%;
  }
}

/* Мобільні стилі для footer-bottom */
@media (max-width: 768px) {
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    gap: 15px;
  }

  .footer-bottom .copyright p {
    text-align: center;
    font-size: 0.9rem;
    margin: 0;
  }

  .footer-bottom .footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-bottom .footer-legal a {
    display: block;
    font-size: 0.9rem;
    color: inherit;
    text-decoration: none;
    padding: 5px 0;
  }

  .footer-bottom .footer-legal a:hover {
    text-decoration: underline;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
}
