:root {
  --burnt-orange: #C85A1B;     /* Main accent (buttons, highlights) */
  --clay-beige:   #D9CBB1;     /* Soft contrast/backgrounds */
  --charcoal:     #2F2F2F;     /* Primary text/dark backgrounds */
  --off-white:    #FAFAF7;     /* Main background */
  --light-shadow: rgba(0, 0, 0, 0.05);
  --overlay-tint: rgba(255, 250, 240, 0.6); /* Optional soft overlay */
}
html {
  overflow-x: hidden;
  width: 100%;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--off-white);
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--charcoal);
  min-height: 100vh;
  position: relative;
}

/* Diagonal wave from top-left to bottom-right - BLACK wave */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  clip-path: path('M 0,0 Q 400,300 800,200 T 1600,400 L 1920,600 L 1920,1080 L 0,1080 L 0,200 Q 400,100 800,0 Z');
  z-index: -1;
  pointer-events: none;
}

header {
  background-color: transparent;
  position: relative;
  z-index: 10;
}


/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}





* {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}



/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.site-header {
  background-color: var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  padding: 1rem 0; /* Add consistent padding */

}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  min-height: 80px; /* Ensure consistent header height */
}
/* Logo & Title */
.logo-stack {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0; /* Prevent shrinking */
}

.logo-img {
  height: 90px; /* Consistent size across all screens */
  width: auto;
  display: block;
  margin-left: -110px;
  /* Remove problematic margins */
}

.logo-text {
  font-size: 2.5rem; /* Start with reasonable size */
  color: var(--off-white);
  font-weight: bold;
  white-space: nowrap; 
  margin-left: -60px;/* Prevent text wrapping */
  /* Remove problematic margins */
}
.logo-link {
  display: inline-block;
  cursor: pointer;
  line-height: 1; /* Ensure consistent line height */
}

/* ===== DESKTOP NAVIGATION ===== */
.site-nav .nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 45px;
  justify-content: flex-end;
  align-items: center;
  margin-right: -50px;

}

.site-nav a {
  text-decoration: none;
  color: var(--off-white);
  font-weight: bold;
  position: relative;
  transition: all 0.3s ease;
}

.site-nav a:hover {
  color: var(--burnt-orange);
  text-shadow: 0 0 5px #d46637, 0 0 10px, 0 0 15px #000000;
}

/* ===== DROPDOWN (DESKTOP) ===== */
.site-nav .has-dropdown {
  position: relative;
}

.site-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #222121;
  min-width: 200px;
  z-index: 1000;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.site-nav .dropdown li {
  padding: 0.3rem 0;
  margin-left: 10px;
}

.site-nav .dropdown a {
  color: var(--off-white);
  display: block;
  padding: 0.3rem 1rem;
}

.site-nav .has-dropdown:hover .dropdown {
  display: block;
}

/* ===== BURGER MENU BUTTON (FIXED) ===== */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
  background: transparent;
  border: none;
}

.burger .line {
  width: 25px;
  height: 3px;
  background: var(--off-white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Burger animation when menu is open */
.burger.open .line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger.open .line:nth-child(2) {
  opacity: 0;
}

.burger.open .line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== MOBILE MENU STYLES (FIXED) ===== */
/* ===== MOBILE MENU - CLICKABLE SERVICES & GALLERY LINKS ===== */

/* Base mobile menu styles (keep existing) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background-color: rgba(34, 33, 33, 0.97);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
}

.mobile-menu li {
  width: 100%;
  margin-bottom: 0.5rem;
}

/* Standard menu links */
.mobile-menu a {
  display: block;
  padding: 1rem 1.2rem;
  font-size: 1.2rem;
  color: var(--off-white);
  text-decoration: none;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  border-radius: 6px;
}

.mobile-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--burnt-orange);
  transform: translateX(5px);
}

/* ===== CLICKABLE DROPDOWN PARENTS ===== */
/* Services and Gallery should be clickable AND have dropdowns */

.mobile-menu .has-dropdown {
  position: relative;
}

/* Make the parent link clickable while keeping dropdown functionality */
.mobile-menu .has-dropdown > a {
  position: relative;
  cursor: pointer;
  /* Add space for dropdown arrow */
  padding-right: 3rem;
}

/* Dropdown toggle arrow - separate from the link */
.mobile-menu .has-dropdown > a::after {
  content: "▼";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  /* Make arrow non-clickable so parent link works */
  pointer-events: none;
}

.mobile-menu .has-dropdown.open > a::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Add a separate toggle button for dropdown (optional approach) */
.mobile-menu .dropdown-toggle {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3rem;
  background: transparent;
  border: none;
  color: var(--off-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  z-index: 1;
}

.mobile-menu .dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 6px 6px 0;
}

/* Dropdown menu */
.mobile-menu .dropdown {
  display: none;
  margin-top: 0.5rem;
  margin-left: 1rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

.mobile-menu .has-dropdown.open .dropdown {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 300px;
  }
}

.mobile-menu .dropdown li {
  margin-bottom: 0;
}

.mobile-menu .dropdown a {
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-left: 0;
}

.mobile-menu .dropdown a:last-child {
  border-bottom: none;
}

/* ===== BOTH SERVICES & GALLERY WITH CLICKABLE PARENTS + DROPDOWNS ===== */

/* Ensure both Services and Gallery work the same way */
.mobile-menu .has-dropdown.services-dropdown > a,
.mobile-menu .has-dropdown.gallery-dropdown > a {
  /* Make sure parent links are fully clickable */
  display: block;
  width: calc(100% - 3rem); /* Leave space for dropdown toggle */
  padding-right: 1rem; /* Adjust padding since toggle button takes space */
}

/* Special styling for main parent links */
.mobile-menu .has-dropdown > a {
  font-weight: 600; /* Make parent links slightly bolder */
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.mobile-menu .has-dropdown > a:hover {
  border-left-color: var(--burnt-orange);
}

/* Dropdown items styling */
.mobile-menu .dropdown a {
  font-weight: 400; /* Normal weight for dropdown items */
  border-left: none;
  padding-left: 1.5rem; /* Indent dropdown items */
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .mobile-menu {
    max-width: 280px;
    padding: 4rem 1.5rem 2rem;
  }

  .mobile-menu a {
    padding: 0.9rem 1rem;
    font-size: 1.1rem;
  }

  .mobile-menu .has-dropdown > a {
    padding-right: 2.5rem;
  }

  .mobile-menu .dropdown-toggle {
    width: 2.5rem;
  }
}

@media (max-width: 480px) {
  .mobile-menu {
    width: 100%;
    max-width: 100%;
    padding: 4rem 1rem 2rem;
  }

  .mobile-menu a {
    padding: 0.8rem;
    font-size: 1rem;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 300px;
  }
}


/* Hero Section */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  height: 40%;
 background-color: rgba(0, 0, 0, 0.729); /* Optional dark overlay */
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-overlay h2, h1 {
  font-size: 2.5rem;
  color:var(--off-white);
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--clay-beige);
}

/* Gold Glowing Button */
.btn-primary.glow {
  background: #d46637;
  color: #000;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary.glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, #fff9d1, transparent);
  transform: skewX(-25deg);
  opacity: 0.6;
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

.btn-primary.glow:hover {
  background: #e67e4d; /* Slightly lighter or warmer gold */
  color: #000;
  box-shadow: 0 0 15px rgba(212, 102, 55, 0.6),
              0 0 30px rgba(212, 102, 55, 0.4);
  transition: all 0.3s ease;
}

/*About Us*/
.about-us-content {
  background-color: #0000006f;
  color: #fff;
  text-align: center;
  padding: 25px;
  padding-bottom: 50px;
}

.about-text {
  margin-bottom: 1rem;
}

.about-title {
  margin-top: 1.5rem;;
  margin-bottom: 1.5rem;
 color:var(--burnt-orange)
}

/* Sections */
.service-row {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
  flex-wrap: wrap;
}

.service-row.reverse {
  flex-direction: row-reverse;
}


.service-image-wrapper {
  position: relative;
  flex: 1 1 40%;
  max-width: 600px;
  margin: 10px auto;
}

.service-image-wrapper img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10%;
  display: block;
}

.image-heading {
  position: absolute;
  display: flex;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 3rem;
  background: rgba(0, 0, 0, 0.6); /* Optional: dark background for contrast */
  padding: 0.5rem 1rem;
  color: white;
  width:100%;
  z-index: 2;
}



.image-heading a {
  color: var(--clay-beige);
  text-decoration: none;
  text-align: center;
}

.image-heading a:hover {
  color: var(--burnt-orange);
}

.service-content {
  flex: 1 1 50%;
}

.service-content h3 {
  font-size: 3rem;
  color: var(--clay-beige);
  margin-bottom: 10px;
}

.service-content h3 a {
  color: inherit;
  text-decoration: none;
}

.service-content h4 {
  text-align: center;
  margin: 0.5rem 0;
  color:var(--burnt-orange);
}

.service-content p {
  font-size: 1.3rem;
  color: #ffffff;
  text-align: center;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin: 20px;
 
}

.end-text {
  text-align: center;
  margin-bottom: 1rem;
}

.get-in-touch-btn {
  text-align: center;
  margin-bottom: 3rem;
}

.get-in-touch-btn .glow:hover {
  background: #e67e4d; /* Slightly lighter or warmer gold */
  color: #000;
  box-shadow: 0 0 15px rgba(212, 102, 55, 0.6),
              0 0 30px rgba(212, 102, 55, 0.4);
  transition: all 0.3s ease;
}

/* Reveal Animations */
.reveal-left, .reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-top {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal-top.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE RESPONSIVE FIXES ===== */
@media (max-width: 1024px) {
  .desktop-only,
  .site-nav {
    display: none !important;
  }
  
  .burger {
    display: flex !important;
    position: static;
    order: 2;
    margin-left: auto;
  }
  
  .mobile-menu {
    display: block !important;
  }

  /* Keep header row intact */
.site-header .container {
    padding: 0 2rem;
    min-height: 70px;
  }
  .logo-stack {
    flex: 0 0 auto;
  }
 .logo-img {
    height: 60px;
    margin-left:-50px;
    
  }
  
  .logo-text {
    font-size: 2rem;
    margin-left: -40px;

    
    
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .burger {
    display: flex !important;
    position: static;
    margin-left: auto;
    z-index: 1001;
  }

  .mobile-menu {
    max-width: 280px;
    padding: 4rem 1.5rem 2rem;
  }

  .mobile-menu a {
    padding: 0.9rem 1rem;
    font-size: 1.1rem;
  }

  /* Header stays in one line */
 .site-header .container {
    padding: 0 1rem;
    min-height: 60px;
  }
   .logo-img {
    height: 80px;
    margin-left: -65px;
  }
  
  .logo-text {
    font-size: 1.5rem;
    margin: -50px;
  }
  /* Stack services */
  .service-row {
    flex-direction: column !important;
    text-align: center;
    gap: 1.5rem;
  }

  /* Desktop nav links (if you ever show them) */
  .site-nav .nav-links {
    margin-top: 0;
    padding-top: 0;
  }
  /* Mobile menu list */
  .mobile-menu ul {
    margin-top: 2rem;   /* pull it up closer */
    padding-top: 3rem;
  }
  /* Tighten each list item */
  .mobile-menu li {
    margin-bottom: 1rem;
    line-height: 1.3;      /* less vertical height */
  }
}

@media (max-width: 480px) {
  .burger {
    display: flex !important;
    position: static;
    margin-left: auto;
  }

  .mobile-menu {
    width: 100%;
    max-width: 100%;
    padding: 4rem 1rem 2rem;
  }

  .mobile-menu a {
    padding: 0.8rem;
    font-size: 1rem;
  }

  /* Tighten up header padding */
 .site-header .container {
    padding: 0 0.75rem;
    min-height: 55px;
  
  }
  
  .logo-img {
    height: 55px;
    margin-left: -30px;
  }
  
  .logo-text {
    font-size: 1.25rem;
    margin-left: -30px;
  }
  
  .logo-stack {
    gap: 0.5rem;
  }
}


  /* Hero text & button */
  .hero-overlay {
    top: 35%;
    padding: 1rem 0.5rem;
  }
  .hero-overlay h1,
  .hero-overlay h2 { font-size: 1.5rem; }
  .hero-overlay p     { font-size: 0.9rem; }
  .btn-primary.glow   { padding: 8px 16px; font-size: 0.9rem; }

  /* Services stack and resize */
  .service-image-wrapper img {
    max-height: 150px;
  }
  .image-heading {
    font-size: 1.2rem;
    padding: 0.3rem 0.6rem;
  }
  .service-content h3 { font-size: 1.6rem; }
  .service-content h4 { font-size: 1rem; }
  .service-content p  { font-size: 0.9rem; }




/* ===== DESKTOP RESTORE ===== */
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }

  .burger {
    display: none !important;
  }

  .site-nav {
    display: flex !important;
  }

  .nav-links {
    flex-direction: row;
    gap: 25px;
  }
}

/* ============================
   MOBILE LANDSCAPE (≤767px, landscape)
   ============================ */
@media only screen and (max-width: 767px) and (orientation: landscape) {
  /* ---------- SERVICES ROWS: horizontal scroll ---------- */
  .service-row {
    flex-direction: row !important;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    padding: 0 1rem;
  }
  .service-row > div {
    scroll-snap-align: start;
    flex: 0 0 80%; /* show about 80% of each card */
    max-width: 80%;
  }
  .service-image-wrapper img {
    max-height: 140px;
    width: auto;
    margin: 0 auto 0.5rem;
  }

  /* ---------- HERO: ensure button is visible ---------- */
  .hero-slider {
    height: 60vh; /* shrink so overlay & button sit in viewport */
  }
  .hero-overlay {
    top: 10%;
    bottom: auto;
    height: auto;
    padding: 1rem;
  }
  .hero-overlay h1,
  .hero-overlay h2 {
    font-size: 1.6rem;
  }
  .hero-overlay p {
    font-size: 1rem;
  }
  .btn-primary.glow {
    display: inline-block;
    margin-top: 1rem;
    padding: 8px 18px;
    font-size: 1rem;
  }
}
@media (max-width: 380px) {
  .site-header .container {
    padding: 0 0.5rem;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .logo-text {
    font-size: 1.1rem;
  }
}

@media only screen and (max-width: 767px) and (orientation: landscape) {
  .site-header {
    padding: 0.5rem 0;
  }
  
  .site-header .container {
    min-height: 50px;
  }
  
  .logo-img {
    height: 40px;
    margin-left: -50px;
  }
  
  .logo-text {
    font-size: 1.2rem;
    margin-left: -30px;
  }
}
.no-projects {
  text-align: center;
  font-style: italic;
  color: #ccc;
  margin: 2rem 0;
}

.site-footer {
  background: var(--charcoal);
  color: var(--off-white);
  padding: 1rem 0;
}
.contact-us-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.contact-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--off-white);
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.contact-info:hover {
  background: rgba(255,255,255,0.15);
}
.contact-info .icon {
  font-size: 1.2rem;
}
.contact-info .label {
  font-size: 1rem;
  font-weight: 500;
}

 
        /* Copyright Section */
        .footer-bottom {
            background: rgba(0,0,0,0.3);
            padding: 1rem 0;
            text-align: center;
            font-size: 0.9rem;
            color: rgba(248, 249, 250, 0.7);
        }

        .footer-bottom p {
            margin: 0;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .footer-container {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .contact-us-container {
                flex-direction: column;
                align-items: center;
            }

            .contact-info {
                width: 100%;
                max-width: 300px;
                justify-content: center;
            }

            .certifications {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .footer-main {
                padding: 2rem 0 1.5rem 0;
            }
            
            .contact-info {
                padding: 1rem;
            }
        }
  
.contact-info:hover {
  background: rgba(255,255,255,0.15);
}

.contact-info .icon {
  font-size: 1.2rem;
}

.contact-info .label {
  font-size: 1rem;
  font-weight: 500;
}

/* Cookie Banner Styles - FULL WIDTH TRANSPARENT VERSION */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(100%);
  background: rgba(47, 47, 47, 0.95);
  backdrop-filter: blur(10px);
  color: var(--off-white);
  border-top: 2px solid var(--burnt-orange);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 10000;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease;
  opacity: 0;
  min-height: 60px; /* Ensure minimum height */
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
}

/* Content container */
.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
}

.cookie-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.4;
}

.cookie-text p {
  margin: 0;
}

.cookie-text a {
  color: var(--burnt-orange);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-text a:hover {
  color: #e67e4d;
  text-decoration: none;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  white-space: nowrap;
}

.cookie-btn:hover {
  transform: translateY(-2px);
}

.cookie-btn.accept {
  background: var(--burnt-orange);
  color: white;
}

.cookie-btn.accept:hover {
  background: #e67e4d;
}

.cookie-btn.decline {
  background: transparent;
  color: var(--off-white);
  border-color: var(--clay-beige);
}

.cookie-btn.decline:hover {
  background: var(--clay-beige);
  color: var(--charcoal);
}

/* Mobile - stack vertically */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 0.75rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .cookie-text {
    font-size: 0.9rem;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    max-width: 140px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}


/* Extra small screens */
@media (max-width: 480px) {
  .cookie-banner {
    padding: 0.4rem;
    gap: 0.4rem;
  }
  
  .cookie-text {
    font-size: 0.8rem;
  }
  
  .cookie-btn {
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
  }
}

.slider-wrapper {
  overflow: hidden;
  padding: 2rem 0;
}

.infinite-slider {
  display: flex;
  gap: 1rem;
  animation: scrollSlider 20s linear infinite;
}

.slide {
  flex: 0 0 auto;
  width: 400px;
}

.slide img {
  display: block;
  width: 400px;
  height: 200px;
  border-radius: 6px;
  object-fit: cover;
  
}

@keyframes scrollSlider {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* pause on hover/tap */
.slider-wrapper:hover .infinite-slider,
.infinite-slider:active {
  animation-play-state: paused;
}

/* ===== FIXED INFINITE SLIDER STYLES ===== */

.slider-wrapper {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
  width: 100%;
}

.infinite-slider {
  display: flex;
  gap: 1rem;
  width: fit-content;
  animation: scrollSlider 160s linear infinite;
}

.infinite-slider .slide {
  flex: 0 0 auto;
  width: 400px;
}

.infinite-slider .slide img {
  display: block;
  width: 400px;
  height: 300px;
  border-radius: 6px;
  object-fit: cover;
}

/* Fixed animation - this is crucial */
@keyframes scrollSlider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover/tap */
.slider-wrapper:hover .infinite-slider,
.infinite-slider:active {
  animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .infinite-slider {
    animation-duration: 160s; /* Faster on mobile */
    gap: 0.75rem;
  }
  
  .infinite-slider .slide {
    width: 400px;
  }
  
  .infinite-slider .slide img {
    width: 400px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .infinite-slider {
    animation-duration: 160s; /* Even faster on small mobile */
    gap: 0.5rem;
  }
  
  .infinite-slider .slide {
    width: 400px;
  }
  
  .infinite-slider .slide img {
    width: 400px;
    height: 300px;
  }
}



.infinite-slider-simple {
    display: flex;
    gap: 1rem;
    animation: slideLeft 25s linear infinite;
    will-change: transform;
}

@keyframes slideLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}



/* ===== MINIMAL LANDSCAPE FIX - ONLY ADJUST WHEN NEEDED ===== */

/* Only fix landscape when button gets cut off */
@media only screen and (max-width: 767px) and (orientation: landscape) and (max-height: 500px) {
  .hero-overlay {
    top: 15%; /* Move up slightly */
    height: 70%; /* Give more room */
  }
  
  .hero-overlay h1,
  .hero-overlay h2 {
    font-size: 1.6rem; /* Slightly smaller */
    margin-bottom: 8px;
  }
  
  .hero-overlay p {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  
  .btn-primary.glow {
    padding: 8px 18px;
    font-size: 1rem;
  }
}

/* Only for very short landscape screens */
@media only screen and (orientation: landscape) and (max-height: 400px) {
  .hero-overlay {
    top: 30%;
    height: 40%;
  }
  
  .hero-overlay h1,
  .hero-overlay h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
  }
  
  .hero-overlay p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .btn-primary.glow {
    padding: 6px 15px;
    font-size: 0.9rem;
  }
}

/*roofing services*/
/* ===== SERVICE PAGE STYLES ===== */

/* Service Navigation */
.service-navigation {
  background-color: var(--charcoal);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--off-white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--burnt-orange);
}

.back-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.back-link:hover .back-arrow {
  transform: translateX(-3px);
}

/* Service Hero Banner */
.service-hero-banner {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;

}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background-color: rgba(0, 0, 0, 0.737);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner-content {
  text-align: center;
  color: var(--clay-beige);
  max-width: 600px;
  padding: 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--off-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--clay-beige);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Service Main Content */
.service-main {
  background-color: var(--charcoal);
  padding: 4rem 0;
}

.service-details h2 {
	color:var(--burnt-orange);
}

.service-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
}

.intro-text {
  font-size: 1.2rem;
  color: var(--off-white);
  line-height: 1.6;
}

/* Service Details */
.service-details {
  margin-bottom: 3rem;
  text-align: center;

	
}

.service-detail-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Services Grid */
.services-list-section {
  margin: 4rem 0;
  padding: 3rem 0;
  background-color: #00000092;
  border-radius: 15px;
}

.services-list-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--off-white);
  font-size: 2.5rem;
}

/* SOLUTION 4: Responsive centered approach */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center; /* Centers the grid items */
}
.service-item {
  background: var(--charcoal);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item:hover {
  background: rgba(0, 0, 0, 0.814);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.service-item h3 {
  color: var(--burnt-orange);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-item p {
  color: var(--off-white);
  line-height: 1.5;
}

/* Location Tags */
.location-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.location-tag {
  background: var(--burnt-orange);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
}

/* Why Choose Us Section */
.why-choose-section {
  margin: 4rem 0;
  padding: 3rem 0;
  background: linear-gradient(
    135deg, 
    rgba(8, 8, 8, 0.667) 0%, 
    rgba(0, 0, 0, 0.984) 100%
  );
  border-radius: 15px;
}

.why-choose-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--off-white);
  font-size: 2.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
  background: var(--charcoal);
  border-radius: 10px;
  transition: all 0.3s ease;
 
}

.benefit-item:hover {
  background: rgba(0, 0, 0, 0.481);
  transform: translateY(-3px);
}

.benefit-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--burnt-orange);
  margin-bottom: 1rem;
  display: block;
}

.benefit-item h3 {
  color: var(--off-white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.benefit-item p {
  color: var(--off-white);
  line-height: 1.5;
}

/* Call to Action */
.service-cta {
  background: linear-gradient(
    135deg, 
    var(--burnt-orange) 0%, 
    #e67d4d60 100%
  );
  border-radius: 15px;
  padding: 3rem 2rem;
  text-align: center;
  color:#000;
  margin-top: 4rem;
 
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #000;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color:#000;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  
}

.btn-secondary {
  background: transparent;
  color: #000;
  border: 2px solid var(--clay-beige);
  padding: 5px 15px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

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

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .service-main {
    padding: 2rem 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero-banner-content {
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .service-cta {
    padding: 2rem 1rem;
  }
  
  .services-list-title,
  .why-choose-title {
    font-size: 2rem;
  }
}

/* ===== SERVICES PAGE SPECIFIC STYLES ===== */

/* Services Grid Main */
.service-main {
  background: transparent; /* Instead of var(--charcoal) */
}

.services-overview {
  margin: 4rem 0;
}

.services-grid-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Service Cards */
.service-card {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.service-card:hover {
  background: rgba(8, 8, 8, 0.401);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--burnt-orange);
}

.service-card-icon {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--burnt-orange), #e67e4d);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.service-card-icon img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.service-card-content {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card h3 {
  color: var(--off-white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.service-card h4 {
  color: var(--burnt-orange);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.service-card p {
  color: var(--off-white);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
}

.service-card-arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 1.5rem;
  color: var(--burnt-orange);
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-arrow {
  transform: translateX(5px);
}

/* Service Areas Section */
.service-areas {
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.601) 0%, 
    rgba(0, 0, 0, 0.792) 100%
  );
  border-radius: 15px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 4rem 0;
}

.areas-content h2 {
  color: var(--off-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.areas-content p {
  color: var(--off-white);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Enhanced Location Tags */
.location-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.location-tag {
  background: var(--burnt-orange);
  color: var(--charcoal);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: default;
}

.location-tag:hover {
  background: #e67e4d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(200, 90, 27, 0.3);
}

/* ===== RESPONSIVE DESIGN FOR SERVICES ===== */

@media (max-width: 768px) {
  .services-grid-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
    min-height: 180px;
  }
  
  .service-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .service-card-icon img {
    width: 30px;
    height: 30px;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }
  
  .service-areas {
    padding: 2rem 1rem;
  }
  
  .areas-content h2 {
    font-size: 2rem;
  }
  
  .location-highlights {
    gap: 0.5rem;
  }
  
  .location-tag {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .services-grid-main {
    gap: 1rem;
  }
  
  .service-card {
    padding: 1rem;
    min-height: 160px;
  }
  
  .service-card h3 {
    font-size: 1.2rem;
  }
  
  .service-card h4 {
    font-size: 0.9rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
  }
  
  .areas-content h2 {
    font-size: 1.8rem;
  }
  
  .areas-content p {
    font-size: 1rem;
  }
}

/* ===== SERVICES GRID CENTERING ===== */
@media (min-width: 1200px) {
  .services-grid-main {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 800px) and (max-width: 1199px) {
  .services-grid-main {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== PRIVACY POLICY PAGE STYLES ===== */

/* Privacy Policy Content */
.privacy-policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
  
}

/* Policy Sections */
.policy-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #0000005f;
  border-radius: 8px;
  padding-left: 30px;
  padding-right:30px ;
  padding-top: 20px;
}

.policy-section:last-child {
  border-bottom: none;
}

.policy-section h2 {
  color: var(--off-white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--burnt-orange);
  display: inline-block;
}

.policy-section p {
  color: var(--off-white);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Policy Meta Information */
.policy-meta {
  background: rgba(200, 90, 27, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--burnt-orange);
  color: var(--off-white) !important;
  font-style: italic;
}

/* Policy Lists */
.policy-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.policy-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.422);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.policy-item:hover {
  background: rgba(0, 0, 0, 0.712);
  transform: translateY(-2px);
}

.policy-icon {
  font-size: 2rem;
  min-width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--burnt-orange), #e67e4d);
  border-radius: 50%;
  flex-shrink: 0;
}

.policy-text h4 {
  color: var(--off-white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.policy-text p {
  color: var(--off-white);
  margin: 0;
  font-size: 1rem;
}

/* Policy Highlights */
.policy-highlight {
  background: linear-gradient(
    135deg, 
    rgba(200, 90, 27, 0.15) 0%, 
    rgba(217, 203, 177, 0.05) 100%
  );
  border: 1px solid var(--burnt-orange);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.highlight-icon {
  font-size: 3rem;
  min-width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--burnt-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.highlight-content h3 {
  color: var(--off-white);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.highlight-content p {
  color: var(--off-white);
  margin: 0;
  font-size: 1.1rem;
}

/* Rights Grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.right-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.right-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.right-item h4 {
  color: var(--burnt-orange);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.right-item p {
  color: var(--off-white);
  margin: 0;
  font-size: 0.95rem;
}

/* Contact Information */
.contact-info-policy {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-details {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 250px;
}

.contact-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--burnt-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-text h4 {
  color: var(--off-white);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-text a {
  color: var(--off-white);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: var(--burnt-orange);
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
  .privacy-policy-content {
    padding: 1rem 0;
  }
  
  .policy-section {
    margin-bottom: 2rem;
  }
  
  .policy-section h2 {
    font-size: 1.6rem;
    text-align: center; /* Center headings */
  }
  
  .policy-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    align-items: center; /* Center the icon and content */
  }
  
  .policy-item .policy-icon {
    margin-bottom: 1rem; /* Space between icon and text */
  }
  
  .policy-item .policy-text {
    text-align: center; /* Ensure text is centered */
    width: 100%;
  }
  
  .policy-highlight {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    align-items: center; /* Center everything */
  }
  
  .highlight-icon {
    margin-bottom: 1rem;
  }
  
  .highlight-content {
    text-align: center; /* Center the highlight content */
    width: 100%;
  }
  
  .rights-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-details {
    flex-direction: column;
    gap: 1rem;
    align-items: center; /* Center contact items */
  }
  
  .contact-item {
    min-width: auto;
    text-align: center; /* Center contact item content */
    flex-direction: column; /* Stack icon above text */
    align-items: center;
  }
  
  .contact-item .contact-icon {
    margin-bottom: 0.5rem; /* Space between icon and text */
  }
  
  .contact-item .contact-text {
    text-align: center; /* Center contact text */
  }
}

@media (max-width: 480px) {
  .policy-section h2 {
    font-size: 1.4rem;
    text-align: center; 
  }
  
  .policy-section p {
    font-size: 1rem;
    text-align: center; 
  }
  
  .policy-icon,
  .highlight-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin: 0 auto 1rem; /* Center icons with bottom margin */
  }
  
  .highlight-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
    margin: 0 auto 1rem; /* Center larger icons */
  }
  
  .policy-highlight {
    padding: 1rem;
    text-align: center; /* Ensure everything is centered */
  }
  
  .right-item {
    padding: 1rem;
    text-align: center; /* Center rights items */
  }
  
  .policy-text h4,
  .highlight-content h3,
  .contact-text h4 {
    text-align: center; /* Center all headings */
  }
  
  .policy-text p,
  .highlight-content p,
  .contact-text {
    text-align: center; /* Center all text content */
  }
}

/* ===== CONTACT PAGE STYLES ===== */

/* Contact Layout */
.contact-content {
  margin: 4rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Contact Form Section */
/* Contact Layout */
.contact-content {
  margin: 4rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Contact Form Section */
.contact-form-section {
  background: rgba(0, 0, 0, 0.662);
  border-radius: 15px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-container h3 {
  color: var(--off-white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.form-container p {
  color: var(--off-white);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--off-white);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(0, 0, 0, 0.026);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  color: var(--off-white);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

/* FIXED: Select dropdown styling */
.form-group select {
  border-color: var(--burnt-orange);
  background: rgba(47, 47, 47, 0.8);
  box-shadow: 0 0 0 3px rgba(200, 90, 27, 0.2);  /* Dark background */
  color: var(--off-white); /* White text */
  cursor: pointer;
}

/* FIXED: Select dropdown options */
.form-group select option {
  background: var(--charcoal); /* Dark background for options */
  color: var(--off-white); 
  padding: 0.5rem;
  border: none;
}

/* FIXED: Hover state for options */
.form-group select option:hover,
.form-group select option:checked,
.form-group select option:focus {
  background: var(--burnt-orange);
  color: white;
}

/* FIXED: Focus states */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--burnt-orange);
  background: rgba(47, 47, 47, 0.8); /* Darker background on focus */
  box-shadow: 0 0 0 3px rgba(200, 90, 27, 0.2);
  color: var(--off-white); /* Ensure text stays visible */
}


.form-group select {
  appearance: none; 
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FAFAF7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 3rem; 
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* FIXED: Select placeholder styling */
.form-group select option[value=""] {
  color: rgba(255, 255, 255, 0.5); /* Placeholder color */
}

/* Contact Information Section */
.contact-info-section {
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.66) 0%, 
    rgba(0, 0, 0, 0.626) 100%
  );
  border-radius: 15px;
  padding: 3rem;
  border: 1px solid rgba(200, 90, 27, 0.2);
}

.contact-info-container h3 {
  color: var(--off-white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info-container > p {
  color: var(--off-white);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Contact Methods */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-method {
  display: flex;
  align-items: center; /* Changed from flex-start to center - this centers the icon vertically */
  gap: 1.5rem;
  padding: 1.5rem;
  background: hsla(0, 0%, 80%, 0.163);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--burnt-orange);
  border-radius: 50%;
  flex-shrink: 0; /* Icon stays on the left and doesn't shrink */
}

.contact-details {
  flex: 1; /* Takes up remaining space */
}

.contact-details h4 {
  color: var(--off-white);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  margin-top: 0; /* Remove any top margin */
}

.contact-details a {
  color: var(--off-white);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

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

.contact-details p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}



/* Service Areas Contact */
.service-areas-contact {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.service-areas-contact h4 {
  color: var(--off-white);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-align: center;
}

.service-areas-contact .location-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.service-areas-contact .location-tag {
  background: var(--burnt-orange);
  color: var(--charcoal);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Form Button Styling */
.contact-form .btn-primary {
  margin-top: 1rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
  
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-form-section,
  .contact-info-section {
    padding: 2rem;
  }
  
  /* Ensure contact methods have uniform height */
  .contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .contact-method {
    min-height: 120px; /* Uniform minimum height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form-section,
  .contact-info-section {
    padding: 1.5rem;
  }
  
  .form-container h3,
  .contact-info-container h3 {
    font-size: 1.6rem;
    text-align: center; /* Center headings */
  }
  
  /* Force all contact methods to same height */
  .contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .contact-method {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
    align-items: center;
    justify-content: center;
    min-height: 120px; /* Back to min-height for flexibility */
    display: flex;
    box-sizing: border-box;
  }
  
  .contact-icon {
    margin-bottom: 0.25rem; /* Much smaller space between icon and text */
    flex-shrink: 0;
  }
  
  .contact-details {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem; /* Tight spacing between text elements */
  }
  
  .contact-details h4 {
    text-align: center;
    margin: 0;
    line-height: 1.2;
    font-size: 1.1rem;
  }
  
  .contact-details a,
  .contact-details p {
    text-align: center;
    margin: 0;
    line-height: 1.2;
  }
  
  .service-areas-contact {
    padding: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .contact-content {
    margin: 2rem 0;
  }
  
  .contact-layout {
    gap: 2rem;
  }
  
  .contact-form-section,
  .contact-info-section {
    padding: 1rem;
  }
  
  .form-container h3,
  .contact-info-container h3 {
    font-size: 1.4rem;
    text-align: center;
  }
  
  .contact-form {
    gap: 1rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem;
  }
  
  .contact-methods {
    gap: 1rem;
    display: flex;
    flex-direction: column;
  }
  
  .contact-method {
    padding: 1rem;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }
  
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    margin-bottom: 0.2rem; /* Very small space between icon and text */
    flex-shrink: 0;
  }
  
  .contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    gap: 0.15rem; /* Very tight spacing between text elements */
  }
  
  .contact-details h4 {
    font-size: 1rem;
    text-align: center;
    margin: 0;
    line-height: 1.2;
  }
  
  .contact-details a {
    font-size: 0.95rem;
    text-align: center;
    margin: 0;
    line-height: 1.2;
  }
  
  .contact-details p {
    text-align: center;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.2;
  }
  
  .service-areas-contact {
    text-align: center;
  }
  
  .service-areas-contact h4 {
    text-align: center;
  }
  
  .location-highlights {
    justify-content: center;
  }
}

/* Form Validation States */
.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

.form-group input:valid:not(:focus):not(:placeholder-shown),
.form-group textarea:valid:not(:focus):not(:placeholder-shown) {
  border-color: #27ae60;
  background: rgba(39, 174, 96, 0.1);
}

/* Loading state for form submission */
.contact-form.loading .btn-primary {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-form.loading .btn-primary::after {
  content: " Sending...";
}

/* ===== THANK YOU PAGE STYLES ===== */

/* Success Popup */
.success-popup {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  z-index: 10000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.success-popup.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.popup-content {
  background: linear-gradient(135deg, var(--burnt-orange), #e67e4d);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 300px;
}

.popup-icon {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Thank You Content */
.thank-you-content {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

.thank-you-wrapper {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

/* Success Icon */
.success-icon {
  margin-bottom: 3rem;
}

.checkmark-circle {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--burnt-orange), #e67e4d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  transform: scale(0);
  transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.checkmark-circle.animate {
  transform: scale(1);
}

.checkmark {
  color: white;
  font-size: 3rem;
  font-weight: bold;
  transform: scale(0);
  transition: transform 0.3s ease 0.3s;
}

.checkmark-circle.animate .checkmark {
  transform: scale(1);
}

/* Thank You Message */
.thank-you-message {
  margin-bottom: 3rem;
  background: #0000005b;
  border-radius: 8px;
  
}

.thank-you-message h1 {
  color: var(--off-white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  border-radius: 8px;
  padding: 5px;
}

.thank-you-message h2 {
  color: var(--burnt-orange);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.thank-you-message p {
  color: var(--off-white);
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  padding: 10px;
}

/* Next Steps */
.next-steps {
  background: rgba(0, 0, 0, 0.388);
  border-radius: 15px;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.next-steps h3 {
  color: var(--off-white);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

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

.step-number {
  width: 60px;
  height: 60px;
  background: var(--burnt-orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.step-content h4 {
  color: var(--off-white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--off-white);
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

/* Emergency Contact */
.emergency-contact {
  background: linear-gradient(
    135deg, 
    rgba(2, 2, 2, 0.341) 0%, 
    rgba(0, 0, 0, 0.268) 100%
  );
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 3rem;
  border: 1px solid var(--burnt-orange);
}

.emergency-contact h3 {
  color: var(--off-white);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-options {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  min-width: 200px;
}

.contact-option:hover {
  background: rgba(0, 0, 0, 0.451);
  transform: translateY(-3px);
}

.contact-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--burnt-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-text h4 {
  color: var(--off-white);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-text span {
  color: var(--off-white);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Thank You Actions */
.thank-you-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.thank-you-actions .btn-primary,
.thank-you-actions .btn-secondary {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  min-width: 180px;
}

/* Additional Information */
.additional-info {
  margin-top: 3rem;
}

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

.info-card {
  background: rgba(0, 0, 0, 0.432);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  background: rgba(0, 0, 0, 0.666);
  transform: translateY(-2px);
}

.info-card h4 {
  color: var(--burnt-orange);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: var(--off-white);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
  .thank-you-content {
    padding: 2rem 0;
  }
  
  .checkmark-circle {
    width: 100px;
    height: 100px;
  }
  
  .checkmark {
    font-size: 2.5rem;
  }
  
  .thank-you-message h1 {
    font-size: 2.5rem;
  }
  
  .thank-you-message h2 {
    font-size: 1.4rem;
  }
  
  .thank-you-message p {
    font-size: 1rem;
  }
  
  .next-steps {
    padding: 2rem 1rem;
  }
  
  .next-steps h3 {
    font-size: 1.6rem;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-options {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-option {
    width: 100%;
    max-width: 300px;
  }
  
  .thank-you-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .thank-you-actions .btn-primary,
  .thank-you-actions .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
  
  .info-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .popup-content {
    margin: 0 1rem;
    min-width: auto;
    max-width: calc(100vw - 2rem);
  }
  
  .thank-you-message h1 {
    font-size: 2rem;
  }
  
  .thank-you-message h2 {
    font-size: 1.2rem;
  }
  
  .next-steps {
    padding: 1.5rem 1rem;
  }
  
  .emergency-contact {
    padding: 1.5rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

/* ===== 404 ERROR PAGE STYLES ===== */

/* 404 Content */
.error-404-content {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

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

/* Error Visual */
.error-visual {
  position: relative;
  margin-bottom: 3rem;
}

.error-number {
  font-size: 8rem;
  font-weight: bold;
  color: var(--burnt-orange);
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.error-icon {
  font-size: 4rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--charcoal);
  padding: 1rem;
  border-radius: 50%;
  border: 3px solid var(--burnt-orange);
}

/* Error Message */
.error-message {
  margin-bottom: 3rem;
}

.error-message h1 {
  color: var(--off-white);
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.error-message h2 {
  color: var(--burnt-orange);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.error-message p {
  color: var(--off-white);
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Search Section */
.error-search {
  background: rgba(0, 0, 0, 0.256);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.error-search h3 {
  color: var(--off-white);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}


/* Quick Links */
.quick-links {
  margin-bottom: 3rem;
}

.quick-links h3 {
  color: var(--off-white);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.quick-link {
  background: rgba(0, 0, 0, 0.404);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.quick-link:hover {
  background: rgba(0, 0, 0, 0.686);
  transform: translateY(-3px);
  border-color: var(--burnt-orange);
}

.link-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  background: var(--burnt-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-content h4 {
  color: var(--off-white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.link-content p {
  color: var(--off-white);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.3;
}

/* Services Grid 404 */
.error-services {
  margin-bottom: 3rem;
}

.error-services h3 {
  color: var(--off-white);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.services-grid-404 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.service-card-404 {
  background: rgba(0, 0, 0, 0.467);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem;
  text-decoration: none;
  color: var(--off-white);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.service-card-404:hover {
  background: rgba(0, 0, 0, 0.727);
  transform: translateY(-2px);
  color: var(--burnt-orange);
  border-color: var(--burnt-orange);
}

.service-emoji {
  font-size: 1.5rem;
}

/* Error Contact */
.error-contact {
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.555) 0%, 
    rgba(0, 0, 0, 0.488) 100%
  );
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 3rem;
  border: 1px solid var(--burnt-orange);
}

.error-contact h3 {
  color: var(--off-white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.error-contact p {
  color: var(--off-white);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.contact-options-404 {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-option-404 {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.459);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  min-width: 180px;
}

.contact-option-404:hover {
  background: rgba(0, 0, 0, 0.796);
  transform: translateY(-2px);
}

.contact-icon-404 {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--burnt-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text-404 h4 {
  color: var(--clay-beige);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact-text-404 span {
  color: var(--off-white);
  font-size: 1rem;
  font-weight: 600;
}

/* Error Actions */
.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.error-actions .btn-primary,
.error-actions .btn-secondary {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  min-width: 160px;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
  .error-404-content {
    padding: 2rem 0;
  }
  
  .error-number {
    font-size: 6rem;
  }
  
  .error-icon {
    font-size: 3rem;
    padding: 0.75rem;
  }
  
  .error-message h1 {
    font-size: 2.2rem;
  }
  
  .error-message h2 {
    font-size: 1.3rem;
  }
  
  .error-message p {
    font-size: 1rem;
  }
  
  .error-search,
  .error-contact {
    padding: 1.5rem;
  }
  
  .links-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-link {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .services-grid-404 {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  
  .contact-options-404 {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-option-404 {
    width: 100%;
    max-width: 250px;
  }
  
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .error-actions .btn-primary,
  .error-actions .btn-secondary {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .error-number {
    font-size: 4rem;
  }
  
  .error-icon {
    font-size: 2rem;
    padding: 0.5rem;
  }
  
  .error-message h1 {
    font-size: 1.8rem;
  }
  
  .error-message h2 {
    font-size: 1.1rem;
  }
  
  .error-search,
  .error-contact {
    padding: 1rem;
  }
  
  .search-input-group {
    max-width: 100%;
  }
  
  .services-grid-404 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card-404 {
    padding: 0.75rem;
    font-size: 0.8rem;
  }
  
  .service-emoji {
    font-size: 1.2rem;
  }
}
/* ===== GALLERY PAGE STYLES ===== */

/* Gallery Hero */
.gallery-hero {
  background: linear-gradient(
    135deg, 
    rgba(47, 47, 47, 0.9) 0%, 
    rgba(200, 90, 27, 0.2) 100%
  );
  padding: 4rem 0;
  text-align: center;
}

.gallery-hero-content h1 {
  color: var(--clay-beige);
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.gallery-hero-content p {
  color: var(--off-white);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Gallery Main */
.gallery-main {
  background-color: var(--charcoal);
  padding: 4rem 0;
}

/* Gallery Info */
.gallery-info {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-count {
  color: var(--clay-beige);
  font-size: 1rem;
  font-weight: 500;
}

/* Gallery Grid */
/* ===== GALLERY PHOTO GRID - SMALLER THUMBNAILS ===== */

/* Gallery Grid - 5 per row desktop, 3 per row smaller screens */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1/1; /* Square thumbnails */
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--burnt-orange);
}

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

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

/* Gallery Overlay - Smaller and more subtle */
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    transparent 0%,
    rgba(0, 0, 0, 0.6) 70%,
    rgba(0, 0, 0, 0.9) 100%
  );
  color: white;
  padding: 1rem 0.75rem 0.75rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--clay-beige);
  line-height: 1.2;
}

.gallery-overlay-content p {
  font-size: 0.75rem;
  line-height: 1.3;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Tablet - 4 per row */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.875rem;
  }
}

/* Tablet - 3 per row */
@media (max-width: 968px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  
  .gallery-overlay {
    padding: 0.75rem 0.5rem 0.5rem;
  }
  
  .gallery-overlay-content h4 {
    font-size: 0.8rem;
  }
  
  .gallery-overlay-content p {
    font-size: 0.7rem;
  }
}

/* Mobile - 2 per row */
@media (max-width: 768px) {
  .gallery-main {
    padding: 2rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .gallery-item {
    border-radius: 6px;
  }
  
  .gallery-overlay {
    padding: 0.5rem;
  }
  
  .gallery-overlay-content h4 {
    font-size: 0.75rem;
    margin-bottom: 0.125rem;
  }
  
  .gallery-overlay-content p {
    font-size: 0.65rem;
  }
}

/* Small Mobile - Still 2 per row but smaller */
@media (max-width: 480px) {
  .gallery-grid {
    gap: 0.5rem;
  }
  
  .gallery-item {
    border-radius: 4px;
  }
  
  .gallery-overlay {
    padding: 0.375rem;
  }
  
  .gallery-overlay-content h4 {
    font-size: 0.7rem;
  }
  
  .gallery-overlay-content p {
    font-size: 0.6rem;
  }
}

/* Ensure lightbox navigation works on mobile */
@media (max-width: 768px) {
  .lightbox-nav {
    position: fixed;
    top: auto;
    bottom: 2rem;
  }
  
  .lightbox-prev {
    left: 2rem;
  }
  
  .lightbox-next {
    right: 2rem;
  }
}

/* Gallery Pagination */
.gallery-pagination {
  margin: 4rem 0;
}

.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--off-white);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(.disabled) {
  background: var(--burnt-orange);
  border-color: var(--burnt-orange);
  color: white;
  transform: translateY(-2px);
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--off-white);
  text-decoration: none;
  border-radius: 50%;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-number:hover,
.pagination-number.active {
  background: var(--burnt-orange);
  border-color: var(--burnt-orange);
  color: white;
}

.pagination-dots {
  color: var(--clay-beige);
  padding: 0 0.5rem;
}

/* No Gallery Content */
.no-gallery-content {
  text-align: center;
  padding: 4rem 2rem;
}

.no-content-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.no-content-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  opacity: 0.7;
}

.no-gallery-content h2 {
  color: var(--clay-beige);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.no-gallery-content p {
  color: var(--off-white);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Gallery Service Link */
.gallery-service-link {
  background: linear-gradient(
    135deg, 
    rgba(200, 90, 27, 0.15) 0%, 
    rgba(217, 203, 177, 0.05) 100%
  );
  border-radius: 15px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid var(--burnt-orange);
  margin-top: 4rem;
}

.service-link-content h3 {
  color: var(--clay-beige);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-link-content p {
  color: var(--off-white);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Enhanced Lightbox */
/* Enhanced Lightbox - FIXED VERSION */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
 
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 95vw; /* Increased from 90vw */
  max-height: 95vh; /* Increased from 90vh */
  display: flex;
  align-items: center;
  justify-content: center;
}



.lightbox-content {
  position: relative;
  background: var(--charcoal);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  
}

.lightbox-image {
  max-width: 90vw; /* Increased from 80vw */
  max-height: 90vh; /* Increased from 80vh */
  object-fit: contain;
  display: block;
  cursor: grab; /* Show it's draggable */

}
/* Pointer cursor for gallery images */
.gallery-image,
.lightbox-img {
  cursor: pointer;
}

/* Also add to gallery items for better UX */
.gallery-item {
  cursor: pointer;
}

/* Keep grab cursor for lightbox viewing */
.lightbox .lightbox-image {
  cursor: grab;
}

.lightbox .lightbox-image:active {
  cursor: grabbing;
}

.lightbox-image:active {
  cursor: grabbing;
}

.lightbox-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
}

.lightbox-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--clay-beige);
}

.lightbox-caption {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.lightbox-counter {
  font-size: 0.9rem;
  color: var(--burnt-orange);
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  width: 50px; /* Increased from 40px */
  height: 50px; /* Increased from 40px */
  background: rgba(0, 0, 0, 0.7); /* More opaque */
  border: 2px solid rgba(255, 255, 255, 0.3); /* Add border */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: var(--burnt-orange);
  border-color: var(--burnt-orange);
  transform: scale(1.1);
}

/* FIXED NAVIGATION ARROWS - Now visible! */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7); /* More opaque */
  color: white;
  border: 2px solid var(--burnt-orange); /* Add orange border */
  width: 60px; /* Increased from 50px */
  height: 60px; /* Increased from 50px */
  border-radius: 50%;
  font-size: 1.8rem; /* Increased from 1.5rem */
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  
}

/* MOVED ARROWS INSIDE VIEWPORT - This was the main issue! */
.lightbox-prev {
  left: 20px; /* Changed from -70px (outside screen) */
}

.lightbox-next {
  right: 20px; /* Changed from -70px (outside screen) */
}

.lightbox-nav:hover {
  background: var(--burnt-orange);
  border-color: white;
  transform: translateY(-50%) scale(1.15); /* Bigger hover effect */
  box-shadow: 0 0 20px rgba(200, 90, 27, 0.6); /* Glow effect */
}

/* Better arrow symbols */
.lightbox-prev::before {
  content: "‹";
  font-size: 2rem;
  line-height: 1;
}

.lightbox-next::before {
  content: "›";
  font-size: 2rem;
  line-height: 1;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .lightbox-image {
    max-width: 95vw; /* Even bigger on mobile */
    max-height: 85vh; /* Leave room for nav buttons */
  }
  
  .lightbox-nav {
    position: fixed; /* Fixed positioning on mobile */
    top: auto;
    bottom: 3rem; /* Move to bottom for easier thumb access */
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }
  
  .lightbox-prev {
    left: 2rem;
    transform: none;
  }
  
  .lightbox-next {
    right: 2rem;
    transform: none;
  }
  
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
  }
  
  .lightbox-info {
    padding: 1.5rem 1rem 1rem;
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  .lightbox-image {
    max-width: 98vw;
    max-height: 80vh;
  }
  
  .lightbox-nav {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    bottom: 2rem;
  }
  
  .lightbox-prev {
    left: 1rem;
  }
  
  .lightbox-next {
    right: 1rem;
  }
}

/* Touch feedback for mobile */
@media (max-width: 768px) {
  .lightbox-nav:active {
    transform: scale(0.95);
    background: var(--burnt-orange);
  }
  
  .lightbox-close:active {
    transform: scale(0.95);
  }
}

/* Additional visual improvements */
.lightbox-nav:focus {
  outline: 2px solid var(--burnt-orange);
  outline-offset: 2px;
}

.lightbox-close:focus {
  outline: 2px solid var(--burnt-orange);
  outline-offset: 2px;
}
/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
  .gallery-hero {
    padding: 2rem 0;
  }
  
  .gallery-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .gallery-main {
    padding: 2rem 0;
  }
  

  
  .pagination-wrapper {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .pagination-numbers {
    order: -1;
  }
  
  .gallery-service-link {
    padding: 2rem 1rem;
    margin-top: 2rem;
  }
  
  .service-link-content h3 {
    font-size: 1.6rem;
  }
  
  .lightbox-nav {
    position: fixed;
    top: auto;
    bottom: 2rem;
  }
  
  .lightbox-prev {
    left: 2rem;
  }
  
  .lightbox-next {
    right: 2rem;
  }
}

@media (max-width: 480px) {

  
  .gallery-hero-content h1 {
    font-size: 2rem;
  }
  
  .gallery-hero-content p {
    font-size: 1rem;
  }
  
  .pagination-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .service-link-content h3 {
    font-size: 1.4rem;
  }
  
  .service-link-content p {
    font-size: 1rem;
  }
  
  .lightbox-image {
    max-width: 95vw;
    max-height: 70vh;
  }
  
  .lightbox-info {
    padding: 1rem;
  }
  
  .lightbox-title {
    font-size: 1rem;
  }
  
  .lightbox-caption {
    font-size: 0.85rem;
  }
}
/* ===== GALLERY CARDS (to match services theme) ===== */

/* Gallery Cards */
.gallery-card {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

.gallery-card:hover {
  background: rgba(8, 8, 8, 0.401);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--burnt-orange);
}

/* Gallery Card Image */
.gallery-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

/* Gallery Card Overlay */
.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(200, 90, 27, 0.6) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-view-text {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Gallery Card Content */
.gallery-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.gallery-card h3 {
  color: var(--burnt-orange);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.gallery-card p {
  color: var(--clay-beige);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.gallery-card-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--burnt-orange);
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-card-arrow {
  transform: translateX(5px);
}




/* ===== RESPONSIVE DESIGN FOR GALLERY CARDS ===== */

@media (max-width: 768px) {
  .gallery-card {
    min-height: 220px;
  }
  
  .gallery-card-image {
    height: 150px;
  }
  
  .gallery-card-content {
    padding: 1rem;
  }
  
  .gallery-card h3 {
    font-size: 1.2rem;
  }
  
  .gallery-card p {
    font-size: 0.9rem;
  }
  
  .gallery-card-arrow {
    bottom: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-card {
    min-height: 200px;
  }
  
  .gallery-card-image {
    height: 120px;
  }
  
  .gallery-card h3 {
    font-size: 1.1rem;
  }
  
  .gallery-card p {
    font-size: 0.85rem;
  }
  
  .gallery-view-text {
    font-size: 1rem;
  }
}

.recent-projects p {
  text-align: center;
}

/* ===== iPhone SE Portrait (375x667) - BUTTON CUT OFF FIX ===== */
@media only screen and (width: 375px) and (height: 667px) and (orientation: portrait) {
  .hero-overlay {
    position: absolute !important;
    top: 25% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    height: 45% !important; /* Reduced height to fit button */
    background-color: rgba(0, 0, 0, 0.8) !important;
    padding: 1rem 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-align: center !important;
    z-index: 10 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
  
  .hero-overlay h1,
  .hero-overlay h2 {
    font-size: 1.4rem !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    flex-shrink: 0 !important;
    color: #ffffff !important;
  }
  
  .hero-overlay p {
    font-size: 0.9rem !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.3 !important;
    flex-shrink: 0 !important;
    color: #fff !important;
  }
  
  .btn-primary.glow {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
    min-width: 140px !important;
    height: auto !important;
    line-height: 1.2 !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 11 !important;
  }
}

/* ===== iPhone SE Landscape - Exact Dimensions - BUTTON VISIBILITY FIX ===== */
@media only screen and (width: 667px) and (height: 375px) and (orientation: landscape) {
  .hero-slider {
    height: 375px !important;
    min-height: 375px !important;
    max-height: 375px !important;
    overflow: visible !important;
  }
  
  /* Position overlay higher and make it shorter */
  .hero-overlay {
    position: absolute !important;
    top: 20% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 70% !important;
    height: 50% !important;
    background-color: rgba(0, 0, 0, 0.85) !important;
    padding: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
    z-index: 100 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
  }
  
  .hero-overlay h1,
  .hero-overlay h2 {
    font-size: 0.8rem !important;
    margin: 0 !important;
    line-height: 0.9 !important;
    flex-shrink: 0 !important;
    color: #ffffff !important;
  }
  
  .hero-overlay p {
    font-size: 0.65rem !important;
    margin: 0 0 4px 0 !important;
    line-height: 0.9 !important;
    flex-shrink: 0 !important;
    color: #fff !important;
  }
  
  /* Make sure button fits within the reduced overlay */
  .btn-primary.glow {
    padding: 4px 8px !important;
    font-size: 0.6rem !important;
    margin: 0 !important;
    min-width: 60px !important;
    max-width: 80px !important;
    height: 20px !important;
    line-height: 1 !important;
    border-radius: 2px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 101 !important;
  }
}

/* ===== CONTACT PAGE - iPad Pro Portrait (1024x1366) ===== */
@media only screen and (min-width: 1024px) and (max-width: 1024px) and (orientation: portrait) {
  .contact-content {
    margin: 2rem 0;
    padding: 0 2rem;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .contact-form-section,
  .contact-info-section {
    padding: 2rem;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .form-container h3,
  .contact-info-container h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .form-container p,
  .contact-info-container > p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  /* Form styling for iPad Pro Portrait */
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 1rem;
    font-size: 1rem;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .form-group label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-form {
    gap: 1.5rem;
  }
  
  /* Contact methods for iPad Pro Portrait */
  .contact-methods {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .contact-method {
    padding: 1.5rem;
    border-radius: 12px;
    gap: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    flex-shrink: 0;
  }
  
  .contact-details {
    flex: 1;
  }
  
  .contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    margin-top: 0;
  }
  
  .contact-details a {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }
  
  .contact-details p {
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0;
  }
  
  /* Service areas for iPad Pro Portrait */
  .service-areas-contact {
    padding: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .service-areas-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .location-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }
  
  .location-tag {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 20px;
  }
  
  /* Form button for iPad Pro Portrait */
  .contact-form .btn-primary {
    padding: 1rem 2rem;
    font-size: 1rem;
    margin-top: 1rem;
    align-self: center;
    min-width: 200px;
  }
}

/* ==========================================
   VALUES & PRINCIPLES SECTION - CSS
   ========================================== */

/* Main Section Wrapper */
.values-principles {
  padding: 60px 20px;
  
}

.values-principles .container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color:var(--burnt-orange);
  margin-bottom: 20px;
}

.section-intro {
  font-size: 1.125rem;
  line-height: 1.7;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

/* Two Column Grid Layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

/* Content Block Cards */
.content-block{

  background-color: #0000006f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.block-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--burnt-orange);
  margin-bottom: 15px;
}




.block-description {
  font-size: 1rem;
  color: var(--clay-beige);
  margin-bottom: 25px;
  line-height: 1.6;
}

/* List Styling */
.values-list,
.principles-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.value-item,
.principle-item {
  font-size: 1rem;
  line-height: 1.7;
  color: white;
  margin-bottom: 18px;
  padding-left: 25px;
  position: relative;
}

/* Custom Bullet Points */
.value-item::before,
.principle-item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: orange;
  font-size: 1.5rem;
  line-height: 1.4;
}

/* Bold Text in Values */
.value-item strong {
  color: white;
  font-weight: 600;
}

/* Section Footer */
.section-footer {
  text-align: center;
  padding: 30px;
  background-color: #0000006f;
 border-radius:12px
  
}

.footer-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: white;
  max-width: 900px;
  margin: 0 auto;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet and Mobile */
@media (max-width: 768px) {
  .values-principles {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-intro {
    font-size: 1rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .content-block {
    padding: 30px 25px;
  }

  .block-title {
    font-size: 1.5rem;
  }

  .section-footer {
    padding: 25px 20px;
  }

  .footer-text {
    font-size: 1rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.75rem;
  }

  .content-block {
    padding: 25px 20px;
  }

  .value-item,
  .principle-item {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
}

.service-bullets {
 padding:10px;
}

/* Services List Section */
.services-list-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.services-list-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 40px;
  text-align: center;
}

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

/* Clickable Service Item */
.service-item {
  background: var (--charcoal);
  padding: 30px;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
}

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

.service-icon {
  width: 50px;
  height: 50px;
  background: var(--burnt-orange);
  border-radius: 10px;
  margin-bottom: 20px;
}

.service-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clay-beige);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.service-item:hover h3 {
  color: var(--burnt-orange);
}

.service-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--off-white);
  margin-bottom: 20px;
  flex-grow: 1;
}



/* Learn More Link */
.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--burnt-orange);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  transition: all 0.3s ease;
}

.service-item:hover .service-learn-more {
  transform: translateX(5px);
  color: var(--burnt-orange);
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-list-section {
    padding: 40px 15px;
  }

  .services-list-title {
    font-size: 1.75rem;
    margin-bottom: 30px;
  }

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

  .service-item {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .services-list-title {
    font-size: 1.5rem;
  }

  .service-item h3 {
    font-size: 1.125rem;
  }

  .service-item p {
    font-size: 0.95rem;
  }
}

/* Service Navigation page */
        .service-navigation {
            background-color: var(--charcoal);
            padding: 1rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--off-white);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .back-link:hover {
            color: var(--burnt-orange);
        }

        .back-arrow {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }

        .back-link:hover .back-arrow {
            transform: translateX(-3px);
        }

        /* Hero Banner */
        .service-hero-banner {
            position: relative;
            height: 60vh;
            min-height: 400px;
            overflow: hidden;
            background: linear-gradient(135deg, rgba(47, 47, 47, 0.9) 0%, rgba(200, 90, 27, 0.3) 100%);
        }

      

        .hero-banner-content {
            text-align: center;
            color: var(--off-white);
            max-width: 600px;
            padding: 2rem;
        }

        .hero-title {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 1rem;
            color: var(--off-white);
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .hero-subtitle {
            font-size: 1.3rem;
            color: var(--clay-beige);
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        /* Main Content */
        .service-main {
          
            padding: 4rem 0;
        }

        .service-intro {
            text-align: center;
            margin-bottom: 4rem;
        }

        .intro-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .intro-text {
            font-size: 1.2rem;
            color: var(--off-white);
            line-height: 1.6;
        }

        /* Roof Type Sections */
        .roof-type-section {
            margin-bottom: 5rem;
            padding: 3rem 0;
        }

        .roof-type-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-heading {
            font-size: 2.5rem;
            color: var(--burnt-orange);
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .section-description {
            font-size: 1.2rem;
            color: var(--off-white);
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* FIXED IMAGE STYLING - Images Stay Inside Boxes */

/* Roof Image Block Container */
.roof-image-block {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 500px;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
}

/* Roof Detail Image - FIXED */
.roof-detail-img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
}

/* Service Hero Banner Image - FIXED */
.service-hero-banner {
  position: relative;
  height: 60vh;
  min-height: 400px;
  max-height: 700px;
  overflow: hidden;
  background-color: var(--charcoal);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Ensure grid items don't overflow */
.roof-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  overflow: hidden;
}

/* Make sure images in cards stay contained */
.roof-style-card img,
.material-card img,
.system-card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

/* Responsive fixes */
@media (max-width: 968px) {
  .roof-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .roof-image-block {
    min-height: 250px;
    max-height: 400px;
  }
  
  .roof-detail-img {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .service-hero-banner {
    height: 50vh;
    min-height: 300px;
  }
  
  .roof-image-block {
    min-height: 200px;
    max-height: 300px;
  }
  
  .roof-detail-img {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .service-hero-banner {
    height: 40vh;
    min-height: 250px;
  }
  
  .roof-image-block {
    min-height: 180px;
    max-height: 250px;
  }
  
  .roof-detail-img {
    max-height: 250px;
  }
}
       

        .roof-text-block h3 {
            font-size: 2rem;
            color: var(--clay-beige);
            margin-bottom: 1.5rem;
            font-weight: 600;
        }

        .benefits-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .benefits-list li {
            font-size: 1.05rem;
            color: var(--off-white);
            line-height: 1.8;
            margin-bottom: 1.2rem;
            padding-left: 1.5rem;
            position: relative;
        }

        .benefits-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--burnt-orange);
            font-weight: bold;
            font-size: 1.3rem;
        }

        .benefits-list li strong {
            color: var(--burnt-orange);
            font-weight: 600;
        }

        /* Subsection */
        .subsection-title {
            font-size: 2rem;
            color: var(--off-white);
            text-align: center;
            margin-bottom: 2rem;
            font-weight: 600;
        }

        .roof-style-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .roof-style-card {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        .roof-style-card:hover {
            background: rgba(0, 0, 0, 0.6);
            transform: translateY(-5px);
            border-color: var(--burnt-orange);
        }

		

        .style-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .roof-style-card h4 {
            font-size: 1.3rem;
            color: var(--burnt-orange);
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .roof-style-card p {
            font-size: 1rem;
            color: var(--off-white);
            line-height: 1.6;
            margin: 0;
        }

        /* Materials Section */
        .materials-section {
            margin: 4rem 0;
            padding: 3rem;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 15px;
        }

        .materials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 2rem;
        }

        .material-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 1.5rem;
            transition: all 0.3s ease;
        }

        .material-card:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-3px);
        }

        .material-card h4 {
            font-size: 1.2rem;
            color: var(--burnt-orange);
            margin-bottom: 0.75rem;
            font-weight: 600;
        }

        .material-card p {
            font-size: 0.95rem;
            color: var(--off-white);
            line-height: 1.5;
            margin: 0;
        }

        /* System Comparison */
        .system-comparison {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .system-card {
            background: rgba(0, 0, 0, 0.4);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 2rem;
            transition: all 0.3s ease;
        }

        .system-card:hover {
            background: rgba(0, 0, 0, 0.6);
            border-color: var(--burnt-orange);
            transform: translateY(-5px);
        }

        .system-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .system-header h4 {
            font-size: 1.4rem;
            color: var(--burnt-orange);
            margin: 0;
            font-weight: 600;
        }

        .system-badge {
            background: var(--burnt-orange);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .system-description {
            font-size: 1rem;
            color: var(--off-white);
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .system-features {
            list-style: none;
            padding: 0;
            margin: 0 0 1.5rem 0;
        }

        .system-features li {
            font-size: 0.95rem;
            color: var(--off-white);
            line-height: 1.8;
            margin-bottom: 0.5rem;
        }

        .ideal-for {
            font-size: 0.95rem;
            color: var(--clay-beige);
            margin: 0;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .ideal-for strong {
            color: var(--burnt-orange);
        }

        /* Process Section */
        .process-section {
            margin: 5rem 0;
            padding: 3rem;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
            border-radius: 15px;
        }

        .process-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .process-step {
            text-align: center;
            padding: 2rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .process-step:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-5px);
        }

        .step-number {
            width: 60px;
            height: 60px;
            background: var(--burnt-orange);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            font-weight: bold;
            margin: 0 auto 1.5rem;
        }

        .process-step h3 {
            font-size: 1.3rem;
            color: var(--off-white);
            margin-bottom: 0.75rem;
            font-weight: 600;
        }

        .process-step p {
            font-size: 1rem;
            color: var(--off-white);
            line-height: 1.5;
            margin: 0;
        }

        /* CTA Section */
        .service-cta {
            background: linear-gradient(135deg, var(--burnt-orange) 0%, #e67d4d60 100%);
            border-radius: 15px;
            padding: 3rem 2rem;
            text-align: center;
            color: #000;
            margin-top: 4rem;
        }

        .cta-content h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: #000;
			
        }

        .cta-content p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            color: #000;
			
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 2rem;
			
			
        }

        .btn-primary {
            background: #d46637;
            color: #000;
            padding: 12px 28px;
            border-radius: 6px;
            font-weight: bold;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            background: #e67e4d;
            transform: translateY(-2px);
        }

        .btn-secondary {
            background: transparent;
            color: #000;
            border: 2px solid var(--clay-beige);
            padding: 10px 26px;
            border-radius: 6px;
            font-weight: bold;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
        }

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

        @media (max-width: 768px) {
            .roof-content-grid {
                grid-template-columns: 1fr;
            }

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

            .section-heading {
                font-size: 2rem;
            }

            .roof-style-cards {
                grid-template-columns: 1fr;
            }

            .system-comparison {
                grid-template-columns: 1fr;
            }

            .process-steps {
                grid-template-columns: 1fr;
            }
        }

        .seo-content-block {
  margin: 4rem 0;
  padding: 3rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.seo-text-wrapper h2 {
  color: var(--burnt-orange);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.seo-text-wrapper p {
  color: var(--off-white);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: left;
}

.service-areas {
  background: linear-gradient(
    135deg, 
    rgba(200, 90, 27, 0.15) 0%, 
    rgba(217, 203, 177, 0.05) 100%
  );
  border-radius: 15px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid var(--burnt-orange);
  margin: 4rem 0;
}

.service-areas h2 {
  color: var(--off-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-areas p {
  color: var(--off-white);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.service-note {
  font-size: 0.95rem;
  color: #000;
  margin-top: 1rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .seo-content-block {
    padding: 2rem 1.5rem;
  }
  
  .seo-text-wrapper h2 {
    font-size: 1.6rem;
  }
  
  .seo-text-wrapper p {
    font-size: 1rem;
  }
  
  .service-areas {
    padding: 2rem 1rem;
  }
  
  .service-areas h2 {
    font-size: 2rem;
  }
  
  .service-areas p {
    font-size: 1rem;
  }
	
	.hero-subtitle {
    font-size:1rem;
	}
}

/* ===== DESKTOP DROPDOWN - ACCORDION STYLE LIKE MOBILE ===== */
/* Main dropdown from Services/Gallery */
.site-nav .has-dropdown > .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #222121;
  min-width: 200px;
  z-index: 1000;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.site-nav .has-dropdown.open > .dropdown {
  display: block;
}

/* Arrow indicator ONLY for Services and Gallery (top level) */
.site-nav .nav-links > .has-dropdown > a::after {
  content: " ▼";
  font-size: 0.7rem;
  margin-left: 0.3rem;
  transition: transform 0.3s ease;
}

.site-nav .nav-links > .has-dropdown.open > a::after {
  transform: rotate(180deg);
}

/* Nested dropdown - default hidden */
.site-nav .dropdown .has-dropdown > .dropdown {
  display: none;
  margin-left: 1.5rem;
  margin-top: 0.5rem;
  background-color: rgba(0, 0, 0, 0.3);
  border-left: 2px solid var(--burnt-orange);
  padding: 0.5rem 0;
  position: static;
  box-shadow: none;
  min-width: auto;
}

/* Shows when parent has .open class */
.site-nav .dropdown .has-dropdown.open > .dropdown {
  display: block;
}

.site-nav .dropdown li {
  padding: 0.3rem 0;
  margin-left: 10px;
}

.site-nav .dropdown a {
  color: var(--off-white);
  display: block;
  padding: 0.3rem 1rem;
}

/* Remove arrows from nested sub-items */
.site-nav .dropdown .dropdown a::after {
  content: none !important;
  display: none !important;
}

/* ===== MOBILE NESTED DROPDOWN ===== */
.mobile-menu .dropdown .has-dropdown > a::after {
  content: "▸";
  position: absolute;
  right: 3.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.mobile-menu .dropdown .has-dropdown.open > a::after {
  content: "▾";
  transform: translateY(-50%);
}

.mobile-menu .dropdown .dropdown {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
  background-color: rgba(0, 0, 0, 0.3);
  border-left: 2px solid var(--burnt-orange);
}

.mobile-menu .dropdown .dropdown a {
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}

/* Remove arrows from mobile nested sub-items */
.mobile-menu .dropdown .dropdown a::after {
  content: none !important;
  display: none !important;
}

/* ===== DROPDOWN TOGGLE BUTTON ===== */
/* Desktop toggle button - ONLY for nested dropdowns (Roofing) */
.site-nav .dropdown .has-dropdown {
  position: relative;
}

.site-nav .dropdown .has-dropdown > .parent-link {
  padding-right: 2.5rem;
  display: inline-block;
  width: calc(100% - 2.5rem);
}

.site-nav .dropdown .dropdown-toggle {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  background: transparent;
  border: none;
  color: var(--off-white);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.site-nav .dropdown .has-dropdown.open > .dropdown-toggle {
  transform: rotate(90deg);
}

/* Mobile toggle button - ONLY for nested dropdowns (Roofing) */
.mobile-menu .dropdown .dropdown-toggle {
  position: absolute;
  right: 0;
  top: 0.5rem; /* Move arrow to top */
  width: 3rem;
  height: 2rem; /* Set fixed height instead of bottom: 0 */
  background: transparent;
  border: none;
  color: var(--off-white);
  cursor: pointer;
  font-size: 0.8rem;
  z-index: 1;
  transition: transform 0.3s ease;
}

.mobile-menu .dropdown .has-dropdown.open > .dropdown-toggle {
  transform: rotate(90deg);
}

.mobile-menu .dropdown .has-dropdown {
  position: relative;
}

.mobile-menu .dropdown .has-dropdown > .parent-link {
  padding-right: 3rem;
  width: calc(100% - 3rem);
  display: inline-block;
}

/* MOBILE - Nested dropdown hidden by default - MORE SPECIFIC */
.mobile-menu .dropdown .has-dropdown > .dropdown {
  display: none !important;
}

/* MOBILE - Shows ONLY when parent has .open class */
.mobile-menu .dropdown .has-dropdown.open > .dropdown {
  display: block !important;
}

/* Remove CSS arrows from mobile nested dropdowns */
.mobile-menu .dropdown .has-dropdown > a::after {
  content: none !important;
  display: none !important;
}

.section-header {
	background:none;
}