/* --- CSI Custom Styles --- */
:root {
  --csi-navy: #154c79;      /* Main branding & Nav */
  --csi-red: #e31837;       /* Call Now Button */
  --csi-blue: #20639b;      /* Header Estimate Button */
  --csi-green: #008a00;     /* Bottom Estimate Button */
  --csi-dark: #212529;      /* Dark text and hero footer */
  --csi-gray-bg: #f4f6f9;   /* Gallery background */
}

/* --- Global & Boxed Layout --- */
html {
  background-color: #cfd4d9; /* A neutral gray backdrop for large screens */
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--csi-dark);
  background-color: transparent; 
}

.site-wrapper {
  max-width: 1200px; /* This locks the maximum width */
  margin: 0 auto;    /* This centers the website on the screen */
  background-color: white; /* Keeps the site content area white */
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15); /* Adds a shadow to separate the site from the backdrop */
  min-height: 100vh; /* Ensures the white box goes all the way down the screen */
  position: relative;
  overflow-x: hidden; /* Prevents horizontal scrolling */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

/* --- Header & Top Bar --- */
.csi-logo {
  max-height: 60px;
}

.header-btn {
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  padding: 8px 15px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.header-btn i { font-size: 1.2rem; margin-bottom: 2px; }
.btn-call { background-color: var(--csi-red); color: white; }
.btn-call:hover { background-color: #c0142e; color: white; }
.btn-estimate { background-color: var(--csi-blue); color: white; }
.btn-estimate:hover { background-color: #1a4f7c; color: white; }

/* --- Brand Text Styling --- */
.brand-text-container {
  line-height: 1; /* Keeps the text stacked tightly */
  text-align: left;
}

.brand-title {
  color: var(--csi-navy);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  color: var(--csi-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* --- Secondary Navigation --- */
.csi-nav-container {
  background-color: var(--csi-navy);
}

.csi-nav-link {
  color: white;
  text-align: center;
  font-weight: 700;
  padding: 10px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  flex: 1;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background-color 0.2s;
}

.csi-nav-link:last-child {
  border-right: none;
}

.csi-nav-link:hover, .csi-nav-link.active {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
}

.csi-nav-link i {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 3px;
}

/* --- Hero Section --- */
.hero-footer {
  background-color: #2b2b2b;
  color: white;
  padding: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* --- Capabilities --- */
.capability-icon {
  width: 40px;
  text-align: center;
  color: var(--csi-navy);
}

/* --- Gallery Section --- */
.gallery-bg {
  background-color: var(--csi-gray-bg);
  border-top: 2px solid #e0e0e0;
  border-bottom: 2px solid #e0e0e0;
}

.gallery-grid img {
  border: 1px solid #ccc;
}

/* --- Trust & Footer CTA --- */
.btn-green-cta {
  background-color: var(--csi-green);
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 15px;
  border-radius: 4px;
  text-decoration: none;
  display: block;
  transition: opacity 0.2s;
}

.btn-green-cta:hover {
  background-color: #007000;
  color: white;
}

.footer-text {
  font-size: 0.9rem;
  color: #555;
}