/* ==========================================================================
   B2B Industrial - Main Stylesheet
   ==========================================================================
   Author: Khushaank Gupta
   Last Updated: 2025-10-06
   Description: A comprehensive stylesheet for the B2B Industrial website,
                covering global styles, a full component library, and
                responsive design.
   ==========================================================================

   TABLE OF CONTENTS
   -----------------
   1.  Global Styles & Variables
   2.  Animations & Utilities
   3.  General Layout (Sections, Containers, Page Headers)
   
   4.  CORE COMPONENTS
       - Hero Slider / Banner
       - Service Cards & Grid
       - Client Logo Grid & Filters
       - Testimonials
       - Forms (Contact & Sidebar Quote Form)

   5.  HOME PAGE COMPONENTS
       - About Section (Intro)
       - Stats Section
       - Founder Section

   6.  SERVICE PAGES COMPONENTS
       - Service Detail Layout (Content/Sidebar)
       - Feature & Process Sections
       - Technology Showcase & Partner Brands
       - Image Galleries & Specific Layouts
       - Page-Specific Header Backgrounds

   7.  MODALS
       - Client List Modal
       - Founder Modal

   8.  Responsive Design

   ========================================================================== */

/* ==========================================================================
   1. Global Styles & Setup
   ========================================================================== */
:root {
  --primary-blue: #003366;
  --primary-green: #007634;
  --accent-lightgreen: #007634;
  --dark-text: rgb(7, 8, 8);
  --light-text: #555;
  --background-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #dee2e6;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: auto;
  min-height: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--light-text);
  background-color: var(--white);
  margin: 0;
}

::selection {
  background: #15491c;
  color: black;
  text-shadow: none;
  color: whitesmoke;
}

::-moz-selection {
  background: #15491c;
  color: black;
  text-shadow: none;
  color: whitesmoke;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  /* This adds the space you need on the right (and left) */
  padding: 0 20px;
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h6 {
  color: var(--dark-text);
  font-weight: 600;
}

p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.btn-primary {
  background: var(--primary-green);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover {
  background: #007a3c;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
     2. Scroll & General Animations
     ========================================================================== */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
     3. Hero Banner / Slider
     ========================================================================== */
.banner {
  position: relative;
  overflow: hidden;
  background: #333;
}
.slider-container {
  width: 100%;
  height: 100%;
}
.item {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease, transform 1.2s ease;
  visibility: hidden;
  transform: scale(1.05);
}
.item.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0; /* Remove the left padding that pushes text to the side */
  text-align: center;
  padding-right: 20px;
}
.header-content {
  color: #ffffff;
  max-width: 650px;
  animation: fadeInUp 1s ease-out forwards;
}
.header-content h2 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
  color: rgb(255, 255, 255);
}
.header-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  transition: all 0.3s;
}
.slider-nav:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
}
.slider-nav.prev {
  left: 20px;
}
.slider-nav.next {
  right: 20px;
}

/* ==========================================================================
     4. General Page Sections
     ========================================================================== */
.page-header {
  background: var(--primary-blue);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-header h1 {
  font-size: 2.8rem;
  color: var(--white);
}
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.section-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ==========================================================================
     5. Stats Section
     ========================================================================== */
.stats-section {
  background: var(--background-light);
  padding: 40px 0;
}
.stats-section .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}
.stat-item {
  text-align: center;
}
.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary-green);
  font-weight: 700;
}
.stat-item p {
  color: var(--dark-text);
  font-weight: 500;
  margin: 0;
}

/* ==========================================================================
     6. Client Filters & Logos
     ========================================================================== */
.page-content-section .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.main-content {
  flex: 2;
  min-width: 300px;
}
.sidebar {
  flex: 1;
  min-width: 300px;
}
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}
.filter-btn {
  background-color: #fff;
  color: var(--primary-blue);
  border: 1px solid #ddd;
  padding: 10px 22px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}
.filter-btn:hover {
  background-color: #f0f0f0;
  border-color: #ccc;
}
.filter-btn.active {
  background-color: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
}
.logo-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}
.logo-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.4s ease;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.logo-card.hide {
  display: none;
}
.logo-card img {
  display: block;
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.logo-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 51, 102, 0.85);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease;
}
.logo-card:hover {
  transform: scale(1.04) translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 51, 102, 0.2);
}
.logo-card:hover .logo-card-overlay {
  opacity: 1;
  transform: translateY(0);
}
.logo-card-overlay h6 {
  color: #ffffff;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.logo-card-trigger {
  background: linear-gradient(145deg, var(--primary-green) 0%, #005a27 100%);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 160px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(0, 118, 52, 0.2);
  position: relative;
  overflow: hidden;
}

/* Add a subtle icon or glow effect on hover */
.logo-card-trigger::before {
  content: "\f0fe"; /* FontAwesome Plus Icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  right: -10px;
  bottom: -10px;
  transition: all 0.4s ease;
}

.logo-card-trigger:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 118, 52, 0.4);
  background: linear-gradient(145deg, #008a3d 0%, var(--primary-green) 100%);
}

.logo-card-trigger:hover::before {
  color: rgba(255, 255, 255, 0.2);
  transform: scale(1.2) rotate(-10deg);
}

.logo-card-trigger h6 {
  font-size: 1.25rem;
  color: #ffffff !important; /* Force white for visibility */
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 1;
}

.logo-card-trigger p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0;
  line-height: 1.4;
  font-weight: 400;
  z-index: 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .logo-card-trigger {
    height: 130px;
  }
}
/* ==========================================================================
     7. Testimonials Section
     ========================================================================== */
.testimonials-section {
  background-color: var(--background-light);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--primary-green);
  position: relative;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.testimonial-card .fa-quote-left {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 2.5rem;
  color: var(--primary-green);
  opacity: 0.1;
}
.testimonial-card blockquote {
  border: none;
  padding: 0;
  margin: 0 0 15px 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--light-text);
  background-color: transparent;
}
.testimonial-author {
  font-weight: 600;
  color: var(--dark-text);
  font-size: 0.95rem;
  text-align: right;
}

/* ==========================================================================
     8. Founder Section & Modal
     ========================================================================== */
.founder-section {
  background: var(--primary-blue);
  padding: 60px 20px;
  text-align: center;
  color: #fff;
}
.founder-section .container {
  max-width: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.founder-image img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.founder-text {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px 25px;
  text-align: left;
}
.founder-text h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 15px;
}
.founder-text .quote {
  font-style: italic;
  color: #f1f1f1;
  margin-bottom: 15px;
}
.founder-text .name {
  font-weight: 600;
  color: #ffdd57;
  text-align: right;
  font-size: 0.95rem;
}
.founder-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--primary-blue);
  color: #fff;
  overflow: auto;
  z-index: 10000;
  padding: 20px;
  transition: opacity 0.3s ease;
}
.founder-modal.active {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* CHANGED: Aligns content to the top */
  padding-top: 5vh; /* ADDED: Adds some space from the top */
  padding-bottom: 5vh; /* ADDED: Adds space at the bottom for scrolling */
}
.founder-modal-body {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 900px;
}
.founder-modal-image img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  cursor: pointer;
  transition: transform 0.3s;
}
.founder-modal-image img:hover {
  transform: scale(1.05);
}
.founder-modal-text {
  flex: 1;
  min-width: 250px;
}
.founder-modal-text .founder-name {
  font-size: 2rem;
  font-weight: 700;
  color: #f4d03f;
  margin-bottom: 5px;
}
.founder-modal-text h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fff;
}
.founder-modal-text p {
  color: #ddd;
  margin-bottom: 10px;
  line-height: 1.6;
}
.btn-founder-connect {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  background-color: var(--primary-green);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-top: 20px;
  transition: all 0.3s;
}
.btn-founder-connect:hover {
  background-color: #007a3c;
  transform: translateY(-3px);
}

/* ==========================================================================
     9. Services Section
     ========================================================================== */
/* ==================== Services Section Improvements ==================== */
.services-section {
  background: var(--background-light);
  padding: 80px 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
} /* ==========================================================================
   9. Services Section
   ========================================================================== */
.services-section {
  background: var(--background-light);
  padding: 80px 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex; /* Added for consistent height */
  flex-direction: column; /* Added for consistent height */
}

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

.service-card .service-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 4px solid var(--primary-green);
}

.service-card-content {
  padding: 25px;
  text-align: left;
  flex-grow: 1; /* Added for consistent height */
  display: flex; /* Added for consistent height */
  flex-direction: column; /* Added for consistent height */
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary-blue);
  font-weight: 600;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: var(--light-text);
  flex-grow: 1; /* Pushes the 'Read More' link down */
}

.service-card a {
  display: inline-block;
  text-decoration: none;
  color: var(--primary-green);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease, transform 0.2s ease;
  margin-top: auto; /* Aligns link to the bottom */
}

.service-card a:hover {
  color: var(--accent-lightgreen);
  transform: translateX(5px);
}
/* ==========================================================================
     10. Team Section (NEW)
     ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.team-card-image {
  position: relative;
}
.team-card-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.team-socials {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.team-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
.team-socials a:hover {
  background-color: var(--primary-green);
  color: var(--white);
  transform: scale(1.1);
}
.team-card-content {
  padding: 25px;
}
.team-card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 5px;
}
.team-card-content p {
  font-size: 0.9rem;
  color: var(--primary-green);
  font-weight: 500;
  margin-bottom: 0;
}

/* ==========================================================================
     11. Pricing Section (NEW)
     ========================================================================== */
.pricing-section {
  background-color: var(--background-light);
}
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: center;
}
.pricing-card {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  text-align: center;
  padding: 40px;
  background: var(--white);
  transition: all 0.3s ease;
}
.pricing-card.featured {
  border-color: var(--primary-green);
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
  z-index: 1;
}
.pricing-card-header h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
}
.pricing-card-header p {
  font-size: 1rem;
  color: var(--light-text);
  min-height: 50px;
}
.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark-text);
  margin: 20px 0;
}
.price .period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--light-text);
}
.features-list {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}
.features-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}
.features-list li:last-child {
  border-bottom: none;
}
.features-list .fa-check {
  color: var(--primary-green);
  margin-right: 10px;
}

/* ==========================================================================
   12. Contact Section & Form Styles (CORRECTED)
   ========================================================================== */

/* --- Main Form Containers --- */
.contact-section {
  background: var(--background-light);
}

.contact-form,
.quote-form {
  max-width: 700px;
  margin: 0 auto;
}

/* --- Sidebar Quote Form Specifics --- */
.quote-form {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.quote-form h4 {
  text-align: center;
  margin-bottom: 25px; /* Increased space under title */
  font-size: 1.5rem;
}

/* --- General Input & Textarea Styles --- */
.contact-form input,
.contact-form textarea,
.quote-form input,
.quote-form textarea {
  display: block;
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  color: var(--dark-text);
  background-color: var(--white);
  border: 1px solid #ced4da;
  border-radius: 8px;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  /* THIS IS THE CRITICAL FIX FOR SPACING */
  margin-bottom: 1rem;
}

/* --- Placeholder Text Style --- */
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #999;
  opacity: 1;
}

/* --- Focus State --- */
.contact-form input:focus,
.contact-form textarea:focus,
.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--primary-green);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(0, 155, 77, 0.1);
}

.contact-form textarea,
.quote-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Form Buttons --- */
.contact-form button,
.quote-form button {
  margin-top: 0.5rem; /* Adds a little space above the button */
}

.quote-form .btn-primary {
  width: 100%;
}

/* ==========================================================================
     13. Client List Modal
     ========================================================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.active {
  display: block;
  opacity: 1;
}
.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 40px;
  border-radius: 10px;
  width: 90%;
  max-width: 1100px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.modal-content h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}
.modal-grid {
  max-height: 65vh;
  overflow-y: auto;
  padding-right: 15px;
}
.search-bar-container {
  position: relative;
  margin-bottom: 30px;
}
.search-bar-container .fa-search {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
}
#clientSearch {
  width: 100%;
  padding: 12px 15px 12px 40px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 50px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#clientSearch:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(0, 155, 77, 0.15);
}
.close-modal-btn,
.close-founder {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10001;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 400;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}
.close-modal-btn {
  background-color: #f1f1f1;
  color: #888;
}
.close-modal-btn:hover {
  background-color: var(--accent-lightgreen);
  color: var(--white);
  transform: rotate(90deg);
}
.close-founder {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}
.close-founder:hover {
  background-color: var(--primary-green);
  color: var(--white);
  transform: rotate(90deg);
}

/* ==========================================================================
     14. Responsive Design
     ========================================================================== */
@media (max-width: 1024px) {
  .header-content h2 {
    font-size: 2.5rem;
  }
  .header-content p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .cover {
    justify-content: center;
    text-align: center;
    padding: 0 15px;
  }
  .header-content h2 {
    font-size: 2.2rem;
  }
  .section {
    padding: 60px 0;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .founder-section .container {
    flex-direction: column;
    text-align: center;
  }
  .founder-text {
    text-align: center;
  }
  .founder-text .name {
    text-align: center;
  }
  .slider-nav.prev {
    left: 10px;
  }
  .slider-nav.next {
    right: 10px;
  }
  .page-content-section .container {
    flex-direction: column;
  }
  .logo-grid-container {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
  }
  .logo-card,
  .logo-card-trigger {
    height: 120px;
  }
  .modal-content {
    width: 95%;
    padding: 20px;
  }
  .modal-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
  .founder-modal-body {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    margin: 20px auto;
  }
  .founder-modal-image img {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }
  .founder-modal-text {
    text-align: center;
  }
  .btn-founder-connect {
    margin: 15px auto 0 auto;
  }
  .pricing-card.featured {
    transform: scale(1);
  }
  .philosophy-section .container-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .philosophy-text {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .header-content h2 {
    font-size: 1.8rem;
  }
  .header-content p {
    font-size: 0.85rem;
  }
  .section {
    padding: 50px 0;
  }
  .testimonial-card {
    padding: 20px;
  }
  .logo-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .logo-card,
  .logo-card-trigger {
    height: 110px;
  }
  .founder-modal-image img {
    width: 150px;
    height: 150px;
  }
  .founder-modal-text .founder-name {
    font-size: 1.6rem;
  }
  .founder-modal-text h4 {
    font-size: 1rem;
  }
  .stats-section .container {
    flex-direction: column;
    gap: 30px;
  }
  .stat-item h3 {
    font-size: 2rem;
  }
  .stat-item p {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
     15. Utilities
     ========================================================================== */
.text-center {
  text-align: center;
}
.mt-20 {
  margin-top: 20px;
}
.mb-20 {
  margin-bottom: 20px;
}
.pt-40 {
  padding-top: 40px;
}
.pb-40 {
  padding-bottom: 40px;
}

/* ==========================================================================
   NEW: Contact Page Specifics
   ========================================================================== */
.contact-info-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-list .icon-circle {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 155, 77, 0.3);
}

.contact-info-list strong {
  color: var(--dark-text);
  font-size: 1.1rem;
  margin-bottom: 5px;
  display: inline-block;
}

.contact-info-list a {
  text-decoration: none;
  color: black;
}

.contact-info-list small {
  display: block;
  margin-top: 5px;
  color: var(--light-text);
  font-style: italic;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  margin-top: 20px;
}

.map-container iframe {
  display: block; /* Removes any tiny space below the iframe */
}

.social-proof {
  margin-top: 30px;
  padding: 25px;
  background-color: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
}

.social-proof p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: var(--dark-text);
}

.proof-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.proof-badges img {
  max-height: 50px;
  width: auto;
}

/* ==========================================================================
   NEW: Technology & Commitment Sections
   ========================================================================== */

/* --- Technology Showcase Section --- */
.tech-showcase-section {
  background: var(--white); /* Or var(--background-light) if you prefer */
}

.section-header .subtitle {
  color: var(--primary-green);
  font-weight: 600;
  text-transform: uppercase;
  display: block;
  font-size: 0.9rem;
}

.tech-showcase-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.tech-image {
  flex: 1;
  min-width: 300px;
}

.tech-image img {
  border-radius: 10px;
  box-shadow: var(--shadow-hover);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tech-text {
  flex: 1.2; /* Give text a bit more space */
}

.tech-text h3 {
  font-size: 1.75rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.tech-text p {
  margin-bottom: 25px;
}

.tech-features {
  list-style: none;
  padding: 0;
}

.tech-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 500;
}

.tech-features .fa-check-circle {
  color: var(--primary-green);
  font-size: 1.2rem;
}
.commitment-icon {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 20px;
}

/* --- Responsive adjustments for new sections --- */
@media (max-width: 768px) {
  .tech-showcase-content {
    flex-direction: column;
    text-align: center;
  }
  .tech-text {
    margin-top: 30px;
  }
  .tech-features {
    text-align: left;
  }
}

/* hse */
/* ==========================================================================
   NEW: Service Detail Page
   ========================================================================== */

/* --- Breadcrumbs --- */
.page-header p {
  font-size: 0.9rem;
  color: var(--white);
  opacity: 0.8;
  margin: 10px 0 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Two-Column Layout --- */
.service-details .container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px; /* A bit more space between content and sidebar */
}

.service-content {
  flex: 2; /* Main content takes up more space */
  min-width: 300px;
}

/* --- Main Content Styling --- */
.service-content h2 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-content h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.service-content p {
  line-height: 1.8;
}

/* --- Checkmark List Styling --- */
.service-content ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.service-content ul .fa-check-circle {
  color: var(--primary-green);
  font-size: 1.2rem;
  margin-top: 5px; /* Aligns icon nicely with text */
}

/* --- Form <select> Styling --- */
.quote-form select {
  /* Resetting default browser styles */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* Custom Arrow using SVG */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
}

/* Style for the placeholder option */
.quote-form select:required:invalid {
  color: #999;
}
.quote-form option {
  color: var(--dark-text);
}
/* ==========================================================================
   NEW: Detailed Service Page Enhancements
   ========================================================================== */

/* --- Intro Section with Image --- */
.service-intro {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 3rem;
}

.intro-text {
  flex: 1.5;
}

.intro-image {
  flex: 1;
  min-width: 250px;
}

.intro-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-hover);
}

/* --- Feature Section --- */
.feature-section {
  margin: 3rem 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}

.feature-card {
  background: var(--background-light);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.1rem;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- Process Section --- */
.process-section {
  margin: 3rem 0;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.step {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
}

.step-content h4 {
  font-size: 1.1rem;
  color: var(--dark-text);
  margin-bottom: 0.25rem;
}

.step-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* --- Improved Form in Sidebar --- */
.quote-form h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.quote-form .form-group {
  margin-bottom: 1rem;
}

.quote-form .form-label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--dark-text);
}

.quote-form .form-control {
  padding: 12px 16px;
  font-size: 0.95rem;
  background-color: var(--background-light);
  border-color: #e0e0e0;
}

.quote-form .form-control:focus {
  background-color: var(--white);
}

/* Makes the select placeholder option gray */
.quote-form select:required:invalid {
  color: #999;
}
.quote-form option {
  color: var(--dark-text);
}

.quote-form .btn-primary.btn-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.quote-form .btn-primary .fa-arrow-right {
  transition: transform 0.3s ease;
}

.quote-form .btn-primary:hover .fa-arrow-right {
  transform: translateX(5px);
}

/* --- Responsive Adjustments for New Sections --- */
@media (max-width: 768px) {
  .service-intro {
    flex-direction: column-reverse;
  }
}

/* ==========================================================================
   NEW: Compliance Service Page Enhancements
   ========================================================================== */

/* --- Grid for Compliance Areas --- */
.compliance-grid.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.compliance-grid .feature-card {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.compliance-grid .feature-icon {
  margin-bottom: 1rem;
  text-align: center;
}

.compliance-grid h4 {
  text-align: center;
}

.compliance-grid p {
  flex-grow: 1; /* Ensures cards have same height */
  text-align: center;
}

/* --- Why Choose Us List --- */
.why-choose-us {
  margin-top: 3rem;
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.why-choose-us h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

.why-choose-us ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-choose-us li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 1.5rem;
}

.why-choose-us li:last-child {
  margin-bottom: 0;
}

.why-choose-us .fa-check-circle {
  color: var(--primary-green);
  font-size: 1.5rem;
  margin-top: 5px;
}

.why-choose-us h4 {
  font-size: 1.1rem;
  color: var(--dark-text);
  margin-bottom: 0.25rem;
}

.why-choose-us p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ==========================================================================
   NEW: HVAC Page Enhancements
   ========================================================================== */

/* --- Technology Spotlight (Re-using some classes) --- */
.tech-showcase-section {
  background-color: var(--background-light);
  padding: 40px;
  border-radius: 10px;
  margin: 3rem 0;
}

/* --- Partner Brands Section --- */
.partner-brands-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--white);
}

.partner-brands-section h3 {
  margin-bottom: 30px;
  color: var(--light-text);
  font-weight: 500;
  font-size: 1.2rem;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.logo-strip img {
  max-height: 40px; /* Adjust size as needed */
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-strip img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* ==========================================================================
   NEW: Emission Control Page Enhancements
   ========================================================================== */

/* --- Compatibility Section --- */
.compatibility-section {
  margin: 3rem 0;
  text-align: center;
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.compatibility-section h3 {
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 0;
}

.brand-image-container {
  max-width: 600px;
  margin: 1.5rem auto 0 auto;
}

.brand-image-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* --- Image Gallery Section --- */
.image-gallery-section {
  margin: 3rem 0;
}

.image-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 1.5rem;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.gallery-item img:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.03);
}

/* --- Responsive for Gallery --- */
@media (max-width: 576px) {
  .image-gallery {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NEW: Energy Audit Page Enhancements
   ========================================================================== */

/* --- Page Header with Background Image --- */
.energy-audit-header {
  position: relative;
  background-image: url("../images/Sliders/audits-bg.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Dark overlay for text readability */
.energy-audit-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 51, 102, 0.6); /* Primary blue with opacity */
  z-index: -1;
}

/* --- Dual Column for Audit Lists --- */
.dual-column-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 3rem 0;
}

.audit-column h3 {
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 0;
}

/* --- "Other Services" Section --- */
.other-services {
  background-color: var(--background-light);
  border-top: 1px solid var(--border-color);
}

.other-services .service-card-content p {
  display: none; /* Hide empty p tags in this section */
}

/* --- Responsive for Dual Columns --- */
@media (max-width: 768px) {
  .dual-column-section {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==========================================================================
   NEW: Lighting Page Enhancements
   ========================================================================== */

/* --- Page Header with Background Image --- */
.lighting-header {
  position: relative;
  background-image: url("../images/services/Lighting Project Certificate.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Dark overlay for text readability */
.lighting-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 51, 102, 0.7); /* Primary blue with opacity */
  z-index: -1;
}

/* Tweaking the generic "Why Choose Us" block for this page */
.why-choose-us p {
  margin-bottom: 0;
}

/* ==========================================================================
   NEW: Repair & Maintenance Page Enhancements
   ========================================================================== */

/* --- Page Header with Background Image --- */
.maintenance-header {
  position: relative;
  background-image: url("../images/maintain.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Dark overlay for text readability */
.maintenance-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 51, 102, 0.7); /* Primary blue with opacity */
  z-index: -1;
}

/* ==========================================================================
   Page-Specific Header Backgrounds
   ========================================================================== */

.page-header-electrical {
  /* Dark blue overlay for text readability */
  background-image: linear-gradient(
      rgba(0, 51, 102, 0.7),
      rgba(0, 51, 102, 0.7)
    ),
    /* The actual background image */ url("../images/Power Grid.png");

  background-size: cover;
  background-position: center;
}

.page-header-emission {
  /* Dark blue overlay for text readability */
  background-image: linear-gradient(
      rgba(0, 51, 102, 0.7),
      rgba(0, 51, 102, 0.7)
    ),
    /* The actual background image */ url("../images/Sliders/emission-bg.jpg");

  background-size: cover;
  background-position: center;
}

.page-header-hvac {
  /* For HVAC & Duct Cleaning */
  background-image: linear-gradient(
      rgba(0, 51, 102, 0.7),
      rgba(0, 51, 102, 0.7)
    ),
    url("../images/services/hvac-bg.png");
  background-size: cover;
  background-position: center;
}

.page-header-compliance {
  /* For Compliance Management */
  background-image: linear-gradient(
      rgba(0, 51, 102, 0.7),
      rgba(0, 51, 102, 0.7)
    ),
    url("../images/Sliders/compliance-bg.jpg");
  background-size: cover;
  background-position: center;
}

.page-header-hse {
  /* For HSE & Fire Safety */
  background-image: linear-gradient(
      rgba(0, 51, 102, 0.7),
      rgba(0, 51, 102, 0.7)
    ),
    url("../images/Sliders/hse-bg.jpg");
  background-size: cover;
  background-position: center;
}

.page-header-about {
  /* For HSE & Fire Safety */
  background-image: linear-gradient(
      rgba(0, 51, 102, 0.7),
      rgba(0, 51, 102, 0.7)
    ),
    url("../images/about.jpeg");
  background-size: cover;
  background-position: center;
}

.page-header-services {
  /* For HSE & Fire Safety */
  background-image: linear-gradient(
      rgba(0, 51, 102, 0.7),
      rgba(0, 51, 102, 0.7)
    ),
    url("https://blog.planview.com/wp-content/uploads/2022/05/iStock-1293656833.jpg");
  background-size: cover;
  background-position: center;
}

.page-header-contact {
  /* For HSE & Fire Safety */
  background-image: linear-gradient(
      rgba(0, 51, 102, 0.7),
      rgba(0, 51, 102, 0.7)
    ),
    url("../images/contztc.jpg");
  background-size: cover;
  background-position: center;
}

.page-header-clients {
  /* For HSE & Fire Safety */
  background-image: linear-gradient(
      rgba(0, 51, 102, 0.7),
      rgba(0, 51, 102, 0.7)
    ),
    url("../images/clients.png");
  background-size: cover;
  background-position: center;
}

/* ==========================================================================
   NEW: About Page - Mission/Vision, Values, Why Choose Us
   ========================================================================== */

/* --- Mission & Vision Section --- */
.mission-vision-section {
  background-color: var(--background-light);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mission-card,
.vision-card {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--primary-green);
  transition: all 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.mission-card h3,
.vision-card h3 {
  font-size: 1.6rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

/* --- Why Choose Us Section --- */
.why-choose-us-section {
  background-color: var(--white);
}

.why-choose-us-section .feature-card {
  transition: all 0.3s ease;
}

.why-choose-us-section .feature-card:hover {
  border-color: var(--primary-green);
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

/* --- Core Values Section --- */
.core-values-section {
  background-color: var(--primary-blue);
}

.core-values-section .section-header h2,
.core-values-section .section-header p {
  color: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.value-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.value-card:hover {
  background: var(--primary-green);
  transform: translateY(-10px);
}

.value-card i {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.value-card h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.value-card p {
  color: #ddd;
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* --- Responsive Adjustments for New About Sections --- */
@media (max-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   NEW: About Page Enhancements
   ========================================================================== */

/* --- Restructured About Intro Section --- */
.about-intro-section {
  background: var(--white);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.intro-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--shadow-hover);
}

.intro-text h2 {
  font-size: 2.2rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.intro-text p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.intro-text .btn-primary {
  margin-top: 1rem;
}

/* --- Responsive for Intro Section --- */
@media (max-width: 768px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .intro-image {
    margin-bottom: 30px;
  }
}

/* ==========================================================================
   NEW: Visual Polish for "Why Choose Us" Section
   ========================================================================== */

.why-choose-us-section .feature-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 30px;
  text-align: left;
  transition: all 0.3s ease;
  border-radius: 10px;
}

.why-choose-us-section .feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-green);
}

.why-choose-us-section .feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.why-choose-us-section .feature-card:hover .feature-icon {
  background-color: var(--primary-blue);
  transform: rotate(15deg) scale(1.1);
}

.why-choose-us-section .feature-card h4 {
  text-align: left;
}

.why-choose-us-section .feature-card p {
  text-align: left;
}

/* ==========================================================================
    NEW: Philosophy Section
    ========================================================================== */
.philosophy-section .container-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.philosophy-text h2 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.philosophy-founder {
  text-align: center;
  background: var(--background-light);
  padding: 40px 30px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.philosophy-founder .founder-image {
  margin: 0 auto 20px auto;
}

.philosophy-founder .founder-text .quote {
  font-style: italic;
  color: var(--light-text);
  margin-bottom: 15px;
}

.philosophy-founder .founder-text .name {
  font-weight: 600;
  color: var(--dark-text);
  text-align: center;
  font-size: 0.95rem;
}
.philosophy-founder .founder-text h4 {
  font-size: 0.9rem;
  color: var(--light-text);
  margin-bottom: 0;
}

/* ==========================================================================
    NEW: Call to Action (CTA) Section
    ========================================================================== */
.cta-section {
  background: var(--primary-blue);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section .container {
  max-width: 800px;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta-section .btn-cta {
  padding: 13px 20px;
  font-size: 1rem;
  transform: scale(1.05);
}
.cta-section .btn-cta:hover {
  background-color: var(--accent-lightgreen);
  box-shadow: 0 8px 15px rgba(0, 155, 77, 0.3);
}

/* ==========================================================================
    NEW: Featured Project Section
    ========================================================================== */
.featured-project-section {
  background: var(--background-light);
}

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

.project-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--shadow-hover);
}

.project-content .project-tag {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-content h3 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.project-details {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.project-details li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.project-details i {
  color: var(--primary-green);
  font-size: 1.2rem;
  margin-top: 5px;
}

/* ==========================================================================
   RESPONSIVE STYLES FOR NEW SECTIONS
   ========================================================================== */

/* Applying to tablets and mobile devices (768px and down) */
@media (max-width: 768px) {
  /* --- Responsive: Philosophy Section --- */
  .philosophy-section .container-grid {
    /* Stacks the two columns on top of each other */
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .philosophy-text {
    /* Centers the text when it's in a single column */
    text-align: center;
  }

  /* --- Responsive: Featured Project Section --- */
  .project-grid {
    /* Stacks the image and content on top of each other */
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-content h3 {
    font-size: 1.8rem; /* Reduces heading size for smaller screens */
  }

  /* --- Responsive: Call to Action (CTA) Section --- */
  .cta-section {
    padding: 60px 20px; /* Reduces the top/bottom padding */
  }

  .cta-section h2 {
    font-size: 2rem; /* Reduces heading size */
  }

  .cta-section p {
    font-size: 1rem; /* Reduces paragraph text size */
  }
}

/* Applying to small mobile devices (480px and down) */
@media (max-width: 480px) {
  /* --- Further refinements for small phones --- */
  .philosophy-founder {
    padding: 30px 20px;
  }

  .project-content h3 {
    font-size: 1.6rem;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }
}
/* ==========================================================================
   MOBILE & TABLET RESPONSIVE OVERHAUL
   ========================================================================== */

/* --- 1. Client Grid Responsiveness --- */
@media (max-width: 1024px) {
  .logo-grid-container {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .logo-grid-container {
    /* Adding space specifically within the grid for mobile */
    padding: 0 10px 20px 10px;
    gap: 15px;
    /* Ensures the grid stays centered and doesn't bleed off-screen */
    width: calc(100% - 10px);
  }

  .logo-card,
  .logo-card-trigger {
    /* Prevents cards from feeling "squished" against the right wall */
    margin: 0 auto;
    width: 100%;
  }

  /* Force the redesigned View All button to occupy full width if it's the odd one out */
  .logo-card-trigger {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .logo-grid-container {
    /* Smaller gap for compact screens */
    gap: 12px;
  }

  .logo-card,
  .logo-card-trigger {
    min-height: 120px;
  }

  .logo-card-trigger h6 {
    font-size: 1.1rem;
  }

  .logo-card-trigger p {
    font-size: 0.75rem;
  }

  /* Textarea and inputs often overflow on small phones */
  .quote-form {
    padding: 20px;
  }
}

/* --- 2. General Section Responsiveness --- */
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  /* Stack main content and sidebar */
  .page-content-section .container {
    flex-direction: column;
    gap: 30px;
  }

  .main-content,
  .sidebar {
    width: 100%;
    flex: none;
  }

  /* Testimonials styling for mobile */
  .testimonial-card {
    padding: 25px;
  }

  .testimonial-card blockquote {
    font-size: 0.95rem;
  }
}

/* --- 3. Fixing the "Fatal" Text Clipping --- */
.logo-card img {
  max-width: 90%; /* Ensure logos don't touch edges */
  height: auto;
  object-fit: contain;
}

/* Ensure the modal grid is also responsive */
.modal-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
}
/* --- Sidebar Fix --- */
@media (max-width: 1024px) {
  .page-content-section .container {
    display: flex;
    flex-direction: column;
    /* Consistent right-side alignment for the sidebar */
    align-items: center;
  }
}
/* ==================================================
   BANNER RESPONSIVE OVERRIDES (SAFE TO APPEND)
   ================================================== */

.banner {
  min-height: 420px;
  height: clamp(420px, 75vh, 720px);
}

/* Force slider + image to fully fill banner */
.slider-container,
.item,
.item img {
  width: 100%;
  height: 100%;
}

/* Better content alignment */
.cover {
  padding-left: 0;
  padding-right: 0;
}

.cover .container {
  display: flex;
  align-items: center;
  justify-content: center; /* Ensures the header-content box is centered */
  height: 100%;
}

.header-content {
  margin: 0 auto; /* Centers the block if a max-width is applied */
  text-align: left; /* Ensures the text itself is centered */
}

/* ---------- Tablet & Mobile ---------- */
@media (max-width: 768px) {
  .banner {
    height: 70vh;
    min-height: 380px;
  }

  .cover {
    text-align: center;
    padding: 0 16px;
  }

  .header-content {
    max-width: 100%;
  }

  .header-content h2 {
    font-size: 2rem;
    line-height: 1.25;
  }

  .header-content p {
    font-size: 0.95rem;
  }
}

/* ---------- Small Phones ---------- */
@media (max-width: 480px) {
  .banner {
    height: 65vh;
    min-height: 340px;
  }

  .header-content h2 {
    font-size: 1.6rem;
  }

  .header-content p {
    font-size: 0.85rem;
  }
}
/* ===============================
   CLEAN SLIDER ARROWS (SEAMLESS)
   =============================== */

.slider-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  color: #fff;
  font-size: 1rem;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.slider-nav:hover {
  background: var(--primary-green);
}

/* Position closer to edges */
.slider-nav.prev {
  left: 12px;
}

.slider-nav.next {
  right: 12px;
}

/* Mobile touch optimization */
@media (max-width: 768px) {
  .slider-nav {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .slider-nav.prev {
    left: 8px;
  }

  .slider-nav.next {
    right: 8px;
  }
}
@media (max-width: 480px) {
  .header-content p {
    line-height: 1.5;
  }
}
/* ==========================================================================
   Repair & Maintenance - Icon Color Override
   ========================================================================== */

/* Targets the feature icons on the Repair & Maintenance page specifically */
.maintenance-header ~ .section .feature-icon,
.maintenance-header ~ .section .tech-features .fa-check-circle {
  color: #000000 !important;
}

/* If you also want the step numbers in the process section to be black */
.maintenance-header ~ .section .step-number {
  background: #000000 !important;
  color: #ffffff; /* Keeps the number white inside the black circle */
}

/* Targets the icon specifically if you add a unique class to it in HTML */
.repair-maintenance-black-icon {
  color: #000000 !important;
}
.error-container {
  padding: 100px 20px;
  text-align: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.error-code {
  font-size: 8rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
}
.error-code span {
  color: var(--primary-green);
}
.error-message {
  font-size: 1.5rem;
  color: var(--dark-text);
  margin-bottom: 30px;
  max-width: 600px;
}
.error-visual {
  font-size: 4rem;
  color: #eee;
  margin-bottom: 20px;
}
.back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   Custom Context Menu Styles (Matching B2B Industrial Branding)
   ========================================================================== */
.context-menu {
  width: 200px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.context-menu-list {
  list-style: none;
  padding: 5px 0;
  margin: 0;
}

.context-menu-list li {
  padding: 10px 15px;
  font-size: 0.9rem;
  color: var(--dark-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.context-menu-list li i {
  color: var(--primary-blue); /* Professional Blue */
  width: 18px;
  text-align: center;
}

.context-menu-list li:hover {
  background-color: var(--background-light);
  color: var(--primary-green); /* Industrial Green */
}

.context-menu-list li:hover i {
  color: var(--primary-green);
}

.menu-separator {
  height: 1px;
  background: #eee;
  margin: 5px 0;
  padding: 0 !important;
  cursor: default !important;
}

/* ==========================================================================
   Search Modal Styling & Shortcut Display
   ========================================================================== */

/* The Modal Overlay */
#clientsModal {
  display: none; /* Hidden by default */
  position: fixed;
  inset: 0; /* Full screen */
  width: 100%;
  height: 100%;
  background-color: rgba(0, 51, 102, 0.85); /* Dark B2B Blue */
  backdrop-filter: blur(5px); /* Modern polish */
  z-index: 11000; /* Stays above header and custom menu */
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Visibility State (Triggered by Ctrl+K) */
#clientsModal.active {
  display: flex !important; /* Force flex for centering */
  opacity: 1;
}

/* Modal Content Box */
#clientsModal .modal-content {
  background: var(--white);
  margin: auto; /* Centered with flex */
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

#clientsModal.active .modal-content {
  transform: translateY(0);
}

/* Visual Ctrl + K Hint inside Search Bar */
.search-bar-container {
  position: relative;
  margin-top: 20px;
}

.search-bar-container::after {
  content: "ESC to close";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--background-light);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--light-text);
  font-weight: 600;
  pointer-events: none;
}
/* Ensure the Modal is centered and visible when 'active' */
#clientsModal {
  display: none; /* Default hidden */
  position: fixed;
  inset: 0;
  z-index: 12000; /* Must be higher than the header (5000) */
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}

#clientsModal.active {
  display: flex !important; /* Forces visibility */
}

/* Modal Content Box */
#clientsModal .modal-content {
  background: white;
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Hide custom context menu styling on mobile */
@media (max-width: 1024px) {
  .context-menu {
    display: none !important;
  }
}
/* ==========================================================================
   Search Modal & Context Menu Overrides
   ========================================================================== */

/* 1. Modal Display Logic */
#clientsModal {
  display: none; /* Hidden until .active added */
  position: fixed;
  inset: 0;
  z-index: 12000; /* Above all */
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

#clientsModal.active {
  display: flex !important; /* Force visibility */
}

/* 2. Responsive Rule for Ultra-Small Screens */
@media (max-width: 300px) {
  body {
    background-color: #ffffff !important; /* Forces screen white */
  }
  /* Hide main content to ensure pure white screen if desired */
  main {
    opacity: 0;
  }
}

/* 3. Hide Context Menu on Tablet/Mobile */
@media (max-width: 1024px) {
  .context-menu {
    display: none !important;
  }
}
/* header.css */
.nav-overlay {
  position: fixed;
  inset: 0;
  top: var(--header-height); /* Keeps the logo visible as requested */
  background: rgba(0, 0, 0, 0.5);
  z-index: 5400; /* Stays behind the main-nav (5500) but above content */
  display: none;
}

body.nav-open .nav-overlay {
  display: block;
}
/* ==========================================================================
   END OF FILE
   ========================================================================== */
