/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Header layout */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #1a1a2e;
  padding: 0 2rem;
  height: 70px; /* fixed height */
}

.logo {
  height: 140px;
  width: auto;
  object-fit: contain;
}

/* Navigation */
nav a {
  color: #f0f0f0;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #f7a400; /* accent color */
}

/* Hero section */
.hero {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #ffffff;
  
}

.hero h2 {
  font-size: 2rem;
  color: #c53221; /* IThero red */
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
footer {
  background-color: #1a1a2e;
  color: #ccc;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}
header {
  display: flex;
  align-items: center;   /* keeps logo + nav vertically aligned */
  justify-content: space-between;
}
nav a:hover {
  color: #f7a400;
  transform: scale(1.05);
  transition: all 0.2s ease;
}
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
}
.hero h2 {
  color: #c53221; /* IThero red */
  font-size: 2rem;
}
.hero p {
  font-size: 1.1rem;
  color: #333;
}

.services {
  padding: 0 5vw;
  margin-bottom: 3rem;
}

/* Section headers with bold red accent */
.services h3 {
  margin-top: 3rem;
  border-left: 4px solid #c62828; /* bold red */
  padding-left: 10px;
  color: #c62828;
  font-weight: 600;
}

/* Table layout */
.services table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Table cells */
.services th, .services td {
  padding: 14px 18px;
  text-align: left;
}

/* Table header row */
.services thead th {
  border-bottom: 2px solid #c62828; /* red underline */
  font-weight: 600;
  color: #c62828;
}

/* Table body rows */
.services tbody tr {
  border-bottom: 1px solid #f0f0f0;
}

/* Remove last row border */
.services tbody tr:last-child {
  border-bottom: none;
}

/* Hover effect */
.services tbody tr:hover {
  background-color: #fff5f5; /* soft red tint */
}

/* Table text */
.services td {
  color: #555;
}

/* Wrapper for the projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 5vw;
  margin: 3rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Individual project cards */
.project-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 1.8rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect for interactivity */
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

/* Project titles */
.project-card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
  color: #c62828; /* deep bold red */
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 0.5rem;
}

/* Project descriptions */
.project-card p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}
.about h3 {
  margin-top: 2rem;
  border-left: 4px solid #c62828;
  padding-left: 10px;
  color: #c62828;
}
.about {
  max-width: 1000px;       /* keeps content from stretching too wide */
  margin: 0 auto;          /* centers the section */
  padding: 0 5vw;          /* horizontal padding relative to screen size */
  line-height: 1.7;        /* improves readability */
  color: #444;
}

.about h3 {
  margin-top: 2rem;
  border-left: 4px solid #c62828; /* bold red accent */
  padding-left: 12px;
  color: #c62828;
  font-weight: 600;
}
.contact-card {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #c62828; /* bold red accent */
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 0.5rem;
}

.contact-card p {
  margin: 0.8rem 0;
  font-size: 1rem;
  color: #444;
}

.contact-card a {
  color: #c62828;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.hero {
  min-height: 1vh;
  padding: 4rem 5vw;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.0rem; /* NEW: adds consistent spacing between elements */
}

.hero-title {
  font-size: 2.5rem;
  color: #c62828;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.tiles-section {
  padding: 2rem 5vw;
  text-align: center;
}

.tiles-section h2 {
  color: #c62828;
  margin-bottom: 2rem;
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.tile {
  perspective: 1000px;
  text-decoration: none;
}

.tile-front, .tile-back {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.6s ease;
  backface-visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile {
  position: relative;
  height: 200px;
}

.tile-front {
  transform: rotateY(0deg);
}

.tile-back {
  transform: rotateY(180deg);
}

.tile:hover .tile-front {
  transform: rotateY(-180deg);
}

.tile:hover .tile-back {
  transform: rotateY(0deg);
}
.project-logo {
  width: 80px;
  height: auto;
  margin-bottom: 10px;
  display: block;
}
/* ================================
   MSP Pricing Section (IThero Theme)
   ================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.pricing-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.pricing-card h4 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  color: #c62828; /* IThero deep red */
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 0.5rem;
}

.price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  margin: 1rem 0 0.5rem 0;
}

.price span {
  font-size: 0.9rem;
  color: #777;
}

.tagline {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
  font-style: italic;
}

.pricing-card ul {
  margin: 1rem 0;
  padding-left: 20px;
  color: #555;
  line-height: 1.6;
}

.ideal {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #777;
}

/* Add-ons section */
.addons {
  margin-top: 3rem;
}

.addons h4 {
  color: #c62828;
  border-left: 4px solid #c62828;
  padding-left: 10px;
  margin-bottom: 1rem;
}

.addons-list {
  padding-left: 20px;
  line-height: 1.8;
  color: #555;
}

.addons-list li strong {
  color: #c62828;
}
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  color: #c62828;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background-color: #c62828;
  color: #fff;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #a91f1f;
}
#heroCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}
.cta-button {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #fa4b1f, #fddc2d);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(250, 75, 31, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(250, 75, 31, 0.4);
}
.tile {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.tile.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-tagline {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #555;
  opacity: 0.85;
  text-transform: uppercase;
}
.hero-icon {
  margin-right: 0.4rem;
  color: #fa4b1f;
  filter: drop-shadow(0 0 6px rgba(250,75,31,0.4));
}



