/* Easy Electrical & Plumbing - Global Design System */

:root {
  /* Colors */
  --color-primary: #F7CF21;
  --color-accent: #FFD50E;
  --color-bg: #FFFFFF;
  --color-text: #222222;
  --color-text-on-primary: #463939;
  --color-dark: #1a1a1a;
  --color-gray-light: #f4f4f4;
  --color-white: #ffffff;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Source Sans Pro', sans-serif;
  --fs-h1: clamp(2.5rem, 6vw, 4.375rem);
  /* 70px max */
  --fs-h2: clamp(1.5rem, 3vw, 2rem);
  /* 32px max */
  --fs-h3: 1.5rem;
  --fs-body: 1rem;
  --fs-sm: 0.875rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2.5rem;
  --space-xl: 5rem;
  --max-width: 1200px;
  --container-padding: 1.5rem;

  /* Shape */
  --radius-btn: 50px;
  --radius-input: 0px;
  --radius-card: 8px;

  /* Transitions */
  --transition: all 0.3s ease;

  /* Shadow */
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  font-weight: 700;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

p {
  margin-bottom: var(--space-md);
}

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

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

ul {
  list-style: none;
}

/* Layout Components */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-xl) 0;
}

.section-padding {
  padding: var(--space-xl) 0;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: var(--space-lg);
}

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

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

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

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

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

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

.btn-pill {
  border-radius: 50px;
}

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-text-on-primary);
}

/* Form Styles */
input,
textarea,
select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  border: 1px solid #ddd;
  border-radius: var(--radius-input);
  margin-bottom: var(--space-md);
  transition: var(--transition);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(247, 207, 33, 0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.full-width {
  grid-column: span 2;
}

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

  .full-width {
    grid-column: span 1;
  }
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-top {
  background: var(--color-white);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-gray-light);
}

.header-top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  color: var(--color-dark);
}

.header-contact .phone-icon {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.header-logo-wrapper .logo img {
  height: 120px;
  width: auto;
}

.header-cta .btn-pill {
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
}

.header-bottom {
  background-color: var(--color-primary);
  border-bottom: 3px solid var(--color-dark);
}

.nav-bottom-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links>li>a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-dark);
  padding: 1rem 0;
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links>li>a:hover,
.nav-links>li>a.active {
  color: var(--color-white);
}

.dropdown-arrow-icon {
  font-size: 1.1rem;
  transition: var(--transition);
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-white);
  min-width: 250px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  padding: 0.5rem 0;
  border-top: 3px solid var(--color-primary);
  border-radius: 0 0 4px 4px;
}

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

.nav-item-dropdown:hover .dropdown-arrow-icon {
  transform: rotate(180deg);
}

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  font-family: var(--font-heading);
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  background-color: var(--color-gray-light);
  color: var(--color-primary);
  padding-left: 1.75rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  position: relative;
  font-size: 2.8rem;
  color: var(--color-primary);
  padding: 0;
}

.mobile-nav-toggle .menu-icon-close {
  display: none;
}

.mobile-nav-toggle.active .menu-icon-open {
  display: none;
}

.mobile-nav-toggle.active .menu-icon-close {
  display: block !important;
}

/* Mobile Header Top */
.header-mobile {
  background: var(--color-white);
  border-bottom: 3px solid var(--color-primary);
  padding: 0.75rem 0;
  position: relative;
  z-index: 1002;
}

.mobile-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-mobile .logo img {
  height: 50px;
  width: auto;
}

.mobile-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25D366;
  font-size: 2.5rem;
  transition: var(--transition);
  z-index: 1003;
  flex-shrink: 0;
  min-width: 40px;
}

.mobile-whatsapp:hover {
  transform: scale(1.1);
}

/* Desktop / Mobile Visibility Utility Classes */
@media (min-width: 993px) {
  .hide-desktop {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .hide-mobile {
    display: none !important;
  }

  .header-bottom {
    background: transparent !important;
    border-bottom: none !important;
  }

  body.menu-open {
    overflow: hidden;
  }

  #main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 110px 2rem 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  body.menu-open #main-nav {
    transform: translateX(0);
    opacity: 1;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2rem;
  }

  .nav-links > li {
    opacity: 0;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  }

  body.menu-open .nav-links > li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered delay for sleek entrance animation */
  body.menu-open .nav-links > li:nth-child(1) { transition-delay: 0.05s; }
  body.menu-open .nav-links > li:nth-child(2) { transition-delay: 0.10s; }
  body.menu-open .nav-links > li:nth-child(3) { transition-delay: 0.15s; }
  body.menu-open .nav-links > li:nth-child(4) { transition-delay: 0.20s; }
  body.menu-open .nav-links > li:nth-child(5) { transition-delay: 0.25s; }
  body.menu-open .nav-links > li:nth-child(6) { transition-delay: 0.30s; }

  .nav-links>li>a {
    font-size: 1.15rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    justify-content: space-between;
    color: var(--color-dark);
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
  }

  .nav-links>li>a:hover,
  .nav-links>li>a.active {
    background-color: rgba(247, 207, 33, 0.12);
    color: var(--color-dark);
    padding-left: 1.5rem;
  }

  .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-left: 1.25rem !important;
    border-top: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), margin 0.3s ease !important;
    display: block !important;
  }

  .nav-item-dropdown.active .dropdown-menu {
    max-height: 500px !important;
    margin-top: 0.5rem !important;
    margin-bottom: 1rem !important;
  }

  .nav-item-dropdown.active .dropdown-arrow-icon {
    transform: rotate(180deg);
  }

  .dropdown-menu li a {
    font-size: 1.05rem;
    padding: 0.65rem 1.25rem;
    font-weight: 500;
    color: #444444;
    display: flex;
    align-items: center;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
  }

  .dropdown-menu li a:hover,
  .dropdown-menu li a.active {
    background-color: var(--color-gray-light);
    color: var(--color-primary);
    padding-left: 1.75rem;
  }

  /* Specific style for dynamically added Overview link */
  .dropdown-menu li.dropdown-overview-item a {
    font-weight: 700 !important;
    color: var(--color-dark) !important;
    border-left: 3px solid var(--color-primary);
    border-radius: 0 6px 6px 0;
  }

  .mobile-nav-extras {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-light);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  }

  body.menu-open .mobile-nav-extras {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
  }

  .mobile-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
  }

  .mobile-socials a {
    font-size: 1.8rem;
    color: var(--color-dark);
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .mobile-socials a:hover {
    transform: scale(1.2);
    color: var(--color-primary);
  }
}

/* Logo Sizing - Responsive */
/* Desktop & Tablet Default (Doubled) */
.header-logo-wrapper .logo img {
  height: 120px;
  width: auto;
}

.header-mobile .logo img {
  height: 100px;
  /* Doubled for tablet */
  width: auto;
}

.footer-about img {
  height: 80px;
  width: auto;
}

/* Mobile Phone (Original Sizes) */
@media (max-width: 600px) {
  .header-mobile .logo img {
    height: 50px;
  }

  .footer-about img {
    height: 40px !important;
  }
}

/* Scrolled Header State (Desktop) */
@media (min-width: 993px) {

  .site-header .header-top,
  .site-header .header-logo-wrapper .logo img {
    transition: var(--transition);
  }

  .site-header.scrolled .header-top {
    padding: 0.25rem 0;
  }

  .site-header.scrolled .header-logo-wrapper .logo img {
    height: 36px;
  }
}



/* Footer & CTA Bar */
.footer-cta-bar {
  background-color: var(--color-primary);
  padding: 2.5rem 0;
  position: relative;
  z-index: 5;
}

.footer-cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}

.footer-cta-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 5px 0;
  line-height: 1.2;
}

.footer-cta-text p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-white);
  margin: 0;
  opacity: 0.95;
}

.footer-cta-card-wrapper {
  position: relative;
  z-index: 10;
}

.footer-cta-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: var(--color-white);
  padding: 1.25rem 2.5rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.cta-phone-icon {
  font-size: 1.5rem;
  color: #1a1a1a;
}

.footer-cta-card span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}

.site-footer {
  background-color: #1c1c1c;
  color: var(--color-white);
  padding: 4rem 0 0 0;
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 1.5rem 0;
  position: relative;
}

.footer-about-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  max-width: 250px;
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cccccc;
  margin: 0 0 1.5rem 0;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-socials a {
  color: var(--color-white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
  color: var(--color-primary);
  transform: scale(1.15);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 1.05rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

/* Footer service areas dropdown */
.footer-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  width: 100%;
  color: #cccccc;
  font-size: 1.05rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-family: inherit;
}

.footer-dropdown-toggle:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.footer-dropdown-toggle .footer-dropdown-chevron {
  font-size: 0.85rem;
  margin-left: 6px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.footer-dropdown-item.open .footer-dropdown-chevron {
  transform: rotate(180deg);
}

.footer-sub-links {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.footer-dropdown-item.open .footer-sub-links {
  max-height: 200px;
}

.footer-sub-links li {
  margin-bottom: 0.5rem;
}

.footer-sub-links a {
  color: #aaaaaa;
  font-size: 0.95rem;
  padding-left: 1rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-sub-links a::before {
  content: '›';
  margin-right: 6px;
  color: var(--color-primary);
}

.footer-sub-links a:hover {
  color: var(--color-primary);
  padding-left: 1.25rem;
}


.nav-chevron {
  font-size: 0.8rem;
  margin-left: 5px;
  vertical-align: middle;
}

.working-hours-info p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.working-hours-info .days {
  color: #cccccc;
  margin-bottom: 0.25rem;
}

.working-hours-info .hours {
  color: var(--color-white);
  font-weight: 600;
}

.footer-bottom {
  background-color: #0e0e0e;
  padding: 1.5rem 0;
  border-top: 1px solid #282828;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.9rem;
  color: #888888;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #888888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--color-primary);
}

.footer-bottom .designer a {
  text-decoration: underline;
}

/* Responsiveness for Footer */
@media (max-width: 992px) {
  .footer-cta-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-cta-card-wrapper {
    margin-bottom: 0;
  }

  .site-footer {
    padding-top: 4rem;
  }

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

@media (max-width: 600px) {
  .footer-cta-text h2 {
    font-size: 1.75rem;
  }

  .footer-cta-card {
    padding: 1rem 1.75rem;
  }

  .footer-cta-card span {
    font-size: 1.1rem;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background-color: var(--color-dark);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  margin-bottom: var(--space-md);
}

.hero-btns {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* Accordion */
.accordion {
  margin-top: var(--space-lg);
}

.accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-header {
  padding: var(--space-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-header h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  padding-bottom: var(--space-md);
}

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

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

.text-light {
  color: #ccc;
}

.img-responsive {
  width: 100%;
  height: auto;
}

.rounded {
  border-radius: var(--radius-card);
}

.shadow {
  box-shadow: var(--shadow);
}

/* Utils */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: var(--space-xs);
}

.mb-2 {
  margin-bottom: var(--space-sm);
}

.mb-4 {
  margin-bottom: var(--space-lg);
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-dark);
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: var(--radius-card);
  z-index: 9999;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  width: calc(100% - 40px);
  max-width: 600px;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: var(--space-md);
}

.cookie-content p {
  margin-bottom: 0;
  font-size: var(--fs-sm);
}

.cookie-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  #main-nav .nav-links {
    display: flex !important;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .header-bottom {
    background: none !important;
    border: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  #cookie-banner {
    bottom: 10px;
  }
}

/* Home Page Styles */

/* Hero Section */
.home-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 19, 39, 0.7);
  /* Dark blue overlay */
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 4rem;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  color: var(--color-white);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.hero-form-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  max-width: 450px;
}

.hero-form-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-card);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  width: 100%;
  color: var(--color-text);
}

.hero-form-card .form-header h2 {
  color: var(--color-primary);
  margin-top: 0.5rem;
}

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

.form-group-line input,
.form-group-line select,
.form-group-line textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 1rem;
  background-color: #f9f9f9;
}

.form-group-line input:focus,
.form-group-line select:focus,
.form-group-line textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: #fff;
}

.full-width {
  width: 100%;
}

/* Features Section */
.home-features {
  background-color: var(--color-white);
  color: var(--color-text);
  padding: var(--space-xl) 0;
}

.features-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.features-content {
  flex: 1;
}

.features-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-card);
  border: 1px solid #eee;
  overflow: hidden;
  transition: var(--transition);
}

.feature-item.active {
  box-shadow: var(--shadow);
}

.feature-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  width: 100%;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
}

.feature-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.feature-icon iconify-icon {
  font-size: 1.2rem;
}

.feature-arrow {
  font-size: 1.5rem;
  opacity: 0.7;
  transition: transform 0.3s ease;
  color: var(--color-text);
}

.feature-item.active .feature-arrow {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
}

.accordion-content p {
  padding-bottom: 1.5rem;
  margin: 0;
  color: #555;
  /* Dark grey */
  font-weight: 400;
  line-height: 1.6;
}

.feature-item.active .accordion-content {
  max-height: 200px;
}

.features-image-wrapper {
  flex: 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.features-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 400px;
}

/* Services Section */
.home-services {
  padding: 100px 0;
  background-color: #f8f9fa;
}

.services-header {
  margin-bottom: var(--space-xl);
}

.services-header h2 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

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

.service-block {
  display: flex;
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  align-items: stretch;
  height: 420px;
}

.service-block:nth-child(even) {
  flex-direction: row-reverse;
}

.service-img {
  flex: 1;
  min-width: 300px;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

.service-details {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-heading {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.service-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #555;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-secondary);
  font-weight: bold;
}

/* Reviews Section */
.home-reviews {
  padding: 0;
  background-color: #2D3748;
  background-image: linear-gradient(rgba(45, 55, 72, 0.6), rgba(45, 55, 72, 0.6)), url('../assets/images/reviews-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  position: relative;
  overflow: visible;
  margin-top: 5rem;
}

.reviews-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.reviews-img-wrapper {
  flex: 0 0 45%;
  position: relative;
  margin-top: -5rem;
  z-index: 2;
  overflow: hidden;
}

.electrician-img {
  display: block;
  width: 110%;
  margin-left: -5%;
  height: auto;
  border-radius: 0;
  object-fit: cover;
  object-position: bottom;
  transform: translateY(4rem);
}

.reviews-content {
  flex: 0 0 50%;
  padding: 5rem 0;
  text-align: center;
}

.reviews-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-white);
  font-size: 2.5rem;
  font-weight: 700;
}

.quote-container {
  margin-bottom: 1.5rem;
}

.quote-icon-img {
  font-size: 4rem;
  color: var(--color-white);
}

.testimonial-slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.prev-testimonial,
.next-testimonial {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-white);
  transition: opacity 0.3s;
}

.prev-testimonial:hover,
.next-testimonial:hover {
  opacity: 0.7;
}

.testimonial-slider {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 220px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  align-items: flex-start;
}

.testimonial-slide {
  min-width: 100%;
}

.testimonial-slide p {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-slide cite {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  color: var(--color-white);
  letter-spacing: 1px;
}



/* Responsive Overrides */
@media (max-width: 992px) {

  .hero-container,
  .features-container {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-form-wrapper {
    max-width: 100%;
    margin-top: 2rem;
  }

  .service-block,
  .service-block:nth-child(even) {
    flex-direction: column;
    height: auto;
  }

  .reviews-container {
    flex-direction: column-reverse;
    align-items: center;
  }

  .reviews-img-wrapper {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }

  .reviews-img-wrapper .electrician-img {
    transform: translateY(0);
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: block;
  }

  .reviews-content {
    padding: 3rem 1rem 1.5rem 1rem;
  }

  .testimonial-slider {
    min-height: 250px;
  }
}

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

  .reviews-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .service-details {
    padding: 2rem;
  }

  .testimonial-slide p {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   Electrical Services Redesign Page-Specific Styles
   ========================================================================== */

/* Curated Gallery & Smooth Reveal */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  height: 300px;
}

.gallery-item.hidden {
  display: none;
  opacity: 0;
  transform: translateY(20px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0) 100%);
  padding: 1.5rem;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

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

.gallery-overlay-text h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.gallery-overlay-text p {
  font-size: 0.85rem;
  margin-bottom: 0;
  opacity: 0.85;
}

/* Load More Button Wrapper */
.gallery-cta-wrapper {
  margin-top: 3rem;
}

/* Emergency Electrician Banner */
.emergency-banner {
  background: linear-gradient(135deg, #1e1e1e 0%, #292929 100%);
  border-top: 4px solid var(--color-primary);
  color: var(--color-white);
  padding: 4rem 0;
  text-align: center;
}

.emergency-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  text-align: left;
}

@media (max-width: 768px) {
  .emergency-flex {
    flex-direction: column;
    text-align: center;
  }
}

.emergency-text h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.emergency-text p {
  font-size: 1.2rem;
  margin-bottom: 0;
  color: #ddd;
}

/* Concerned about dodgy wiring Section (Damage Restauration) */
.dodgy-wiring-section {
  padding: var(--space-xl) 0;
  background-color: var(--color-white);
  color: var(--color-text);
}

.dodgy-wiring-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .dodgy-wiring-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.dodgy-images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.dodgy-img-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  height: 250px;
}

.dodgy-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dodgy-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  padding: 0.75rem 1rem;
  color: var(--color-white);
}

.dodgy-img-caption h4 {
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.dodgy-img-caption p {
  font-size: 0.75rem;
  margin-bottom: 0;
  opacity: 0.8;
}

.dodgy-content h2 {
  font-size: 2.5rem;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.dodgy-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 2rem;
}

/* Professional Inspections Tabbed Interface */
.inspections-section {
  background-color: #f9f9f9;
  padding: var(--space-xl) 0;
}

.inspections-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.inspections-header h2 {
  font-size: 2.5rem;
  color: var(--color-dark);
}

.inspections-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 1rem;
}

.tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  padding: 0.75rem 2rem;
  cursor: pointer;
  color: #666;
  position: relative;
  transition: color 0.3s ease;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-btn.active {
  color: var(--color-dark);
}

.tab-btn.active::after {
  transform: scaleX(1);
}

.tab-content {
  position: relative;
  min-height: 400px;
}

.tab-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tab-pane.active {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  opacity: 1;
}

@media (max-width: 992px) {
  .tab-pane.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.tab-image {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 380px;
}

.tab-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tab-text {
  padding: 1rem 0;
}

.tab-text h3 {
  font-size: 1.85rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.tab-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 2rem;
}

/* Quote Icon Artboard Box styling */
.quote-icon-box {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.quote-icon-box svg {
  width: 70px;
  height: 70px;
  fill: var(--color-primary);
}

/* Testimonial slider background fix */
.electrical-reviews {
  padding: 5rem 0;
  background: linear-gradient(rgba(45, 55, 72, 0.8), rgba(45, 55, 72, 0.8)), url('/assets/images/reviews-bg.png');
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  border-top: 4px solid var(--color-primary);
}

.electrical-reviews .reviews-content {
  padding: 0;
}

/* ==========================================================================
   Service Areas (Suburb) Page & Grid Styles
   ========================================================================== */
.suburbs-section {
  padding: var(--space-xl) 0;
  background-color: #f8f9fa;
}

.suburbs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.suburb-card {
  display: block;
  background: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-dark);
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.suburb-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
  color: var(--color-primary);
}

.suburb-card iconify-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  display: block;
}

/* ==========================================================================
   About Page Custom & Expertise Card Styles
   ========================================================================== */
.about-intro-section {
  padding-top: var(--space-xl);
  padding-bottom: 0;
  background-color: var(--color-bg);
  overflow: hidden;
}

.about-intro-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 993px) {
  .about-intro-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }
}

.about-intro-text {
  padding-bottom: var(--space-xl);
}

.about-intro-image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.about-intro-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0;
  transform: translateY(0);
}

.expertise-cards-container {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .expertise-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.expertise-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--color-primary);
}

.expertise-card:hover::before {
  width: 8px;
}

.expertise-card-icon {
  font-size: 1.8rem;
  color: var(--color-text-on-primary);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(247, 207, 33, 0.3);
}

.expertise-card:hover .expertise-card-icon {
  transform: scale(1.1) rotate(10deg);
  background-color: var(--color-accent);
}

.expertise-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.expertise-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666666;
}

.expertise-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.expertise-list li {
  font-size: 0.9rem;
  color: #4a5568;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.list-check {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: bold;
}

@media (max-width: 992px) {
  .about-intro-section {
    padding-bottom: 0;
  }
  .about-intro-text {
    padding-bottom: 2rem;
  }
  .about-intro-image img {
    max-width: 280px;
    margin: 0 auto;
  }
}