/* ===== Google Fonts ===== */
/* Temporarily disabled for offline development - using system fonts instead */
/*
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v21/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/poppins/v21/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
*/

/* Fallback to system fonts */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== Reset & Base Styles ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #000000;
  --primary-dark: #333333;
  --primary-light: #666666;
  --secondary: #f23805;
  --secondary-dark: #6b3410;
  --dark-navy: #0d2347;
  --dark: #1a1a1a;
  --gray-100: #f8f8f8;
  --gray-200: #f0f0f0;
  --gray-300: #e5e5e5;
  --gray-400: #999999;
  --gray-500: #666666;
  --gray-600: #444444;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-600);
  background-color: var(--white);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  min-height: 44px; /* Accessibility: Minimum touch target size */
  min-width: 44px; /* Accessibility: Minimum touch target size */
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--secondary);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background-color: var(--gray-100);
}

.btn-full {
  width: 100%;
}

/* ===== Top Bar ===== */
.top-bar {
  background-color: var(--dark);
  padding: 10px 0;
}

.top-bar-content {
  display: flex;
  justify-content: flex-start;
}

.contact-info {
  font-size: 14px;
  color: var(--white);
}

.contact-info a {
  color: var(--white);
  padding: 8px 5px; /* Increased padding for better touch targets */
  margin: 0 2px;
  display: inline-block;
  min-height: 44px; /* Accessibility: Minimum touch target size */
  min-width: 44px; /* Accessibility: Minimum touch target size */
  line-height: 1.2;
  text-align: center;
}

.contact-info a:hover {
  color: var(--secondary);
}

.contact-info .separator {
  margin: 0 15px;
  color: var(--gray-400);
}

/* ===== Header ===== */
.header {
  background-color: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-primary {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
}

.logo-secondary {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark); /* Improved contrast */
  padding: 12px 16px;
  position: relative;
  min-height: 44px; /* Accessibility: Minimum touch target size */
  min-width: 44px; /* Accessibility: Minimum touch target size */
  display: flex;
  align-items: center;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.btn-quote {
  background-color: var(--secondary);
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 6px;
}

.nav-link.btn-quote:hover {
  background-color: var(--secondary-dark);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-image: url('/img/roofing-pvc-membrane-hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 60px 0;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  line-height: 1.7;
}

.logo {
  display: flex;
  flex-direction: row; /* Changed from column to row */
  align-items: center; /* Added */
  gap: 10px; /* Added */
  line-height: 1.2;
}

.logo-text {
  display: flex;
  flex-direction: column; /* Added to stack the two text parts */
  line-height: 1.2;
}

/* ===== Section Styles ===== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
  color: var(--white);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-500);
}

/* ===== Quality Assurance Section ===== */
#quality {
  background-color: var(--white);
  padding: 60px 0;
}

#quality .about-content {
  gap: 40px;
  align-items: center;
}

#quality .about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

#quality .about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

#quality .about-image > div {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 8px;
  z-index: 10;
  max-width: 80px;
}

#quality .about-image > div img {
  width: 100%;
  height: auto;
  max-width: 55px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

#quality .about-image > div p {
  margin: 8px 0 0;
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

#quality .about-text {
  flex: 1;
}

#quality .about-text > div:first-child {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}

#quality .about-text h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

#quality .about-text p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-500);
  margin-bottom: 10px;
}

#quality .about-text > div:last-child {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

#quality .about-text > div:last-child > div {
  background: var(--gray-100);
  padding: 15px;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

#quality .about-text > div:last-child > div:first-child {
  border-left: 3px solid #0066cc;
}

#quality .about-text > div:last-child > div:nth-child(2) {
  border-left: 3px solid #28a745;
}

#quality .about-text > div:last-child > div > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

#quality .about-text > div:last-child > div img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

#quality .about-text > div:last-child > div h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  margin: 0;
}

#quality .about-text > div:last-child > div p {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {

  #quality .about-text {
  align-items: center;
  text-align: center;
}

  #quality .about-image > div {
    top: 10px;
    right: 10px;
    padding: 6px;
    max-width: 60px;
  }
  #quality .about-image > div img {
    max-width: 40px;
  }
  #quality .about-image > div p {
    font-size: 7px;
    margin-top: 5px;
  }
}

/* ===== About Section ===== */
.about {
  padding: 60px 0; /* slightly reduced */
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; /* slightly tighter */
  align-items: center;
}

.about-text h3 {
  font-size: 20px;   /* was 24px */
  font-weight: 500; /* lighter */
  color: var(--dark);
  margin-bottom: 14px;
}

.about-text p {
  font-size: 14px;  /* add this */
  line-height: 1.6; /* tighter, cleaner */
  margin-bottom: 10px;
  color: var(--gray-500);
}

.about-image img {
  border-radius: 8px; /* slightly reduced */
  box-shadow: var(--shadow-lg);
}


/* ===== Products Section ===== */
.products {
  padding: 40px 0;
  background-color: var(--gray-100);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 per row */
  gap: 16px;
  margin-bottom: 24px;
}

.product-card {
  background-color: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.product-image {
  height: 120px;
  overflow: hidden;
}

.product-content {
  padding: 12px;
}

.product-content h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.product-content p {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.product-link {
  font-size: 12px;
  padding: 6px 0;
}

.products-cta {
  text-align: center;
  margin-top: 20px;
}




/* ===== CTA Section ===== */
.cta-section {
  padding: 60px 0; /* was 80px */
  background-color: var(--secondary);
  text-align: center;
}

.cta-content h2 {
  font-size: 24px; /* was 32px */
  font-weight: 600; /* lighter */
  color: var(--primary);
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 14px; /* was 16px */
  color: var(--primary);
  max-width: 600px; /* was 700px */
  margin: 0 auto 20px; /* was 30px */
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 10px; /* was 15px */
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Services Section (Minimal) ===== */
.services {
  padding: 40px 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 per row */
  gap: 16px;
  margin-bottom: 24px;
}

.service-card {
  background-color: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.service-image {
  height: 120px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 12px;
}

.service-content h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.service-content p {
  font-size: 12px;
  line-height: 1.4;
}

.services-cta {
  margin-top: 20px;
  text-align: center;
}

/* ===== Why Choose Us Section (Minimal) ===== */
.why-choose {
  padding: 50px 0; /* was 80px */
  background-color: var(--gray-100);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px; /* was 25px */
}

.feature-card {
  background-color: var(--white);
  padding: 20px; /* was 30px */
  border-radius: 8px; /* was 10px */
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-2px); /* was -5px */
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 50px; /* was 60px */
  height: 50px; /* was 60px */
  border-radius: 50%;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px; /* was 20px */
  color: var(--white);
}

.feature-card h3 {
  font-size: 14px; /* was 16px */
  font-weight: 500; /* lighter */
  color: var(--dark);
  margin-bottom: 6px; /* was 10px */
}

.feature-card p {
  font-size: 13px; /* was 14px */
  color: var(--gray-500);
  line-height: 1.4; /* slightly tighter */
}

/* ===== Industries Section (Minimal) ===== */
.industries {
  padding: 50px 0; /* was 80px */
  background-color: var(--white);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px; /* was 25px */
}

.industry-card {
  background-color: var(--white);
  padding: 20px 12px; /* was 30px 20px */
  border-radius: 8px; /* was 10px */
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.industry-card:hover {
  transform: translateY(-2px); /* was -5px */
  box-shadow: var(--shadow);
  border-color: var(--secondary);
}

.industry-icon {
  color: var(--gray-600);
  margin-bottom: 10px; /* was 15px */
  font-size: 20px; /* optional, slightly smaller for minimal style */
}

.industry-card h3 {
  font-size: 14px; /* was 16px */
  font-weight: 500; /* lighter */
  color: var(--dark);
  margin-bottom: 4px; /* was 5px */
}

.industry-card p {
  font-size: 12px; /* was 13px */
  color: var(--gray-400);
  line-height: 1.4;
}


/* ===== Mission & Vision Section ===== */
.mission-vision {
  padding: 50px 0; /* was 80px */
  background: linear-gradient(135deg, var(--dark-navy) 0%, #1a3a6b 100%);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.mission-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px; /* was 40px */
  border-radius: 8px; /* was 10px */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--white);
  color: var(--dark-navy);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.mission-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 15px;
}

.mission-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact {
  padding: 80px 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.contact-info-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 5px;
}

.contact-details p {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0;
}

.contact-details a {
  color: var(--gray-500);
  padding: 12px 16px; /* Increased padding for touch targets */
  margin: 4px 0;
  display: inline-block;
  min-height: 44px; /* Accessibility: Minimum touch target size */
  min-width: 44px; /* Accessibility: Minimum touch target size */
  line-height: 1.4;
  text-align: left;
}

.contact-details a:hover {
  color: var(--secondary);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
}

.contact-form-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: flex;
  overflow: hidden;
}

.contact-form-card iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(199, 70, 70, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== Reviews Section ===== */
.reviews {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary) 0%, #d4575e 50%, var(--dark-navy) 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.review-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.stars {
  color: #ffc107;
  font-size: 18px;
  margin-bottom: 15px;
}

.stars span {
  margin-right: 2px;
}

.review-text {
  font-size: 15px;
  color: var(--white);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reviewer-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.reviewer-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.reviewer-info h3 {
 color: #ffffff;
}

.reviewer-info span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== FAQ Section ===== */
.faq {
  padding: 80px 0;
  background-color: var(--gray-100);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background-color: var(--secondary);
  border: none;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px; /* Accessibility: Minimum touch target size */
}

.faq-question span:first-child {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
  text-align: left;
}

.faq-icon {
  font-size: 24px;
  color: var(--primary);
  font-weight: 300;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--secondary-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 20px 25px;
  background-color: var(--white);
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ===== Footer ===== */
.footer {
  background-color: var(--primary);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  padding-right: 20px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.footer-logo .logo-primary {
  color: var(--white);
}

.footer-logo .logo-secondary {
  color: var(--secondary);
}

.footer-brand p {
  font-size: 14px;
  color: var(--white);
  line-height: 1.7;
}

.footer-links h3,
.footer-links h4,
.footer-contact h3,
.footer-contact h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 6px;
}

.footer-links ul li a {
  font-size: 14px;
  color: var(--white);
  padding: 8px 0;
  display: inline-block;
  min-height: 44px; /* Accessibility: Minimum touch target size */
  text-decoration: none;
}

.footer-links ul li a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--white);
}

.footer-contact ul li svg {
  flex-shrink: 0;
}

.footer-contact ul li a {
  color: var(--white);
  text-decoration: none;
}

.footer-contact ul li a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--white);
}

.footer-bottom a {
  color: var(--white);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ===== Scroll To Top & Header Sticky ===== */
.scroll-to-top {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 1100;
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Make header sticky only on desktop */
header {
  position: relative;
  top: auto;
}
@media (min-width: 769px) {
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
}

/* ===== Accessibility Focus Styles ===== */
.btn:focus,
.nav-link:focus,
.product-link:focus,
.faq-question:focus,
.contact-details a:focus,
.contact-info a:focus,
.footer-links ul li a:focus,
.footer-contact ul li a:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ===== Skip Link for Screen Readers ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--secondary);
  color: var(--primary);
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 4px;
}

.skip-link:focus {
  top: 6px;
}
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

.mission-card {
  align-items: center;
  text-align: center;
}

  .top-bar-content {
    justify-content: center;
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  /* Make products grid stack on small screens */
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .product-image {
    height: 200px;
  }

  .mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: auto;
    max-height: 70vh;
    background-color: var(--white);
    padding: 80px 30px 30px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav.active ~ .mobile-overlay {
    display: block;
  }

  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
    transition: opacity 0.3s ease;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    padding: 10px;
    display: none; /* Controlled by JavaScript */
    z-index: 1000;
    transition: color 0.3s ease;
  }

  .close-menu-btn:hover {
    color: var(--primary);
  }

  .nav-link.btn-quote {
    width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card iframe {
    width: 100%;
    height: 300px;
  }

  .hero {
    background-image: url('/img/roofing-pvc-membrane-mobile.webp');
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    padding-right: 0;
    text-align: center;
  }

  .footer-brand .footer-logo {
    justify-content: center;
  }

  .footer-brand p {
    text-align: center;
  }

  .footer-contact ul li {
    justify-content: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .section-title {
    font-size: 28px;
  }

  .cta-content h2 {
    font-size: 26px;
  }

  /* Center all text and images on mobile */
  h1, h2, h3, h4, h5, h6, p {
    text-align: center;
  }

  img {
    margin: 0 auto;
    display: block;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-icon {
    margin-bottom: 10px;
  }

  .social-links {
    justify-content: center;
  }

  .product-content {
  align-items: center;
  text-align: center;
}
}

@media (max-width: 480px) {
  .contact-info {
    font-size: 12px;
    text-align: center;
  }

  .contact-info .separator {
    display: block;
    margin: 5px 0;
  }

  .hero {
    min-height: 400px;
    background-image: url('/img/roofing-pvc-membrane-mobile.webp');
  }

  .hero-title {
    font-size: 28px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
    display: block;
    margin: 0 auto;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }
}
