/* 
  Euro EFG Connect - Main Stylesheet
  Theme: Dark marketplace style with neon, black and purple accents
*/

/* Base Styles & Variables */
:root {
  --bg-color: #0f0f13;
  --bg-color-light: #16161d;
  --text-color: #e5e5e5;
  --text-muted: #b0b0b0;
  --primary-color: #7e57c2;
  --secondary-color: #3a2a5a;
  --accent-color: #a573ff;
  --neon-purple: #8a2be2;
  --neon-blue: #4a6fff;
  --danger-color: #d32f2f;
  --success-color: #388e3c;
  --warning-color: #f9a825;
  --border-color: rgba(255, 255, 255, 0.1);
  --card-bg: #1a1a24;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --header-height: 80px;
  --footer-bg: #0c0c10;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--neon-purple));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  --glow-effect: 0 0 10px rgba(126, 87, 194, 0.5);
  --border-radius: 8px;
  --transition-speed: 0.3s;
  --container-width: 1200px;
  --section-spacing: 6rem;
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
}

h1 {
  font-size: 4.2rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 3.2rem;
  margin-bottom: 1.8rem;
}

h3 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

h4 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

p {
  margin-bottom: 1.6rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

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

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

li {
  margin-bottom: 0.8rem;
}

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

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

/* Reading Progress Bar */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 9999;
  background: transparent;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  transition: width 0.1s ease;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(15, 15, 19, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-speed) ease;
}

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

.logo a {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--transition-speed) ease;
}

.logo a:hover {
  text-shadow: var(--glow-effect);
}

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

nav ul li {
  margin: 0 1.5rem;
  margin-bottom: 0;
}

nav ul li a {
  position: relative;
  color: var(--text-color);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  transition: color var(--transition-speed) ease;
}

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

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

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

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

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-color);
  transition: all var(--transition-speed) ease;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 16rem 0 10rem;
  background: var(--bg-color-light);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(126, 87, 194, 0.15), transparent 50%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #fff, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 2rem;
  max-width: 80rem;
  margin: 0 auto 3rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.6rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(126, 87, 194, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(126, 87, 194, 0.5);
  transform: translateY(-2px);
  color: white;
}

.btn-secondary {
  background: var(--secondary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(58, 42, 90, 0.3);
}

.btn-secondary:hover {
  box-shadow: 0 6px 20px rgba(58, 42, 90, 0.5);
  transform: translateY(-2px);
  color: white;
}

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

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

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

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

/* Features Section */
.features {
  padding: var(--section-spacing) 0;
  background-color: var(--bg-color);
}

.features h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 3rem;
}

.feature-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 3rem;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  border: 1px solid var(--border-color);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.feature-icon {
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  background: var(--gradient-secondary);
  border-radius: 50%;
  color: white;
}

.feature-item h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.feature-item p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Services Preview */
.services-preview {
  padding: var(--section-spacing) 0;
  background-color: var(--bg-color-light);
}

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

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

.service-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  border: 1px solid var(--border-color);
}

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

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

.service-card h3 {
  font-size: 2.2rem;
  padding: 2rem 2rem 1rem;
}

.service-card p {
  padding: 0 2rem 2rem;
  color: var(--text-muted);
}

.read-more {
  display: inline-block;
  padding: 0 2rem 2rem;
  color: var(--primary-color);
  font-weight: 600;
  transition: color var(--transition-speed) ease;
}

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

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

/* Latest Posts */
.latest-posts {
  padding: var(--section-spacing) 0;
  background-color: var(--bg-color);
}

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

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

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  border: 1px solid var(--border-color);
  height: 100%;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

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

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

.post-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

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

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

/* CTA Section */
.cta-section {
  padding: 8rem 0;
  background: var(--gradient-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom left, rgba(0, 0, 0, 0.4), transparent 50%);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 3.6rem;
  margin-bottom: 2rem;
  color: white;
}

.cta-section p {
  font-size: 1.8rem;
  max-width: 70rem;
  margin: 0 auto 3rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

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

.footer-logo h3 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo p {
  color: var(--text-muted);
}

.footer-links h4 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: white;
}

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

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

.footer-links ul li a {
  color: var(--text-muted);
  transition: color var(--transition-speed) ease;
}

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

.footer-contact h4 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: white;
}

.footer-contact address {
  font-style: normal;
  color: var(--text-muted);
}

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

.footer-contact address p svg {
  margin-right: 1rem;
  color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--secondary-color);
  color: white;
  transition: all var(--transition-speed) ease;
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(126, 87, 194, 0.4);
}

.copyright {
  color: var(--text-muted);
  text-align: center;
}

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

.modal-content {
  position: relative;
  background-color: var(--card-bg);
  max-width: 60rem;
  margin: 5rem auto;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 0 30px var(--shadow-color);
  animation: modalFadeIn 0.3s ease;
}

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

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 3rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-speed) ease;
}

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

.modal h2 {
  margin-bottom: 2.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 2rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-size: 1.6rem;
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(126, 87, 194, 0.2);
}

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

.checkbox-group input {
  width: auto;
  margin-right: 1rem;
  margin-top: 0.4rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 1.4rem;
  color: var(--text-muted);
}

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

.thank-you-content svg {
  margin-bottom: 2rem;
}

.thank-you-content h2 {
  margin-bottom: 1.5rem;
}

.thank-you-content p {
  margin-bottom: 3rem;
  color: var(--text-muted);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 50rem;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

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

.cookie-content p {
  margin-bottom: 2rem;
  font-size: 1.4rem;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

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

/* Page Banner */
.page-banner {
  padding: 14rem 0 6rem;
  background: var(--bg-color-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(126, 87, 194, 0.15), transparent 50%);
  z-index: 1;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-size: 4.8rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-banner p {
  font-size: 1.8rem;
  max-width: 70rem;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Services Page */
.services-section {
  padding: var(--section-spacing) 0;
}

.section-intro {
  text-align: center;
  max-width: 80rem;
  margin: 0 auto 6rem;
}

.section-intro h2 {
  margin-bottom: 2rem;
}

.section-intro p {
  color: var(--text-muted);
  font-size: 1.8rem;
}

.service-detailed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 8rem;
  align-items: center;
}

.service-detailed.reversed {
  direction: rtl;
}

.service-content, .service-image {
  direction: ltr;
}

.service-content h3 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
}

.service-content p {
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 3rem;
}

.service-features li {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.service-features li svg {
  margin-right: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px var(--shadow-color);
}

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

.approach-section h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 3rem;
}

.step {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.step-number {
  width: 6rem;
  height: 6rem;
  background: var(--gradient-primary);
  color: white;
  font-size: 2.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 2rem;
}

.step h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.step p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Blog Page */
.blog-section {
  padding: var(--section-spacing) 0;
}

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

.blog-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  border: 1px solid var(--border-color);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.blog-image {
  height: 25rem;
  overflow: hidden;
}

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

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

.blog-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-size: 1.4rem;
}

.blog-card .blog-content {
  padding: 2.5rem;
}

.blog-card h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.blog-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  max-width: 60rem;
  margin: 0 auto;
  gap: 1rem;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 1.2rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.6rem;
}

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

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

/* Blog Post */
.blog-post {
  padding: calc(var(--section-spacing) + var(--header-height)) 0 6rem;
}

.post-header {
  text-align: center;
  margin-bottom: 4rem;
}

.post-header h1 {
  font-size: 4.2rem;
  max-width: 90rem;
  margin: 0 auto 3rem;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

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

.post-author img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  margin-right: 1.5rem;
}

.author-info {
  text-align: left;
}

.author-name {
  display: block;
  font-weight: 600;
  color: white;
}

.author-role {
  color: var(--text-muted);
  font-size: 1.4rem;
}

.post-featured-image {
  margin-bottom: 4rem;
}

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

.post-content {
  max-width: 80rem;
  margin: 0 auto 5rem;
}

.post-content h2 {
  font-size: 3rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.post-content h3 {
  font-size: 2.4rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.post-content p {
  margin-bottom: 2rem;
  font-size: 1.8rem;
  line-height: 1.7;
}

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

.post-content li {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

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

.post-content strong {
  color: white;
}

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

.tag-label {
  margin-right: 1rem;
  font-weight: 600;
}

.tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: var(--secondary-color);
  color: white;
  font-size: 1.4rem;
  border-radius: 2rem;
  margin: 0.5rem;
  transition: all var(--transition-speed) ease;
}

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

.post-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  color: white;
  transition: all var(--transition-speed) ease;
}

.facebook {
  background-color: #1877f2;
}

.twitter {
  background-color: #1da1f2;
}

.linkedin {
  background-color: #0077b5;
}

.email {
  background-color: #ea4335;
}

.share-button:hover {
  transform: translateY(-3px);
  color: white;
}

.related-posts {
  padding: 6rem 0;
  background-color: var(--bg-color-light);
}

.related-posts h2 {
  text-align: center;
  margin-bottom: 4rem;
}

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

.related-post {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  border: 1px solid var(--border-color);
}

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.related-post a {
  display: block;
  color: var(--text-color);
}

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

.related-post h3 {
  font-size: 1.8rem;
  margin: 1.5rem 2rem 1rem;
}

.related-post p {
  padding: 0 2rem 2rem;
  color: var(--text-muted);
  font-size: 1.5rem;
}

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

/* About Page */
.about-section {
  padding: var(--section-spacing) 0;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 8rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 3rem;
}

.about-content p {
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.about-values h2 {
  text-align: center;
  margin-bottom: 5rem;
}

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

.value-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

.value-icon {
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  background: var(--gradient-secondary);
  border-radius: 50%;
  color: white;
}

.value-item h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

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

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

.team-intro {
  text-align: center;
  max-width: 80rem;
  margin: 0 auto 5rem;
  color: var(--text-muted);
  font-size: 1.8rem;
}

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

.team-member {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  border: 1px solid var(--border-color);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
}

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

.team-member h3 {
  margin: 2rem 0 0.5rem;
  padding: 0 2rem;
}

.team-member p {
  padding: 0 2rem;
  color: var(--text-muted);
}

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 2rem 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--secondary-color);
  color: white;
  transition: all var(--transition-speed) ease;
}

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

.stats-section {
  padding: 8rem 0;
  background: var(--gradient-secondary);
}

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

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

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

.stat-label {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.8);
}

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

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

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

.contact-info > p {
  margin-bottom: 4rem;
  color: var(--text-muted);
}

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

.contact-item {
  display: flex;
  margin-bottom: 3rem;
}

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

.contact-item:hover .contact-icon {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(126, 87, 194, 0.4);
}

.contact-text h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-text p {
  color: var(--text-muted);
  margin-bottom: 0;
}

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

.contact-form-container h2 {
  margin-bottom: 3rem;
}

.contact-form .btn {
  width: 100%;
}

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

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

.map-container {
  height: 45rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

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

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

.faq-container {
  max-width: 90rem;
  margin: 0 auto;
}

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

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

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.8rem;
  padding-right: 2rem;
}

.faq-toggle {
  font-size: 2.4rem;
  color: var(--primary-color);
  transition: transform var(--transition-speed) ease;
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease, padding var(--transition-speed) ease;
}

.faq-answer p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 2rem 2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  html {
    font-size: 60%;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 58%;
  }
  
  .hero h1 {
    font-size: 4.2rem;
  }
  
  .service-detailed, 
  .about-intro {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .service-detailed.reversed {
    direction: ltr;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 56%;
  }
  
  header {
    height: 7rem;
  }
  
  nav {
    position: fixed;
    top: 7rem;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    padding: 2rem 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    border-bottom: 1px solid var(--border-color);
    z-index: 900;
  }
  
  nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 1.5rem 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:first-child {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero h1 {
    font-size: 3.6rem;
  }
  
  .hero p {
    font-size: 1.8rem;
  }
  
  .post-header h1 {
    font-size: 3.2rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 54%;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .hero {
    padding: 14rem 0 8rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .post-author {
    flex-direction: column;
    text-align: center;
  }
  
  .post-author img {
    margin: 0 auto 1.5rem;
  }
  
  .author-info {
    text-align: center;
  }
  
  .post-share {
    flex-direction: column;
    align-items: flex-start;
  }
}
