* {
  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);
}


/* About Page */
.company-story {
  padding: 80px 20px;
  background: var(--white);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.story-text h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 25px;
}

.story-text p {
  font-size: 1.1rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.story-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.value-card {
  padding: 30px;
  background: var(--light-gray);
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 153, 255, 0.15);
}

.value-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.value-card h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Team Section */
.team-section {
  padding: 80px 20px;
  background: var(--light-gray);
}

.team-section h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 15px;
  color: var(--primary-lighter);
  font-weight: 800;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 153, 255, 0.2);
}

.member-photo {
  margin-bottom: 20px;
}

.photo-placeholder {
  width: 120px;
  height: 120px;
  background: #f3f5f9;
  border-radius: 50%;
  border: 1px solid var(--border-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.team-card:hover .photo-placeholder {
  transform: scale(1.1);
}

.photo-placeholder i {
  font-size: 3rem;
  color: var(--primary-light);
}

.team-card h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.role {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bio {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.member-social {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.member-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s ease;
}

.member-social a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

/* Partners Section */
.partners-section {
  padding: 80px 20px;
  background: var(--white);
}

.partners-section h2 {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 15px;
  color: var(--primary-lighter);
  font-weight: 800;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.partner-logo-card {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid var(--border-gray);
  transition: all 0.3s ease;
}

.partner-logo-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 153, 255, 0.15);
}

.partner-logo-card img {
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.partner-logo-card:hover img {
  filter: grayscale(0%);
}

.partner-logo-card h4 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.partner-logo-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

