/* 
   CS Gaming Hub Styles
   A modern, gaming-themed stylesheet for a CS2/CSGO blog
*/

/* ===== Base Styles ===== */
:root {
  --primary-color: #4a90e2;
  --primary-dark: #3a7bc8;
  --secondary-color: #6c5ce7;
  --accent-color: #00d2d3;
  --danger-color: #e74c3c;
  --warning-color: #f39c12;
  --success-color: #2ecc71;
  --dark-color: #2c3e50;
  --dark-accent: #34495e;
  --light-color: #ecf0f1;
  --gray-color: #95a5a6;
  --gray-dark: #7f8c8d;
  --text-color: #333;
  --body-bg: #f5f7fa;
  --card-bg: #ffffff;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --section-padding: 80px 0;
  --container-padding: 0 20px;
  --nav-height: 80px;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--body-bg);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--body-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 6px;
  border: 3px solid var(--body-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

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

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

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

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

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

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

.btn-secondary:hover {
  background-color: #5649c0;
  color: white;
}

.btn-tertiary {
  background-color: var(--light-color);
  color: var(--dark-color);
}

.btn-tertiary:hover {
  background-color: #d6d9dc;
  color: var(--dark-color);
}

/* ===== Header & Navigation ===== */
header {
  background-color: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--dark-color);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo img {
  height: 40px;
  width: auto;
  margin-right: 10px;
  border-radius: 6px;
}

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

nav li {
  margin-left: 2rem;
}

nav a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-accent) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: cover;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
  max-width: 500px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

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

.feature-card {
  background: linear-gradient(145deg, #f5f7fa, #ffffff);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  font-size: 1.75rem;
}

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

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* ===== Recent Posts Section ===== */
.recent-posts {
  padding: var(--section-padding);
}

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

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

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

.post-image {
  height: 220px;
  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: 1.5rem;
}

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

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

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

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

/* ===== Fun Facts Section ===== */
.fun-facts {
  padding: var(--section-padding);
  background-color: var(--card-bg);
}

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

.fact {
  position: relative;
  padding: 2rem;
  background: linear-gradient(145deg, #f5f7fa, #ffffff);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.fact:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.fact-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(74, 144, 226, 0.1);
  line-height: 1;
}

.fact h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  padding-right: 3rem;
}

/* ===== Newsletter Section ===== */
.newsletter {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
}

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

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

.newsletter p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

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

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

.blog-newsletter {
  margin-top: 4rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 3rem;
}

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

.footer-logo img {
  height: 40px;
  width: auto;
  margin-right: 10px;
  border-radius: 6px;
}

.footer-logo span {
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
}

.footer-about p {
  opacity: 0.8;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}

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

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

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

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

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

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

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

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

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

.footer-contact svg {
  margin-right: 10px;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-bottom p {
  opacity: 0.7;
  margin-bottom: 0;
}

/* ===== Cookie Consent ===== */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--dark-color);
  color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

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

.cookie-content h3 {
  color: white;
  margin-bottom: 0.75rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin: 1.5rem 0 1rem;
  flex-wrap: wrap;
}

.cookie-policy-link {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0;
}

.cookie-policy-link a {
  color: var(--accent-color);
  text-decoration: underline;
}

.cookie-policy-link a:hover {
  color: white;
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-accent) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

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

.page-header p {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

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

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

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

.blog-post .post-image {
  flex: 0 0 350px;
  height: auto;
}

.blog-post .post-content {
  flex: 1;
  padding: 2rem;
}

.blog-post .post-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--gray-dark);
}

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

.blog-post .btn {
  margin-top: 1rem;
}

/* ===== Blog Post Single ===== */
.blog-post-single {
  padding: var(--section-padding);
}

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

.post-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--gray-dark);
}

.post-excerpt {
  font-size: 1.2rem;
  color: var(--dark-accent);
  line-height: 1.7;
}

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

.post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

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

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

.post-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.post-content ul li, 
.post-content ol li {
  margin-bottom: 0.75rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.post-content .settings-table {
  margin: 2rem 0;
  overflow-x: auto;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.post-content th {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1rem;
  text-align: left;
}

.post-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e1e5e8;
}

.post-content tr:nth-child(even) {
  background-color: #f8f9fa;
}

.post-content .pro-tip,
.post-content .warning-box,
.post-content .disclaimer-box {
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.post-content .pro-tip {
  background-color: rgba(46, 204, 113, 0.1);
  border-left: 4px solid var(--success-color);
}

.post-content .warning-box {
  background-color: rgba(231, 76, 60, 0.1);
  border-left: 4px solid var(--danger-color);
}

.post-content .disclaimer-box {
  background-color: rgba(243, 156, 18, 0.1);
  border-left: 4px solid var(--warning-color);
}

.post-content .code-block {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

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

.post-tags span {
  font-weight: 600;
  color: var(--dark-color);
}

.post-tags a {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background-color: #edf2f7;
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--dark-accent);
  transition: var(--transition);
}

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

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

.post-share span {
  font-weight: 600;
  color: var(--dark-color);
}

.share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
}

.share-link.facebook {
  background-color: #3b5998;
}

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

.share-link.reddit {
  background-color: #ff4500;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  padding: 2rem 0;
  border-top: 1px solid #e1e5e8;
  border-bottom: 1px solid #e1e5e8;
  margin-bottom: 3rem;
}

.prev-post, .next-post {
  max-width: 48%;
}

.prev-post span, .next-post span {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
}

.prev-post a, .next-post a {
  font-weight: 600;
  font-size: 1.1rem;
}

.related-posts {
  margin-bottom: 3rem;
}

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

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

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

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  color: var(--text-color);
}

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

.related-post h4 {
  padding: 1rem;
  font-size: 1.1rem;
  margin-bottom: 0;
}

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

.about-intro,
.about-values {
  margin-bottom: 4rem;
}

.about-intro p,
.about-values p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.value-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  font-size: 1.75rem;
}

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

.team-section {
  margin-bottom: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 3rem;
}

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

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-member h3 {
  margin: 1.5rem 0 0.5rem;
  padding: 0 1.5rem;
  font-size: 1.3rem;
}

.team-member p {
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

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

.team-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 0 1.5rem 1.5rem;
}

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

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

.cta-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: white;
  text-align: center;
  padding: 80px 0;
  margin-bottom: 2rem;
}

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

.cta-section p {
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

.contact-form-container {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e1e5e8;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.contact-info {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

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

.info-icon {
  flex: 0 0 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border-radius: 50%;
  margin-right: 1rem;
}

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

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

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

.info-item a {
  color: var(--primary-color);
}

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

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

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

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

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

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
}

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

.success-message {
  text-align: center;
}

.success-message svg {
  width: 64px;
  height: 64px;
  color: var(--success-color);
  margin-bottom: 1.5rem;
}

.success-message h2 {
  margin-bottom: 1rem;
}

.success-message p {
  margin-bottom: 1.5rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 60px 0;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 80%;
    height: calc(100vh - var(--nav-height));
    background-color: var(--card-bg);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 99;
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    padding: 2rem;
  }
  
  nav li {
    margin: 0 0 1.5rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content, .hero-image {
    text-align: center;
  }
  
  .post-grid, .values-grid, .team-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-post {
    flex-direction: column;
  }
  
  .blog-post .post-image {
    flex: none;
    height: 220px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 20px;
  }
  
  .prev-post, .next-post {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  :root {
    --container-padding: 0 15px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form button {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 10px;
  }
}
