* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors tuned to logo image: red, blue, teal */
  --primary: #e3362d; /* main logo red (FIRE text) */
  --primary-light: #e3362d; /* use clear red instead of pink tint */
  --primary-dark: #c52823; /* darker red for hovers */
  --secondary: #1d5fa8; /* CODEBRIDGE blue */
  --secondary-light: #e4eef9; /* light blue background */
  --secondary-accent: #0f76c3; /* brighter logo blue */
  --teal: #18a3a3; /* icon teal band */
  --teal-dark: #0f6f78; /* darker teal band */
  --white: #ffffff;
  --dark: #111827;
  --dark-light: #1f2933;
  --light-gray: #f4f5f7;
  --medium-gray: #e1e4ea;
  --border-gray: #c4ccd9;
  --text-gray: #6b7280;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--dark);
  background: var(--white); /* clean white page background */
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gradient-text {
  /* now use primary red for emphasis text */
  color: var(--primary);
}

.digital-reality {
  color: var(--primary);
  font-weight: 800;
}

/* Page Heroes */
.page-hero {
  padding: 100px 20px 80px;
  text-align: center;
  color: var(--white);
}

.page-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.services-hero {
  background-color: var(--primary-light);
}

.about-hero {
  background-color: var(--primary-lighter);
}

.contact-hero {
  background-color: var(--primary-light);
}

/* Blog Sections */
.featured-post {
  padding: 80px 20px;
  background: var(--light-gray);
}

.featured-article {
  display: flex;
  gap: 60px;
  align-items: center;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.featured-article:hover {
  box-shadow: 0 15px 50px rgba(0, 153, 255, 0.2);
  transform: translateY(-5px);
}

.featured-content {
  flex: 1;
  padding: 50px;
}

.post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.post-category,
.post-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--light-gray);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.featured-content h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.featured-content p {
  font-size: 1.1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 25px;
}

.post-stats {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
  color: var(--text-gray);
}

.post-stats span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-image {
  flex: 1;
  min-height: 400px;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder i {
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.9);
}

.blog-section {
  padding: 80px 20px;
  background: var(--white);
}

.blog-grid-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}

.blog-item {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-gray);
  grid-column: span 6;
}

.blog-item.large {
  grid-column: span 12;
  display: flex;
  gap: 0;
}

.blog-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 153, 255, 0.2);
}

.blog-image {
  height: 250px;
  position: relative;
  background: var(--primary-light);
}

.blog-item.large .blog-image {
  flex: 1;
  height: auto;
  min-height: 350px;
}

.blog-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 16px;
  background: var(--white);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-text {
  padding: 25px;
}

.blog-item.large .blog-text {
  flex: 1;
  padding: 40px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-text h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.blog-item.large .blog-text h3 {
  font-size: 1.8rem;
}

.blog-text p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 15px;
}

.read-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.read-link:hover {
  gap: 12px;
  color: var(--primary);
}
