:root {--primary: #111;--secondary: #db0a23;--accent: #db0a23;--text-light: #fff;--text-dark: #222;
  --text-grey: #666;--bg-light: #f5f5f5;--bg-dark: #1a1a1a;--header-height: 80px;--transition: 0.3s ease-in-out;}
* {margin: 0;padding: 0;box-sizing: border-box;}
body {font-family: 'Roboto', sans-serif;line-height: 1.6;color: var(--text-dark);background: #111;
  scroll-behavior: smooth;overflow-x: hidden;cursor: pointer;}
a {text-decoration: none;color: inherit;}
img {max-width: 100%;display: block;}
.container {max-width: 1200px;margin: 0 auto;padding: 0 15px;}
header.sticky-header {position: sticky;top: 0;width: 100%;background: #111;color: var(--text-light);
  display: flex;align-items: center;justify-content: space-between;padding: 0 30px 0 20px;
  height: var(--header-height);z-index: 1000;}
/* Style the logo div with a background image */
/* Ensure the logo container has size */
.logo {
  width: 150px;  /* Adjust the size */
  height: 60px;  /* Adjust the size */
  position: relative; /* Make sure positioning works */
}

/* Style the <a> tag to fill the logo container and make it clickable */
.logo a {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('https://new.fragileremovals.co.nz/images/fragile-removals-logo.svg');  /* Path to your logo */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.desktop-nav ul {display: flex;list-style: none;gap: 10px;font-size: 14px}
.desktop-nav li {position: relative;}
.desktop-nav li a {padding: 15px 10px;display: flex;align-items: center;color: var(--text-light);
  font-weight: 500;transition: color var(--transition);}
.desktop-nav li:hover > a,.desktop-nav li.has-submenu:hover > a {color: var(--secondary);}
.desktop-nav li.has-submenu:hover > a::after {transform: rotate(180deg);color: var(--secondary);}
.desktop-nav li .submenu {position: absolute;top: 100%;left: 0;background: #111;min-width: 250px;
  display: none;flex-direction: column;z-index: 1000;padding:10px 0;}
.desktop-nav li:hover > .submenu {display: flex;}
.desktop-nav .submenu li a {padding: 0 15px;color: var(--text-light);transition: color var(--transition);}
.desktop-nav .submenu li a:hover {color: var(--secondary);}
.desktop-nav .submenu li.has-submenu {position: relative;}
.desktop-nav .submenu li.has-submenu > .submenu {top: 0;left: 100%;display: none;flex-direction: column;
  border-top: none;background: #1a1a1a;}
.desktop-nav .submenu li.has-submenu:hover > .submenu {display: flex;}
.desktop-nav .submenu li.has-submenu > a::after {content: "▶";font-size: 10px;margin-left: 5px;
  transition: transform var(--transition), color var(--text-light);}
.desktop-nav .submenu li.has-submenu:hover > a::after {transform: rotate(90deg);color: var(--secondary);}
.nav-right {display: flex;align-items: center;gap: 20px;}
.cta-btn {padding: 8px 15px;border-radius: 5px;background: var(--secondary);color: var(--text-light);
  font-weight: 500;transition: background var(--transition), transform var(--transition);}
.cta-btn:hover {background: var(--secondary);transform: translateY(-2px);color: var(--text-light);}
.cta-btn.secondary {background: var(--secondary);color: var(--text-light);transform: translateY(-2px)}
.hamburger {display: none;font-size: 40px;cursor: pointer;background: none;border: none;
  color: var(--text-light);transition: transform var(--transition);}
.hamburger.open {transform: rotate(90deg);}
.mobile-nav {position: fixed;top: var(--header-height);left: 0;width: 100%;
  height: calc(100% - var(--header-height));background: #111;color: var(--text-light);overflow-y: auto;
  transform: translateX(-100%);transition: transform var(--transition);z-index: 999;padding-top: 20px}
.mobile-nav.open {transform: translateX(0);}
.mobile-nav ul {list-style: none;display: flex;flex-direction: column;}
.mobile-nav li {background-color: var(--primary);border-bottom: 2px solid red;margin:0 20px}
.mobile-nav ul li:hover {background-color: rgba(255, 255, 255, 0.1);}
.mobile-nav li a {padding: 10px 20px;display: block;color: var(--text-light);}
#mobileMenu > ul > li.has-submenu.open > ul > li {padding-left: 20px;}
#mobileMenu > ul > li.has-submenu.open > ul > li.has-submenu.open > ul > li {padding-left: 20px;}
.mobile-nav .cta-btn {margin: 10px 20px;background: var(--secondary);color: var(--text-light);}
.mobile-nav .cta-btn:hover{background: #a0081b}
.mobile-nav .has-submenu > .submenu {max-height: 0;overflow: hidden;transition: max-height var(--transition);
  flex-direction: column;background: #1a1a1a;}
.mobile-nav .has-submenu.open > .submenu {max-height: 1000px;}
.submenu-header {display: flex;justify-content: space-between;align-items: center;cursor: pointer;padding-right: 25px;}
.submenu-toggle {font-size: 14px;transition: transform var(--transition);}
.has-submenu.open > .submenu { display: block; }
.has-submenu.open > .submenu-header .submenu-toggle {transform: rotate(180deg);}
.mobile-nav .has-submenu .submenu-header:hover a,.mobile-nav a:hover,
.mobile-nav .has-submenu .submenu-header:hover .submenu-toggle {color: var(--secondary);}
/* ===================== HERO ===================== */
.hero {
  position: relative;
  height: calc(100vh - 60px);
  max-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* full-bleed hero image */
.hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fills container like background-size: cover */
  z-index: 0;
}

/* animated gradient overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg,
    rgba(17,17,17,0.2),
    rgba(219,10,35,0.3),
    rgba(17,17,17,0.2));
  background-size: 600% 600%;
  border-radius: inherit;
  animation: gradientShift 15s ease infinite;
  z-index: 1;
}

/* dark bottom fade */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.5) 100%);
  pointer-events: none;
  z-index: 2;
}

/* gradient animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* overlay box (text + buttons) */
.hero-overlay {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--text-light);
  padding: 30px 20px;
  background: rgba(17,17,17,0.35);
  border-radius: 12px;
  max-width: 900px;
  opacity: 0;
  transform: scale(0.95) rotate(-2deg);
  animation: fadeInScale 1s forwards;
}

/* new fade + scale + slight rotation animation */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95) rotate(-2deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.02) rotate(1deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}


/* heading */
.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* subheading/paragraph */
.hero-overlay p {
  font-size: 1.3rem;
  margin-bottom: 25px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* buttons */
.hero-buttons a {
  display: inline-block;
  padding: 12px 28px;
  margin: 0 10px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.2s ease,
              box-shadow 0.2s ease,
              background 0.2s ease;
  background: var(--secondary);
  color: var(--text-light);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.hero-buttons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  background: #a0081b;
}

/* optional arrow icon */
.btn-arrow {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.hero-buttons a:hover .btn-arrow {
  transform: translateX(5px);
}
@media (max-width: 992px) {.desktop-nav { display: none; }.hamburger { display: block; }.hero-overlay h1 { font-size: 2.2rem; }
  .hero-overlay p { font-size: 1.1rem; }}
@media (max-width: 768px) {.hero-overlay h1 { font-size: 1.8rem; }.hero-overlay p { font-size: 1rem; }
  .hero-buttons a { padding: 10px 20px; font-size: 1rem; margin: 5px; }.hero-overlay{margin:0 30px}}


/* ===================== ABOUT US ===================== */
.about-us {
  background-color: #000; /* Black background */
  color: #fff; /* White text for contrast */
  padding: 50px 0;
}


.why-choose-us .container a{
  text-decoration: underline;}
.why-choose-us .container a:hover{color: var(--secondary);}
h2 {
  font-size: 2rem;
  margin-top: 40px;
  color: #db0a23;
}

h3 {
  font-size: 1.6rem;
  color: #db0a23;
}

p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ccc; /* Light grey text for better readability */
  margin-bottom: 20px;
}

.difference-list {
  list-style: none;
  padding: 0;
}

.difference-list li {
  font-size: 1.2rem;
  color: #ccc; /* Light grey text */
  margin-bottom: 15px;
}

.core-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
}

.core-value {
  width: 32%;
  margin-bottom: 30px;
}

.core-value h3 {
  font-size: 1.4rem;
  color: #db0a23;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .core-value {
    width: 100%;
  }
}










.services-preview {padding:20px;background: #111;color: #fff;text-align: center;}
.services-preview h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem); /* scales nicely from mobile to desktop */
  margin-bottom: 15px;
  color: #db0a23;
  line-height: 1.2;
}

.services-preview h3 {
  font-size: clamp(1rem, 3vw, 1.4rem); /* slightly larger on mobile for readability */
  color: #ccc;
  line-height: 1.5;
  max-width: 700px;
  margin: 10px auto 20px;
}

.services-preview .preview-header {display: flex;flex-direction: column;align-items: center;text-align: center;
  gap: 20px;}
.services-preview .preview-image {width: 100%;max-width: 1200px;border-radius: 12px;border: 2px solid #333;
  display: block;object-fit: cover;}
.services-preview .preview-text {max-width: 1200px;}
@media (min-width: 1024px) {.services-preview .preview-header {display: grid;grid-template-columns: 1fr 1fr;
  gap: 40px;align-items: center;text-align: left;margin-bottom: 20px}
  .services-preview .preview-header .preview-image {grid-column: 1 / 2;width: 100%;height: auto;}
  .services-preview .preview-text {grid-column: 2 / 3;display: flex;flex-direction: column;justify-content: center;}}
.service-cards {display: grid;grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));gap: 30px;}
@media (min-width: 768px) {.service-cards {grid-template-columns: repeat(3, 1fr);}}
.service-card {background: #1a1a1a;padding: 30px 20px;border-radius: 12px;border: 2px solid #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;text-align: center;}
.service-card:hover {transform: translateY(-5px);box-shadow: 0 10px 20px rgba(219, 10, 35, 0.4);border-color: #db0a23;}
.service-card img {display: block;margin: 0 auto 20px;height: 70px;border-radius: 8px;
  object-fit: contain;}
.service-card:hover img {transform: scale(1.1);}
.service-card h3 {font-size: 1.5rem;margin-bottom: 10px;color: #fff;}
.service-card p {color: #ccc;font-size: 1rem;line-height: 1.4;}
.service-btn {display: inline-block;margin-top: 15px;padding: 8px 20px;background: #db0a23;color: #fff;border-radius: 5px;
  font-weight: 500;transition: background 0.3s ease, transform 0.2s ease;text-decoration: none;}
.service-btn:hover {background: #ff1a3c;transform: translateY(-3px);}

/* FAQ Section Styles */
.faq {padding:40px 20px;background:#111;color:#fff;max-width:1000px;margin:auto;}
.faq h2 {font-size:clamp(1.5rem,5vw,2.5rem);color:#db0a23;margin-bottom:30px;text-align:center;}
.faq-item {border-bottom:1px solid #333;margin-bottom:10px;}
.faq-header {display:flex;justify-content:space-between;align-items:center;width:100%;cursor:pointer;margin-bottom:0;}
.faq-question {background:none;border:none;color:#fff;font-size:1.2rem;padding:15px 0;text-align:left;flex:1;outline:none;cursor: pointer;}
.faq-arrow {transition:transform 0.3s ease;color:#db0a23;font-size:1.2rem;}
.faq-item.active .faq-arrow {transform:rotate(90deg);}
.faq-answer {max-height:0;overflow:hidden;transition:max-height 0.3s ease,padding 0.3s;}
.faq-item.active .faq-answer {max-height:1000px;padding:10px 0;} /* large enough for all content */
.faq-answer p {margin:0 0 20px;color:#ccc;line-height:1.5;}
@media (min-width:768px){.faq-question{font-size:1.4rem}.faq-arrow{font-size:1.4rem;}}

.why-choose-us {
  padding: 50px 20px;
  background: #1a1a1a; /* Darker background for contrast */
  color: #fff;
  text-align: center;
  border-radius: 12px; /* Rounded corners for a modern look */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

.why-choose-us h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: #db0a23; /* Accent color for headings */
  margin-bottom: 20px;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); 
}

.why-choose-us h3 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase; /* For added emphasis */
}

.why-choose-us p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 1200px;
  margin: 0 auto 30px;
  color: #ccc; /* Slightly lighter text for readability */
}

.moving-features {
  list-style: none; /* Removes the default list bullet points */
  padding-left: 0;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.moving-features li {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.6;
  position: relative; /* Adds space for a custom bullet */
  padding-left: 40px; /* Space for custom bullet */
}

.moving-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background: url('../images/icon-check.svg') no-repeat center center;
  background-size: contain;
}


@media(min-width: 768px) {
  .why-choose-us {
    text-align: left; /* Left-align text for larger screens */
  }

  .why-choose-us h2,
  .why-choose-us h3,
  .why-choose-us p {
    text-align: center;
  }

  .moving-features li {
    font-size: 1.1rem; /* Slightly larger text on larger screens */
  }
}
.preview-text p{margin-bottom: 5px}



.testimonials-preview {
  padding: 40px 20px;
  background: var(--bg-light);
  text-align: center;
  color: var(--text-dark);
}

.testimonials-preview p {
  color: var(--text-dark); /* Or use a specific color like #111 */
  margin-bottom: 1.5rem; /* Adjust spacing if needed */
}

.testimonials-preview h2 {
  font-size: clamp(1.2rem, 5vw, 2rem);
  margin-bottom: 2rem;
  color: var(--primary);
  line-height: 1.2;
}

.testimonial-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2.5rem;
}

.testimonial-item {
  background: var(--text-light);
  padding: 25px 20px;
  border-radius: 12px;
  flex: 0 0 100%; /* Mobile-first width */
  scroll-snap-align: start;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
}

.testimonial-item:hover,
.testimonial-item:focus {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.testimonial-item p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #222;
}

.testimonial-author {
  font-weight: bold;
  color: var(--secondary);
  font-size: 0.95rem;
}

.stars {
  color: #fbbc04; /* Google star yellow */
  font-size: 1.2rem;
  margin-bottom: 8px;
  display: block;
  margin-bottom: 15px;
  text-align: center;
}

/* Desktop layout */
@media (min-width: 769px) {
  .testimonial-slider {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
  }
  .testimonial-item {
    flex: 1 1 300px;
    max-width: 350px;
  }
}

/* Focus state for accessibility */
.testimonial-item:focus {
  outline: 2px solid var(--primary); /* Customize focus style */
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    align-items: center;
  }
  .testimonial-item {
    width: 90%;
    margin-bottom: 2rem;
  }
}



.blog-cards {display: flex;flex-wrap: wrap;gap: 20px;justify-content: space-between;}
.blog-card {flex: 1 1 calc(33.333% - 20px);background: var(--bg-light);border-radius: 10px;overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;}
.blog-card:hover {transform: translateY(-5px);box-shadow: 0 10px 20px rgba(0,0,0,0.15);}
.blog-card img {width: 100%;height: 200px;object-fit: cover;}
.blog-card article {padding: 1.5rem;}
.blog-card h3 {font-size: 1.25rem;margin-bottom: 0.5rem;color: var(--primary);}
.blog-card p {color: var(--text-grey);font-size: 0.95rem;line-height: 1.5;margin-bottom: 1rem;}
.blog-card .cta-btn {display: inline-block;padding: 0.5rem 1rem;background-color: var(--secondary);color: #fff;
  border-radius: 8px;font-weight: 500;text-decoration: none;transition: background-color 0.3s;}
.blog-card .cta-btn:hover {background-color: var(--accent);}
.blog-preview{background-color: var(--text-light);padding: 25px}
.blog-preview h3 a.inline-link {color: #db0a23;text-decoration: underline;transition: color 0.3s ease;}
.blog-preview h2{font-size: clamp(1.2rem, 5vw, 2rem)}
.blog-preview h3 a.inline-link:hover {color: #ff1a3c;}
.blog-preview h3{font-size:1.2rem;margin-bottom: 20px;color: var(--primary);}
@media (max-width: 992px) {.blog-card {flex: 1 1 calc(50% - 20px);}}
@media (max-width: 600px) {.blog-card {flex: 1 1 100%;}}
.blog-preview p.seo-paragraph {
  color: var(--text-dark);       /* Dark text for contrast on light background */
  font-size: clamp(0.95rem, 2.5vw, 1.1rem); /* scales nicely from mobile to desktop */
  line-height: 1.6;
  margin-top: 2rem;
       /* optional: center text, or use left for desktop */
}

@media (min-width: 769px) {
  .blog-preview p.seo-paragraph {
    text-align: left;            /* left-align on larger screens */
  }
}

.cta-banner {background: linear-gradient(135deg, #db0a23 0%, #b50a1f 100%);color: #fff;text-align: center;
  padding: 60px 20px;margin: 40px 0;position: relative;overflow: hidden;}
.cta-banner::before {content: "";position: absolute;top: -20%;left: -20%;width: 140%;height: 140%;
  background: rgba(255,255,255,0.05);transform: rotate(45deg);pointer-events: none;}
.cta-banner h2 {color:var(--text-light);font-size: 2.2rem;margin-bottom: 25px;line-height: 1.2;text-shadow: 2px 2px 8px rgba(0,0,0,0.3);}
.cta-banner .cta-buttons {display: flex;justify-content: center;gap: 20px;flex-wrap: wrap;}
.cta-banner .cta-btn {padding: 15px 30px;font-size: 1.1rem;font-weight: 600;border-radius: 8px;background: #fff;
  color: #db0a23;transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;}
.cta-banner .cta-btn:hover {transform: translateY(-3px);box-shadow: 0 5px 20px rgba(0,0,0,0.25);background: #f5f5f5;}
.cta-banner .cta-btn.secondary {background: transparent;border: 2px solid #fff;color: #fff;}
.cta-banner .cta-btn.secondary:hover {background: #fff;color: #db0a23;}
/* ===================== FOOTER ===================== */
footer {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%); /* subtle gradient */
  color: var(--text-light);
  font-size: 0.95rem;
  text-align: center;
  padding: 30px 20px;
  position: relative;
  overflow: hidden;
}

footer a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ff3b4a;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px 20px;
  gap: 20px;
  border-bottom: 2px solid var(--secondary);
}

.footer-logo h3 {
  margin: 0;
  font-size: 1.5rem;
}

.footer-contact p,
.footer-info p {
  margin: 5px 0;
  line-height: 1.5;
}

.footer-social a {
  margin: 0 5px;
  display: inline-block;
}

.footer-social img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  padding: 15px 20px;
  font-size: 0.85rem;
}

/* Back-to-top button */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  display: none;
  opacity: 0.6;
  transition: background 0.3s ease, transform 0.2s ease, opacity 0.2s ease;
  z-index: 1000;
}

#back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact, .footer-social {
    margin-top: 15px;
  }

  .footer-social a {
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  #back-to-top {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
    bottom: 15px;
    right: 15px;
  }
}

[data-aos] {opacity: 0;transform: translateY(20px);transition: opacity 0.6s ease, transform 0.6s ease;}
.aos-animate {opacity: 1;transform: translateY(0);}





