/* ============================================
   EPS - Bold Industrial Modern Style
   Color Palette:
   - Dark: #121319
   - Orange: #F9620D
   - Teal: #0FD1DD
   - White: #FFFFFF
   - Light Gray: #F5F5F5
   - Text Dark: #222222
   - Text Gray: #666666
   ============================================ */

/* ============================================
   GLOBAL RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

:root {
    --dark: #121319;
    --orange: #F9620D;
    --teal: #0FD1DD;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-dark: #222222;
    --text-gray: #666666;
    --text-light: #999999;
    
    /* Logo gradients for icons */
    --gradient-fire: linear-gradient(135deg, #FF6B35 0%, #F9620D 100%);
    --gradient-water: linear-gradient(135deg, #0FD1DD 0%, #0093a0 100%);
}

body {
    font-family: 'Montserrat', 'Raleway', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

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

.text-white {
    color: var(--white) !important;
}

.text-orange {
    color: var(--orange);
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

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

.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--orange);
}

.section-title p {
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 1.1rem;
}

/* Background variants */
.bg-white {
    background: var(--white);
}

.bg-light {
    background: var(--light-gray);
}

.bg-dark {
    background: var(--dark);
    color: var(--white);
}

.bg-dark h2,
.bg-dark h3,
.bg-dark p {
    color: var(--white);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: none;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(18, 19, 25, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 140px;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: all 0.3s ease;
}

.navbar.scrolled .container {
    height: 80px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1001;
}

.navbar-brand img {
    height: 110px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 70px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.navbar-menu > a,
.navbar-menu .nav-item > a {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: color 0.3s ease;
}

.navbar-menu > a:hover,
.navbar-menu .nav-item > a:hover {
    color: var(--orange);
}

.navbar-menu > a.active,
.navbar-menu .nav-item > a.active {
    color: var(--orange);
}

.navbar-cta {
    margin-left: 20px;
}

/* Ensure navbar CTA button is always visible */
.navbar-cta.btn-primary {
    background: var(--orange);
    color: var(--white) !important;
    border-color: var(--orange);
}

.navbar-cta.btn-primary:hover {
    background: #e0580a; /* Darker orange */
    color: var(--white) !important;
    border-color: #e0580a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 98, 13, 0.4);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Dropdown Navigation */
.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item .fa-chevron-down {
    font-size: 10px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark);
    min-width: 220px;
    padding: 15px 0;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-top: 2px solid var(--orange);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-top: 0;
}

.dropdown a {
    display: block;
    padding: 10px 25px;
    color: var(--white);
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.dropdown a:hover {
    background: rgba(249, 98, 13, 0.1);
    color: var(--orange);
    padding-left: 30px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .navbar-brand img {
        height: 77px; /* 30% smaller than 110px */
    }
    
    .navbar.scrolled .navbar-brand img {
        height: 50px; /* 30% smaller than 70px */
    }
    
    .navbar-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px 20px;
        gap: 25px;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-menu a {
        font-size: 16px;
    }

    .navbar-cta {
        margin-left: 0;
        width: 100%;
    }

    .mobile-toggle {
        display: block;
        position: relative;
        top: -8px; /* Align with logo text center */
        z-index: 1002;
        transition: all 0.3s ease;
    }
    
    .toggle-icon {
        display: inline-block;
    }
    
    .toggle-icon-open {
        display: inline-block;
    }
    
    .toggle-icon-close {
        display: none;
    }
    
    .mobile-toggle.active .toggle-icon-open {
        display: none;
    }
    
    .mobile-toggle.active .toggle-icon-close {
        display: inline-block;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border-radius: 0; /* NO rounded corners */
}

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

.btn-primary:hover {
    background: #e0580a; /* Darker orange for contrast */
    color: var(--white);
    border-color: #e0580a;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

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

.btn-dark:hover {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 160px; /* Space for transparent navbar overlay */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 19, 25, 0.4), rgba(18, 19, 25, 0.7));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 35px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* ============================================
   CTA BANNER (Full-width colored strip)
   ============================================ */
.cta-banner {
    background: var(--orange);
    padding: 30px 0;
    text-align: center;
}

.cta-banner h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* ============================================
   FEATURE GRID (Services/Icons)
   ============================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px 8px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .feature-item h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    .feature-item p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 8px;
    }
    
    .navbar .container {
        padding-left: 18px;
        padding-right: 18px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .feature-item {
        padding: 10px 3px;
        max-width: 100%;
        min-width: 0;
    }
    
    .feature-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .feature-item h3 {
        font-size: 0.8rem;
        line-height: 1.15;
        margin-bottom: 4px;
    }
    
    .feature-item p {
        font-size: 0.68rem;
        line-height: 1.3;
    }
    
    /* Button fixes for mobile */
    .btn {
        padding: 12px 20px;
        font-size: 11px;
        letter-spacing: 1px;
    }
    
    .btn-group {
        gap: 10px;
        width: 100%;
    }
    
    .btn-group .btn {
        flex: 1;
        min-width: 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 6px;
    }
    
    .navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .feature-item {
        padding: 8px 2px;
        max-width: 100%;
        min-width: 0;
    }
    
    .feature-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .feature-item h3 {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .feature-item p {
        font-size: 0.65rem;
        line-height: 1.25;
    }
}

@media (max-width: 360px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    background: var(--gradient-fire);
    box-shadow: 0 4px 15px rgba(249, 98, 13, 0.3);
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(249, 98, 13, 0.5);
}

/* Legacy individual overrides - removed in favor of container-based rules */

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ============================================
   CARD GRID (Blog/Portfolio)
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 360px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--white);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-body {
    padding: 30px;
}

.card-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.card-text {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.card-link {
    color: var(--orange);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.card-link:hover {
    color: var(--dark);
}

/* ============================================
   ACCREDITATIONS
   ============================================ */
.accreditations {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.accred-logo {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.accred-logo:hover {
    opacity: 1;
}

/* ============================================
   PARALLAX SECTION (Image break)
   ============================================ */
.parallax-section {
    position: relative;
    height: 400px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 19, 25, 0.7);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.parallax-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.parallax-content p {
    color: var(--white);
    font-size: 1.2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #CCCCCC;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--orange);
}

.footer-col p {
    color: #CCCCCC;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: #999999;
    font-size: 0.9rem;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.py-3 { padding-top: 3rem; padding-bottom: 3rem; }
.py-4 { padding-top: 4rem; padding-bottom: 4rem; }

/* ── Nav Dropdown Styles (for Locations menu) ─────────────── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  min-width: 220px;
  padding: 12px 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--white);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.nav-dropdown-menu a:hover {
  background: var(--orange);
  padding-left: 24px;
}

@media (max-width: 768px) {
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px;
    background: rgba(255,255,255,0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .nav-dropdown-menu.open {
    max-height: 600px;
    padding: 12px 0 12px 20px;
  }
}

/* ============================================
   LOCATIONS PAGES
   ============================================ */

.hero--location {
    position: relative;
    background: var(--dark);
    padding: 80px 0;
    padding-top: 160px; /* Space for transparent navbar overlay */
    text-align: center;
    margin-top: 0;
    overflow: hidden;
}

/* Location hero background image */
.hero--location::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-plumbing-1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero--location > * {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    color: var(--teal);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero--location .container {
    max-width: 900px;
}

.hero--location .hero-content {
    max-width: 100%;
    padding: 0;
}

.hero--location h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-sub {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-ctas {
    display: flex;
    gap: 15px;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero--location {
        padding: 60px 0;
        padding-top: 140px;
    }
    
    .hero--location h1 {
        font-size: 2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-ctas a {
        width: 100%;
        max-width: 280px;
    }
}

.trust-bar {
    background: var(--light-gray);
    padding: 30px 0;
}

.trust-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.section-pad {
    padding: 80px 0;
}

.section-bg-light {
    background: var(--light-gray);
}

.location-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.location-intro-text {
    text-align: left;
    margin-top: 30px;
}

.locations-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .locations-hub-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .locations-hub-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .location-hub-card {
        padding: 20px 15px;
    }
    
    .location-hub-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .location-hub-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .location-hub-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .location-hub-link {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .locations-hub-grid {
        grid-template-columns: 1fr;
    }
}

.location-hub-card {
    background: white;
    border: 2px solid #eee;
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.location-hub-card:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.location-hub-icon {
    color: var(--orange);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.location-hub-card h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.location-hub-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.location-hub-link {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.9rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 360px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.why-card {
    text-align: center;
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    background: var(--gradient-water);
    box-shadow: 0 4px 15px rgba(15, 209, 221, 0.3);
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(15, 209, 221, 0.5);
}

.cta-banner {
    background: var(--dark);
    padding: 60px 0;
}

.cta-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-banner h2 {
    color: var(--white);
    margin: 0;
}

.cta-banner p {
    color: rgba(255,255,255,0.8);
    margin: 10px 0 0;
}

.cta-banner-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.phone-display {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-ctas {
        flex-direction: column;
    }
}


/* Additional button styles */
.btn-orange {
    background: var(--orange);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background: #e0580a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 98, 13, 0.3);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.tag {
    display: inline-block;
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

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


/* ============================================
   SERVICE CARDS (Location Pages)
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 400px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #eee;
}

.service-card:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    background: var(--gradient-fire);
    box-shadow: 0 4px 15px rgba(249, 98, 13, 0.3);
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(249, 98, 13, 0.5);
}

.service-card h3 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card-link {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SITE FOOTER (Additional Styles)
   ============================================ */
.site-footer .footer-logo {
    margin-bottom: 20px;
}

.site-footer .footer-logo img {
    max-width: 300px;
    height: auto;
}

.site-footer .footer-about {
    color: #CCCCCC;
    font-size: 0.95rem;
    line-height: 1.8;
}

.site-footer .footer-teal {
    color: var(--teal);
    font-weight: 600;
}

.site-footer .footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: #CCCCCC;
    font-size: 0.95rem;
}

.site-footer .footer-contact-item i {
    color: var(--orange);
    font-size: 1.1rem;
    width: 20px;
}

.site-footer .footer-contact-item a {
    color: #CCCCCC;
    transition: color 0.3s ease;
}

.site-footer .footer-contact-item a:hover {
    color: var(--orange);
}

.site-footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-footer .powered-badge {
    color: #999;
}

.site-footer .powered-badge a {
    color: var(--orange);
    font-weight: 600;
    transition: color 0.3s ease;
}

.site-footer .powered-badge a:hover {
    color: #e0580a;
}

@media (max-width: 768px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .site-footer {
        padding: 60px 0 30px;
    }
}

/* ============================================
   SERVICE CONTENT LAYOUT (50/50 columns)
   ============================================ */
.service-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-top: 40px;
}

.service-text {
    flex: 1;
}

.service-image {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.service-image img {
    width: 100%;
    max-width: 500px;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Reverse class swaps the order */
.service-content.reverse {
    flex-direction: row-reverse;
}

/* Feature list styling */
.feature-list {
    margin: 25px 0;
    padding-left: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-gray);
}

.feature-list i {
    color: var(--orange);
    font-size: 1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Responsive - stack on mobile */
@media (max-width: 768px) {
    .service-content,
    .service-content.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-image {
        order: -1; /* Always show image first on mobile */
    }
    
    .service-image img {
        max-width: 100%;
    }
}

/* ============================================
   PROJECT MODAL / OVERLAY
   ============================================ */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow-y: auto;
}

.project-modal.active {
    display: block;
    animation: modalFadeIn 0.3s ease-out;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 19, 25, 0);
    z-index: 1;
    transition: background 0.3s ease-out;
}

.project-modal.active .modal-overlay {
    background: rgba(18, 19, 25, 0.95);
}

.modal-content {
    position: relative;
    max-width: 1400px;
    margin: 60px auto;
    background: var(--white);
    z-index: 2;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.project-modal.active .modal-content {
    opacity: 1;
    transform: translateY(0);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--dark);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--orange);
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    min-height: 600px;
}

.modal-details {
    width: 30%;
    padding: 50px 40px;
    background: var(--light-gray);
    overflow-y: auto;
}

.modal-meta {
    color: var(--orange);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.modal-meta i {
    margin-right: 8px;
}

.modal-details h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.modal-location {
    color: var(--text-gray);
    font-size: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-location i {
    color: var(--teal);
}

.modal-description {
    margin-bottom: 30px;
}

.modal-description p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.modal-specs h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    margin-bottom: 15px;
}

.modal-specs ul {
    list-style: none;
    padding: 0;
}

.modal-specs li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-gray);
    font-size: 15px;
}

.modal-specs i {
    color: var(--orange);
    margin-top: 4px;
}

.modal-gallery {
    width: 70%;
    position: relative;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 5;
}

.gallery-prev,
.gallery-next {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--orange);
    color: var(--white);
}

.gallery-dots {
    display: flex;
    gap: 10px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--orange);
    width: 32px;
    border-radius: 6px;
}

/* Card clickable state */
.card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Responsive modal */
@media (max-width: 1024px) {
    .modal-body {
        flex-direction: column;
    }
    
    .modal-details {
        width: 100%;
        min-height: auto;
        order: 2; /* Push text below image on mobile */
    }
    
    .modal-gallery {
        width: 100%;
        min-height: 300px;
        max-height: 50vh; /* Don't take up entire viewport */
        order: 1; /* Image first on mobile */
    }
    
    .modal-gallery img {
        max-height: 50vh;
        width: 100%;
        object-fit: contain; /* Show full image, not cropped */
    }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 20px 10px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-gallery {
        min-height: 250px;
        max-height: 40vh;
    }
    
    .modal-gallery img {
        max-height: 40vh;
    }
    
    .modal-details {
        padding: 30px 20px;
    }
    
    .gallery-controls {
        bottom: 15px;
    }
}

/* ============================================
   MOBILE STICKY CTA
   ============================================ */
.mobile-sticky-cta {
    display: none; /* Hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
}

.mobile-sticky-cta {
    display: none;
    padding: 12px 15px;
    gap: 12px;
    justify-content: space-between;
}

.mobile-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-cta-call {
    background: var(--orange);
    color: var(--white);
    border: 2px solid var(--orange);
}

.mobile-cta-call:hover {
    background: #e0580a;
    border-color: #e0580a;
}

.mobile-cta-contact {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.mobile-cta-contact:hover {
    background: var(--white);
    color: var(--dark);
}

/* Show only on mobile */
@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
    }
    
    /* Add padding to body to prevent content being hidden */
    body.mobile-cta-active {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .mobile-cta-btn {
        font-size: 13px;
        padding: 12px 16px;
    }
    
    .mobile-sticky-cta {
        padding: 10px 12px;
        gap: 10px;
    }
    
    /* Stack hero buttons vertically on small screens */
    .btn {
        padding: 10px 16px;
        font-size: 10px;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-group .btn {
        width: 100%;
    }
}

/* Ensure btn-orange maintains proper styling on mobile */
@media (max-width: 640px) {
    .btn-orange {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 12px 24px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .btn-orange {
        padding: 10px 20px !important;
        font-size: 10px !important;
    }
}
.accred-logo--small { max-height: 42px; max-width: 105px; }
