/* =============================
   BASE STYLES
   ============================= */
body {
  background-color: #e0eafc;
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}
h1, h2, h3 { color: #0b355d; }
section h2 { margin-top: 20px; margin-bottom: 10px; }
h1 {
  font-size: 28px;
  font-weight: bold;
  margin: 20px 0;
}
h2 {
  font-size: 22px;
  font-weight: bold;
  margin: 16px 0;
}
p { font-size: 16px; margin: 12px 0; }
section p { line-height: 1.6; }

/* =============================
   HEADER / NAVIGATION
   ============================= */
/* =============================
   LOGO — CONSOLIDATED FINAL BLOCK
   ============================= */
.logo {
  display: block;
  width: 360px;
  max-width: 100%;
  height: auto;
  margin: 22px auto 14px auto;
  padding: 0;
}

@keyframes logoIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes logoIn { to { opacity: 1; transform: scale(1); } }

header { text-align: center; padding: 20px; }

.nav-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links li { margin: 0; }

/* =============================
  HERO SECTION
   ============================= */
body {
  background-color: #e0eafc;
}
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  min-height: 60vh;
  padding: 40px 20px;
  background: transparent;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(32,106,214,0.06);
}

.hero-text {
  margin-bottom: 2.5rem !important;
}
.hero-content {
  flex: 0 1 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-headline {
  font-size: 2.5rem;
  margin-bottom: 14px;
  font-weight: 700;
  color: #22304b;
  opacity: 0;
  transform: translateY(60px);
  animation: fadeInUp 1.2s 0.3s cubic-bezier(0.23,1,0.32,1) forwards;
}
.hero-tagline {
  font-size: 1.25rem;
  margin-bottom: 28px;
  color: #486288;
  opacity: 0;
  transform: translateY(60px);
  animation: fadeInUp 1.2s 0.5s cubic-bezier(0.23,1,0.32,1) forwards;
}
.hero-image img {
  width: 340px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateX(80px);
  animation: fadeInRight 1.3s 1.1s cubic-bezier(0.23,1,0.32,1) forwards;
}

/* Animations */
@keyframes fadeInUp { to { opacity: 1; transform: none; } }
@keyframes fadeInRight { to { opacity: 1; transform: none; } }
@keyframes pulseBtn { to { box-shadow: 0 2px 24px 6px #9dc9fc; } }
@keyframes fadeInScale { to { opacity: 1; transform: scale(1); } }
@keyframes labelPulse { 0% { background: #206ad6; } 100% { background: #377ef7; } }
@keyframes pulse-nav {
  0% { box-shadow: 0 0 0 0 #d2691e77; }
  70% { box-shadow: 0 0 0 8px #d2691e22; }
  100% { box-shadow: 0 0 0 0 #d2691e00; }
}
@keyframes vehicleIn { to { opacity: 1; transform: translateX(0); } }

/* ================================
   BASIC MOBILE RESPONSIVE FIX
   ================================ */
@media (max-width: 700px) {
  .hero {
    flex-direction: column;
    gap: 18px;
    min-height: unset;
    padding: 18px 2vw;
    text-align: center;

    /* CENTERING FIX — KEEP THIS */
    align-items: center;
    justify-content: center;

    /* NEW: prevents global animation wipeout from interfering */
    animation: none !important;
  }

.hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    width: 100%;
}

  .hero-tagline {
    margin-bottom: 22px; /* Adds breathing room above button */
  }

  .hero-headline {
    font-size: 1.5rem;
    transform: none !important;
  }

  .hero-image img {
    width: 95vw;
    max-width: 320px;
    margin-top: 18px;

    /* NEW: overrides global transform wipeout and fixes cut-off */
    transform: none !important;
  }

 /* ⭐ THIS MUST BE INSIDE THE MEDIA QUERY */
  .hero-content,
  .hero-image {
      flex: 0 0 100% !important;
      width: 100% !important;
      max-width: 100% !important;
  }
}


/* =============================
   SERVICES SECTION (SIDE BY SIDE)
   ============================= */
.services-section {
  padding: 20px 16px 20px 16px;
  background: transparent;
  text-align: center;
}

.services-section h2 {
  font-size: 2rem;
  margin-bottom: 36px;
  color: #22304b;
  opacity: 0;
    animation: fadeInUp 1s 0.2s cubic-bezier(0.23,1,0.32,1) forwards;
}

/* FIXED: Paragraph alignment for Services section */
.services-section p {
  color: #486288;
  font-size: 1.18rem;
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInUp 1s 0.35s cubic-bezier(0.23,1,0.32,1) forwards;
}

.services-section p {
  margin-bottom: 12px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  justify-items: center;   /* centers each card */
  justify-content: center; /* centers the entire row */
  list-style-type: none;
  padding-left: 0;
}

.service-card {
  background: transparent;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 24px 18px;
  width: 280px;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeInUp 1.1s 0.35s cubic-bezier(0.23,1,0.32,1) forwards;
}

.service-card img {
  width: 54px;
  margin-bottom: 12px;
}

.service-link {
  display: inline-block;
  margin-top: 16px;
  color: #206ad6;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s;
}

.service-link:hover { color: #1d4e89; }

/* Responsive for services section */
@media (max-width: 900px) {
  .services-list { grid-template-columns: 1fr; }
}

/* =============================
   PROJECT GALLERY
   ============================= */
.project-gallery,
.roofing-gallery,
.exterior-gallery,
.interior-gallery {
  text-align: center;
  padding: 20px;
}
.project-gallery {
  text-align: center;
  padding: 20px;
  background: transparent; /* transparent means it inherits the body’s gradient */
}

.exterior-link {
  margin-bottom: 18px;   /* Adjust as needed for more/less space */
}

.exterior-link a {
  font-weight: bold;
  color: #d8871e;         /* Optional: your orange highlight */
  text-decoration: underline;
  font-size: 1.07em;      /* Optional: slight bump in font size */
}

h1, h2, h3 {
  color: #0b355d;
  font-weight: bold;
  margin: 16px 0;
}

h1 {
  font-size: 28px;
  margin-top: 20px;
  margin-bottom: 20px;
}

h2 {
  font-size: 22px;
}

section h2 {
  margin-top: 20px;
  margin-bottom: 10px;
}


p {
  font-size: 16px;
  margin: 12px 0;
}


.about-section, .contact-section, .roofing-gallery, .exterior-gallery {
  text-align: center;
}

.about-section {
  margin: 30px auto;
  max-width: 800px;
  min-width: 300px; /* Keeps it readable at smaller widths */
  padding: 0 10px;   /* Adds breathing room on small screens */
}

.about-section p {
  margin-left: auto;
  margin-right: auto;
  text-align: left;  /* Keeps paragraphs natural and readable */
  line-height: 1.6;
}

  
section p {
  line-height: 1.6;
}

button, .button {
  background-color: #d1495b;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:focus, .button:focus {
  outline: 2px solid #d1495b;  /* Added focus outline for accessibility */
}

button:hover, .button:hover {
  background-color: #b03c4a;
  transition: background-color 0.3s ease;  /* Smooth transition for background color */
}

.project-gallery h2, .project-gallery p {
  text-align: center;  /* Ensure all text elements are centered */
}

.roofing-gallery .gallery img {
  margin-bottom: 20px;
}

/* Roofing Gallery image size */
.roofing-gallery img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  display: block;
  margin: auto;
  cursor: pointer;
}

.roofing-gallery {
  text-align: center;
  padding: 20px;
}

.roofing-gallery h2,
.roofing-gallery p {
  text-align: center;
}

.roof-link {
  margin-bottom: 16px;    /* Adjust this number for more/less space */
}
.roof-link a {
  font-weight: bold;
  color: #d8871e;
  text-decoration: underline;
  font-size: 1.07em;
}

.exterior-gallery .gallery img {
  margin-bottom: 20px;
}

/* Exterior Gallery image size */
.exterior-gallery img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  display: block;
  margin: auto;
  cursor: pointer;
}

.exterior-gallery {
  text-align: center;
  padding: 20px;
}

.exterior-gallery h2,
.exterior-gallery p {
  text-align: center;
}

.interior-gallery .gallery img {
  margin-bottom: 20px;
}

/* Interior Gallery image size */
.interior-gallery img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  display: block;
  margin: auto;
  cursor: pointer;
}

.interior-gallery {
  text-align: center;
  padding: 20px;
}

.interior-gallery h2,
.interior-gallery p {
  text-align: center;
}

/* General table styles */
table {
  border-collapse: collapse;
  margin-bottom: 1em;
}

td {
  padding: 4px 12px 4px 0;
  vertical-align: top;
}

/* Section-specific table styling */
section table {
  border-collapse: collapse;
  width: 100%;
  max-width: 100%;  /* Allow tables to take up full width */
  margin-bottom: 20px;
 }

/* Table headers */
section th {
  text-align: left;
  font-size: 1.2em;
  padding-bottom: 10px;
}

/* Table data cells */
section td {
  padding: 4px 8px;
}

/* Ensure tables are responsive on smaller screens */
@media (max-width: 600px) {
  section table {
    max-width: 100%;
  }
}


@keyframes logoIn {
  to { opacity: 1; transform: scale(1); }
}

header {
  text-align: center;
  padding: 20px;
}

/* Remove bullet points from the 'Our Services' section */
.services-list {
  list-style-type: none;  /* Removes the bullet points */
  padding-left: 0;        /* Removes indentation */
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  margin: 0;
}

.tagline {
  text-align: center;
  margin: 30px auto;
}

footer {
  text-align: center;
  padding: 20px 0;
}

.contact-section {
  max-width: 800px;
  margin: 30px auto;
  padding: 0 10px;
  text-align: center;
}

.contact-section p {
  margin: 12px 0;
  line-height: 1.6;
}

.contact-details {
  text-align: center;
  margin: 0 auto;
  max-width: 600px;
}

.back-button {
  text-align: center;
  margin-top: 20px;
}

.contact-form {
  max-width: 600px;
  margin: 30px auto;
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  font-family: inherit;
  line-height: 1.5;
}

#char-count {
  font-size: 0.95em;
  color: #555;
  margin-top: -8px;
  margin-bottom: 12px;
}

.contact-form button {
background: #206ad6;  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
background: #206ad6;}

.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 10px;
  text-align: center;
}

.services-section {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.services-section ul {
  text-align: left;
  display: inline-block;
  margin: 0 auto;
  padding-left: 20px;
}

.learn-more-section {
  text-align: center;
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
}

.learn-more-section .services-list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  display: inline-block;
  text-align: left;
}

.learn-more-section .services-list li {
  margin: 8px 0;
}

/* Final Local Reach - Added to the bottom of stylesheet */
.local-reach {
  text-align: center;
  max-width: 800px;
  margin: 20px auto;
  padding: 10px 20px 20px 20px;
  padding-left: 5vw;
  padding-right: 5vw;
}

.local-reach h3 {
  color: #003366 !important;
  font-size: 24px !important;
  margin-bottom: 5px !important;
}

.local-reach .area-desc p {
  display: inline-block;
  text-align: left;
  margin: 0 0 10px 0 !important; 
  line-height: 1.5 !important; 
  font-size: 17px !important; 
  color: #555 !important;
}

.local-reach ul {
  list-style: none;
  padding: 0;
  margin: 0 auto !important;
  display: inline-block;
  text-align: left;
  font-size: 17px !important; 
  color: #444 !important;
}

.local-reach ul li {
  margin: 4px 0 !important;
  line-height: 1.4 !important;
}

/* Universal Local Reach - Locked for consistency */
.local-reach .area-desc p {
  display: inline-block;
  text-align: left;
  margin: 0 0 10px 0 !important; 
  line-height: 1.5 !important; 
  font-size: 17px !important; 
  color: #555 !important;
}

.local-reach ul {
  list-style: none;
  padding: 0;
  margin: 0 auto !important;
  display: inline-block;
  text-align: left;
  font-size: 17px !important; 
  color: #444 !important;
}

.local-reach ul li {
  margin: 4px 0 !important;
  line-height: 1.4 !important;
}

.compliance-note {
  background-color: #f0f0f0;
  border-left: 2px solid #999999;  /* subtle and professional */
  padding: 12px 20px;
  margin: 30px auto;
  font-size: 1rem;
  color: #333333;
  max-width: 800px;
  text-align: left;
  box-sizing: border-box;
}

.exterior-section {
  max-width: 800px;
  margin: 30px auto;
  padding: 0 10px;
  text-align: center;
}

.exterior-section p {
  text-align: left;
  margin: 12px 0;
  line-height: 1.6;
}

.exterior-buttons {
  text-align: right;
  margin-top: 20px;
}

.exterior-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* aligns items (buttons) to the right */
  gap: 10px;             /* adds space between buttons */
  margin-top: 20px;
}

.exterior-buttons .button {
  min-width: 220px;
  text-align: center;
  padding: 10px 20px;
}

.button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* adds space between buttons */
  margin-top: 20px;
}

.button-group .button {
  width: 260px; /* fixed width for visual alignment */
  text-align: center;
}


.interior-section {
  max-width: 800px;
  margin: 30px auto;
  padding: 0 10px;
  text-align: center;
}

.interior-section p {
  text-align: left;
  margin: 12px 0;
  line-height: 1.6;
}

.interior-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.masonry-section {
  max-width: 800px;
  margin: 30px auto;
  padding: 0 10px;
  text-align: center;
}

.masonry-section p {
  text-align: left;
  margin: 12px 0;
  line-height: 1.6;
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.roofing-section {
  max-width: 800px;
  margin: 30px auto;
  padding: 0 10px;
  text-align: center;
}

.roofing-section p {
  text-align: left;
  line-height: 1.6;
  margin: 12px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


@keyframes fadeInScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.vehicle-slide-in {
  opacity: 0;
transform: translateX(100%);
  animation: vehicleIn 1.7s cubic-bezier(0.23, 1, 0.32, 1) 0.6s forwards;
}

@keyframes vehicleIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

body {
  background: linear-gradient(135deg, #e0eafc 0%, #a1c4fd 50%, #c2e9fb 100%);
  background-size: 200% 200%;
  animation: gradientBG 5s ease-in-out infinite;
}
@keyframes gradientBG {
  0% { background-position: 0% 100%; }
  50% { background-position: 100% 0%; }
  100% { background-position: 0% 100%; }
}


/* Animations */
@keyframes fadeInUp {
  to { opacity: 1; transform: none; }
}
@keyframes fadeInRight {
  to { opacity: 1; transform: none; }
}
@keyframes pulseBtn {
  to { box-shadow: 0 2px 24px 6px #9dc9fc; }
}

.services-section {
  padding: 20px 16px 20px 16px;
  background: transparent;
  text-align: center;
}

.services-section h2 {
  font-size: 2rem;
  margin-bottom: 36px;
  color: #22304b;
  opacity: 0;
    animation: fadeInUp 1s 0.2s cubic-bezier(0.23,1,0.32,1) forwards;
}

.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 24px 18px;
  width: 280px;
  margin-bottom: 16px;
  opacity: 0;
    animation: fadeInUp 1.1s 0.35s cubic-bezier(0.23,1,0.32,1) forwards;
}
/* Add this to specifically style sw.jpg (the bottom photo) */
.service-card .service-photo {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 16px auto 0 auto;
  border-radius: 10px;
  display: block;
}
.service-link {
  display: inline-block;
  margin-top: 16px;
  background: #206ad6;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 24px;
  padding: 12px 28px;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px #9dc9fc88;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
  border: none;
  outline: none;
  cursor: pointer;
}
.service-link:hover,
.service-link:focus {
  background: #174a85;
  color: #fff;
  box-shadow: 0 4px 18px #206ad688, 0 0 8px #206ad6aa;
  transform: scale(1.06);
  text-decoration: none;
}

.services-content h2 {
  text-align: center;
  width: 100%;
}

.gallery-preview {
  background: transparent;
  padding: 48px 16px;
  text-align: center;
}
.gallery-preview h2 {
  font-size: 2rem;
  margin-bottom: 28px;
  color: #22304b;
  opacity: 0;
  animation: fadeInUp 1s 0.2s cubic-bezier(0.23,1,0.32,1) forwards;
}
.gallery-images img,
.gallery-item img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.09);
  opacity: 0;
  animation: fadeInScale 1.2s 0.45s cubic-bezier(0.23,1,0.32,1) forwards;
}

.gallery-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.gallery-item {
  width: 160px;
  display: block;
}

.gallery-link {
  display: inline-block;
  margin-top: 6px;
  color: #206ad6;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.07rem;
  border-bottom: 2px solid #206ad6;
  transition: color 0.16s;
}
.gallery-link:hover { color: #1d4e89; }

/* About / Company */
.about-section {
  padding: 48px 18px 36px 18px;
  background: transparent;
  text-align: center;
}
.about-section h2 {
  font-size: 1.8rem;
  color: #22304b;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeInUp 1s 0.2s cubic-bezier(0.23,1,0.32,1) forwards;
}
.about-section p {
  color: #486288;
  font-size: 1.18rem;
  max-width: 620px;
  margin: 0 auto;
  opacity: 0;
    animation: fadeInUp 1s 0.35s cubic-bezier(0.23,1,0.32,1) forwards;
}

/* Why Choose Us */
.why-choose-us {
  background: transparent;
  padding: 42px 16px 32px 16px;
  text-align: center;
}
.why-choose-us h2 {
  font-size: 1.7rem;
  color: #22304b;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeInUp 1s 0.2s cubic-bezier(0.23,1,0.32,1) forwards;
}
.why-choose-us ul {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.why-choose-us ul li {
  margin-bottom: 10px;
  font-size: 1.13rem;
  color: #486288;
  padding-left: 20px;
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 1.1s 0.4s cubic-bezier(0.23,1,0.32,1) forwards;
}
.why-choose-us ul li:before {
  content: '✔';
  color: #206ad6;
  position: absolute;
  left: 0;
}

.Review-section {
    padding: 80px 20px;
    text-align: center; /* This centers the H2 and the Stars */
}

.review-container {
    max-width: 600px;    /* Slightly narrower helps anchor the look */
    margin: 0 auto;      /* This is what centers the block on the page */
    display: block;      
}

.review-text {
    text-align: left !important;
    display: inline-block;
    color: #333;
    margin: 0;
    /* Remove the slanting and the size override */
    font-style: normal; 
    line-height: 1.6; /* Matches a more standard spacing */
}
.reviewer-name {
    margin-top: 25px;
    font-weight: bold;
    display: block;
    text-align: Left;
}

/* Final consolidated stars CSS for both pages */
.stars {
    color: #DAA520; 
    font-size: 26px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1); 
}

/* Mobile: Let it breathe on small screens */
@media (max-width: 768px) {
    .review-container {
        max-width: 95%;
    }
    .review-text {
        font-size: 1rem;
    }
}



/* CTA Banner */
.cta-banner {
  background: transparent;
  color: #22304b;
  text-align: center;
  padding: 48px 16px 36px 16px;
  border-radius: 18px;
  margin: 40px auto 30px auto;
  max-width: 800px;
  box-shadow: 0 2px 16px rgba(32,106,214,0.09);
}
.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta-banner a.cta-btn-large {
  display: inline-block;
  margin-top: 16px;
  background: #fff;
  color: #206ad6;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 24px;
  font-size: 1.18rem;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(32,106,214,0.14);
  transition: background 0.18s, color 0.18s, transform 0.15s;
  animation: pulseBtn 1.1s 0.8s infinite alternate;
}
.cta-banner a.cta-btn-large:hover {
  background: #206ad6;
  color: #fff;
  transform: scale(1.06);
}
.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #206ad6;
  color: #fff;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(32,106,214,0.15);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  /* REMOVE opacity and transform */
  animation: pulseBtn 1.2s 2.2s infinite alternate;
}

.cta-btn:hover, .cta-btn:focus {
  transform: scale(1.07);
  box-shadow: 0 4px 18px rgba(32,106,214,0.23);
}

/* Footer */
footer {
  background: #22304b;
  color: #fff;
  padding: 32px 16px 22px 16px;
  text-align: center;
  border-radius: 18px 18px 0 0;
  margin-top: 32px;
}
.footer-content nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: underline;
  font-size: 1.05rem;
  transition: color 0.18s;
}
.footer-content nav a:hover {
  color: #a1c4fd;
}

/* Keyframes for animation */
@keyframes fadeInUp {
  to { opacity: 1; transform: none; }
}
@keyframes fadeInScale {
  to { opacity: 1; transform: scale(1); }
}
@keyframes pulseBtn {
  to { box-shadow: 0 2px 24px 6px #9dc9fc; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.gallery-link {
  display: block;
  margin: 18px auto 0 auto;  /* top, right, bottom, left */
  color: #206ad6;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.07rem;
  border-bottom: 2px solid #206ad6;
  transition: color 0.16s;
  text-align: center;
  width: fit-content;
}
.header-badges-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  margin: 12px 0 0 0;
}
.badge {
  display: inline-block;
  background: #fff;         /* <-- White background */
  color: #174a85;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 18px;
  font-size: 1em;
  box-shadow: 0 1px 4px #eee;  /* Optional: subtle shadow for separation */
  letter-spacing: 0.5px;
  margin-bottom: 0;
  border: 1px solid #eaeaea;   /* Optional: subtle border */
}

@keyframes pulse-nav {
  0% { box-shadow: 0 0 0 0 #d2691e77; }
  70% { box-shadow: 0 0 0 8px #d2691e22; }
  100% { box-shadow: 0 0 0 0 #d2691e00; }
}

.highlight-nav {
  animation: pulse-nav 1.4s cubic-bezier(.66,0,.34,1) infinite alternate;
  border-radius: 6px;
  background: #fff8f0;
  color: #d2691e !important;
  font-weight: 800;
  transition: background 0.22s;
}
.gallery-label-btn {
  display: inline-block;
  margin: 0 auto 6px auto;
  padding: 7px 26px;
  font-size: 1.06em;
  color: #fff;
  background: #206ad6;
  border: none;
  border-radius: 20px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px #dde6ef66;
  letter-spacing: 0.5px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: background 0.18s, transform 0.14s;
  animation: labelPulse 1.4s infinite alternate;
}
@keyframes labelPulse {
  0% { background: #206ad6; }
  100% { background: #377ef7; }
}
.gallery-label-btn:hover,
.gallery-label-btn:focus {
  background: #174a85;
  transform: scale(1.06);
}

.about-btn {
  display: inline-block;
  margin-top: 14px;
  background: #206ad6;
  color: #fff;
  padding: 11px 30px;
  border-radius: 18px;
  font-size: 1.06em;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.16s, transform 0.13s;
  box-shadow: 0 1px 8px #dde6ef77;
}
.about-btn:hover,
.about-btn:focus {
  background: #174a85;
  transform: scale(1.045);
}

.services-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.services-image {
  flex: 0 0 auto;
}
.services-content {
  flex: 1 1 0;
}

@media (max-width: 900px) {
  .services-flex {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .services-image img {
    width: 150px;
  }
}

h2,
.exterior-gallery p,
.interior-gallery h2,
.interior-gallery p {
  text-align: center;
}
.gallery-preview {
  background: #f2f6fc;
  padding: 48px 16px;
  text-align: center;
}
.gallery-preview h2 {
  font-size: 2rem;
  margin-bottom: 28px;
  color: #22304b;
  opacity: 0;
  animation: fadeInUp 1s 0.2s cubic-bezier(0.23,1,0.32,1) forwards;
}
.gallery-link {
  display: block;
  margin: 18px auto 0 auto;
  color: #206ad6;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.07rem;
  border-bottom: 2px solid #206ad6;
  transition: color 0.16s;
  text-align: center;
  width: fit-content;
}
.gallery-link:hover { color: #1d4e89; }

/* =============================
   ABOUT 
   ============================= */
.about-section {
  margin: 30px auto;
  max-width: 800px;
  min-width: 300px;
  padding: 0 10px;
  text-align: center;
  background: transparent;
  padding: 48px 18px 36px 18px;
}
.about-section h2 {
  font-size: 1.8rem;
  color: #22304b;
  margin-bottom: 18px;
  opacity: 0;
    animation: fadeInUp 1s 0.2s cubic-bezier(0.23,1,0.32,1) forwards;
}
.about-section p {
  color: #486288;
  font-size: 1.18rem;
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.6;
  opacity: 0;
    animation: fadeInUp 1s 0.35s cubic-bezier(0.23,1,0.32,1) forwards;
}


/* =============================
   CTA BANNER
   ============================= */
.cta-banner {
  background: linear-gradient(110deg, #206ad6 70%, #6fb0f6 100%);
  color: #fff;
  text-align: center;
  padding: 48px 16px 36px 16px;
  border-radius: 18px;
  margin: 40px auto 30px auto;
  max-width: 800px;
  box-shadow: 0 2px 16px rgba(32,106,214,0.09);
}
.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta-banner a.cta-btn-large {
  display: inline-block;
  margin-top: 16px;
  background: #fff;
  color: #206ad6;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 24px;
  font-size: 1.18rem;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(32,106,214,0.14);
  transition: background 0.18s, color 0.18s, transform 0.15s;
  animation: pulseBtn 1.1s 0.8s infinite alternate;
}
.cta-banner a.cta-btn-large:hover {
  background: #206ad6;
  color: #fff;
  transform: scale(1.06);
}
.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #206ad6;
  color: #fff;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(32,106,214,0.15);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulseBtn 1.2s 2.2s infinite alternate;
}
.cta-btn:hover, .cta-btn:focus {
  transform: scale(1.07);
  box-shadow: 0 4px 18px rgba(32,106,214,0.23);
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #22304b;
  color: #fff;
  padding: 32px 16px 22px 16px;
  text-align: center;
  border-radius: 18px 18px 0 0;
  margin-top: 32px;
}
.footer-content nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: underline;
  font-size: 1.05rem;
  transition: color 0.18s;
}
.footer-content nav a:hover { color: #a1c4fd; }

/* =============================
   FORMS, TABLES, MISC
   ============================= */
button, .button {
  background-color: #d1495b;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button:focus, .button:focus { outline: 2px solid #d1495b; }
button:hover, .button:hover {
  background-color: #b03c4a;
  transition: background-color 0.3s ease;
}
.compliance-note {
  background-color: #f0f0f0;
  border-left: 2px solid #999999;
  padding: 12px 20px;
  margin: 30px auto;
  font-size: 1rem;
  color: #333333;
  max-width: 800px;
  text-align: left;
  box-sizing: border-box;
}

/* Table Styles */
table {
  border-collapse: collapse;
  margin-bottom: 1em;
}
td { padding: 4px 12px 4px 0; vertical-align: top; }
section table {
  border-collapse: collapse;
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}
section th {
  text-align: left;
  font-size: 1.2em;
  padding-bottom: 10px;
}
section td { padding: 4px 8px; }
@media (max-width: 600px) {
  section table { max-width: 100%; }
}

/* Misc utility */
.sr-only,
.visually-hidden {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.tagline { text-align: center; margin: 30px auto; }

/* ========== BUTTON GROUPS, OTHER FLEX ========== */
.exterior-buttons,
.button-group,
.button-container,
.interior-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.exterior-buttons { align-items: flex-end; }
.exterior-buttons .button,
.button-group .button {
  min-width: 220px;
  text-align: center;
  padding: 10px 20px;
  width: 260px;
}

/* ========== BADGES ========== */
.header-badges-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  margin: 12px 0 0 0;
}
.badge {
  display: inline-block;
  background: #fff;
  color: #174a85;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 18px;
  font-size: 1em;
  box-shadow: 0 1px 4px #eee;
  letter-spacing: 0.5px;
  margin-bottom: 0;
  border: 1px solid #eaeaea;
}
.highlight-nav {
  animation: pulse-nav 1.4s cubic-bezier(.66,0,.34,1) infinite alternate;
  border-radius: 6px;
  background: #fff8f0;
  color: #d2691e !important;
  font-weight: 800;
  transition: background 0.22s;
}

/* ========== GALLERY BUTTONS ========== */
.gallery-label-btn {
  display: inline-block;
  margin: 0 auto 6px auto;
  padding: 7px 26px;
  font-size: 1.06em;
  color: #fff;
  background: #206ad6;
  border: none;
  border-radius: 20px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px #dde6ef66;
  letter-spacing: 0.5px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: background 0.18s, transform 0.14s;
  animation: labelPulse 1.4s infinite alternate;
}
.gallery-label-btn:hover,
.gallery-label-btn:focus {
  background: #174a85;
  transform: scale(1.06);
}

/* ========== ANIMATIONS FOR SPECIAL ELEMENTS ========== */
/*
.fade-in {
  opacity: 0;
  transform: scale(0.5);
  animation: fadeInScale 2.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
*/

/* ========== GLOWING BUTTON STYLE FOR ALL MAIN ACTION BUTTONS ========== */
.service-link,
.about-btn,
.gallery-label-btn,
.cta-btn,
.button {
  background: #206ad6;
  color: #fff;
  border-radius: 24px;
  font-weight: 700;
  box-shadow: 0 0 16px #89bdfc;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
  text-decoration: none;
  padding: 11px 30px;
  display: inline-block;
}

.service-link:hover,
.about-btn:hover,
.gallery-label-btn:hover,
.cta-btn:hover,
.button:hover {
  background: #174a85;
  color: #fff;
  box-shadow: 0 0 32px #206ad6, 0 2px 20px #9dc9fc;
  transform: scale(1.06);
}

  .service-card {
    width: 95vw;
    max-width: 350px;
    padding: 16px 6px;
  }
  .about-section,
  .why-choose-us,
  .cta-banner,
  .services-section,
  .contact-section,
  .exterior-section,
  .interior-section,
  .roofing-section,
  .learn-more-section {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  footer {
    padding: 28px 6vw 16px 6vw;
    border-radius: 12px 12px 0 0;
    font-size: 1rem;
  }
  .header-badges-vertical {
    gap: 0.3em;
    margin-top: 8px;
  }


/* Make buttons stack on mobile */
@media (max-width: 520px) {
  .gallery-nav,
  .button-group,
  .exterior-buttons,
  .interior-buttons,
  .button-container {
    flex-direction: column !important;
    gap: 9px;
    align-items: center !important;
  }
  .cta-btn,
  .button,
  .about-btn,
  .gallery-label-btn,
  .service-link {
    width: 90vw;
    max-width: 350px;
    font-size: 1rem;
    padding: 12px 0;
    text-align: center;
  }
}

.reviews-section {
  background: #f8f9fb;
  padding: 2.5rem 1.5rem;
  margin-top: 2rem;
  border-radius: 1.25rem;
  box-shadow: 0 2px 12px rgba(30, 44, 60, 0.06);
  text-align: center;
}


.masonry-gallery {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.masonry-link {
  text-align: center;
  margin: 20px 0;
}

@media (max-width: 520px) {
  .cta-btn-large {
    width: auto;
  }
}

@media (max-width: 520px) {
  * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;  }
}

.mobile-note {
  display: none;
  font-size: 0.95rem;
  color: #555;
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 520px) {
  .mobile-note {
    display: block;
  }
}


/* ============================
   LINK STYLE — WHITE + ORANGE + PULSE
   ============================ */

.link-style {
  display: inline-block !important;
  background: #ffffff !important;
  border: 2px solid #ff9900 !important;
  color: #ff9900 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-weight: bold !important;
  text-decoration: underline !important;
  animation: pulse 1.6s infinite !important;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.55; }
  100% { opacity: 1; }
}

/* ============================================================
   BADGE LINK STYLE (US + ES)
   Used for: Header Contact, Ver en Español, Service links,
   and all project links (Exterior / Interior / Masonry / Roofing)
   - White pill background
   - Blue text
   - Soft border
   - Soft outward pulse animation
   ============================================================ */

.badge {
  display: inline-block;
  background: #fff;
  color: #174a85;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 18px;
  font-size: 1em;
  box-shadow: 0 1px 4px #eee;
  letter-spacing: 0.5px;
  margin-bottom: 0;
  border: 1px solid #eaeaea;
  animation: pulse-nav 1.4s cubic-bezier(.66,0,.34,1) infinite alternate;
}

/* Pulse animation for badge links */
@keyframes pulse-nav {
  0% { box-shadow: 0 0 0 0 #d2691e77; }
  70% { box-shadow: 0 0 0 8px #d2691e22; }
  100% { box-shadow: 0 0 0 0 #d2691e00; }
}

/* Remove bullets from Learn More links */
.learn-more-links,
.learn-more-links a {
  list-style: none !important;
  list-style-type: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}



/* You can add more styles here later */
