:root {
  --primary: #007BFF;
  /* Bright Blue (tools & roof) */
  --secondary: #003366;
  /* Dark Blue (text: Upgrades) */
  --accent: #00CFFF;
  /* Light Blue (stars) */
  --wave: #0096D6;
  /* Wave Blue */
}

/* Body */
body {
  padding-top: 0;
  margin: 0;
  background: linear-gradient(to bottom, #f9f9f9, #ffffff);
}

/* Logo and header */
.logo {
  width: 300px;
  margin-bottom: 1rem;
}

/* Navbar */
.custom-navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  min-height: 120px;
  z-index: 1030;
  position: relative;
  border-bottom: 2px solid var(--primary);
}

/* Dropdown Fix */
.dropdown-menu {
  z-index: 1050;
  position: absolute;
}

/* Buttons */
.btn {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--wave);
}

/* Services List */
.services ul {
  list-style-type: none;
  padding: 0;
  columns: 2;
  gap: 1rem;
}

.services li {
  background: #e0f3ff;
  margin: 0.5rem 0;
  padding: 0.75rem;
  border-radius: 4px;
  transition: transform 0.2s;
}

.services li:hover {
  transform: translateX(5px);
}

/* General section headers */
section h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
  text-align: center;
}

/* Paragraphs */
section p,
section .lead {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 1.5rem auto;
  text-align: center;
}

/* About bubble specific text */
.about-bubble h2 {
  color: var(--secondary);
  font-weight: 700;
}

.about-bubble p {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.7;
  margin-top: 1rem;
}

/* About Section */
.about-bubble {
  background: radial-gradient(circle at top left, #e0f7fa, #ffffff);
  border-radius: 60px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
  font-family: 'Poppins', sans-serif;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.about-bubble h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  font-weight: 700;
}

.about-bubble p {
  font-size: 1.2rem;
  color: #444;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-bubble {
    padding: 2rem;
    border-radius: 30px;
  }

  .about-bubble h2 {
    font-size: 2rem;
  }

  .about-bubble p {
    font-size: 1rem;
  }
}

.about-bubble {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Service cards */
.service-card,
.bg-white.p-4.rounded.shadow-sm {
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover,
.bg-white.p-4.rounded.shadow-sm:hover {
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.35);
  transform: scale(1.05);
  z-index: 2;
}

/* Review cards */
section.bg-light .p-4.bg-white.shadow-sm.rounded p {
  font-style: italic;
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.75rem;
}

section.bg-light .p-4.bg-white.shadow-sm.rounded h6 {
  font-weight: 600;
  color: var(--primary);
  text-align: right;
}

/* Social link */
.social-link {
  display: inline-block;
  color: white;
  text-decoration: none;
  margin-top: 0.5rem;
}

.social-link i {
  margin-right: 0.5rem;
}

.social-link:hover {
  color: var(--accent);
}

/* Facebook Hero */
.hero-index {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-color: var(--wave);
}

/* BLURRED BACKGROUND */
.facebook-video-bg.blurred-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  filter: blur(50px) brightness(0.8);
  background-color: var(--wave);
  box-shadow: 0 0 100px var(--accent); /* glow effect */
}

.facebook-video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  border: none;
  pointer-events: none;
}

/* FOREGROUND VIDEO */
.facebook-video-center {
  max-width: 500px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
  /* Remove the background and padding */
  background: none;
  padding: 0;
  box-shadow: none;
}

.facebook-video-center iframe {
  width: 500px; /* or 600px */
  height: 888px; /* match 16:9 or vertical format */
  border: none;
  pointer-events: auto; /* allow clicks */
  cursor: pointer; /* optional: show pointer on hover */
 box-shadow: 0 0 30px 8px #00bfff; /* bright blue glow */
}

/* Overlay content aligned to bottom */
.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  max-width: 500px; /* Same as video width */
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
   pointer-events: none; /* allow clicks through */
}

.hero-overlay h1,
.hero-overlay a {
  pointer-events: auto;
  max-width: 100%;
}

.hero-overlay h1 {
  font-size: 1.75rem; /* Slightly smaller heading */
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero.hero-index {
  background-color:#f8f9fa; 
}

/* Optional: subtle overlay with brand gradient */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.3)
  ); /* Soft white tint instead of blue */
  z-index: 0;
}

@media (max-aspect-ratio: 9/16) {
  .facebook-video-bg iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio for vertical screens */
  }
}


.hero-painting {
  background-image: url('assets/paintinghero.jpg');
}

.hero-roofing {
  background-image: url('assets/roofinghero.jpg');
}

.hero-plumbing {
  background-image: url('assets/plumbinghero.jpg');
}

.hero-general {
  background-image: url('assets/generalrepairshero.jpg');
}

.hero-garden {
  background-image: url('assets/gardenserviceshero.jpg');
}

.hero-fencing {
  background-image: url('assets/fencinghero.jpg');
}

.hero-electrical {
  background-image: url('assets/electricalhero.jpg');
}

.hero-cleaning {
  background-image: url('assets/cleaninghero.jpg');
}

.hero-appliances {
  background-image: url('assets/appliancerepairshero.jpg');
}

.hero-maintenance {
  background-image: url('assets/annualmaintenancehero.jpg');
}

/* Facebook Video Styling */
.vertical-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 equal columns */
  gap: 30px;
}


.gallery-item {
  width: 100%;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.video-wrapper {
  position: relative;
  padding-top: 177.77%; /* 9:16 aspect ratio */
  background-color: rgba(0, 123, 255, 0.08); /* optional subtle blue background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.4); /* blue glow */
  transition: box-shadow 0.3s ease;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.video-caption {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.video-caption i {
  font-size: 1.3rem;
  color: var(--accent);
}

/* Fallback for gallery-item p without icons */
.gallery-item p {
  font-size: 1rem;
  font-style: italic;
  color: var(--primary);
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 576px) {
  .gallery-item {
    padding: 15px;
  }

  .video-caption,
  .gallery-item p {
    font-size: 0.95rem;
  }
}

/* Universal image styles */
img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 123, 255, 0.3);
  z-index: 10;
}

/* Specific image sizes */
.gallery-img,
.roofing-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

/* Scroll */
html {
  scroll-behavior: smooth;
}

/* Animations */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* Hover & Zoom Effects */
.card,
.gallery-img,
.hover-zoom {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card:hover,
.gallery-img:hover,
.hover-zoom:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 123, 255, 0.3);
  z-index: 2;
}

/* Optional: Restrict special glow to specific cards */
.card.card-glow:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 25px rgba(0, 191, 255, 0.3);
  border: 1px solid var(--accent);
}

/* Glow icons & boxes */
.glow-icon,
.glow-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
}

.glow-icon:hover,
.glow-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--accent);
  background-color: #f0fbff;
}

/* Service list items hover */
.services li:hover {
  transform: translateX(5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 191, 255, 0.15);
  background: #d8f5ff;
}

/* Icon scale hover */
.icon-hover {
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.icon-hover:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 6px var(--accent));
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: white;
  padding: 10px 12px;
  border-radius: 50%;
  font-size: 18px;
  display: none;
  z-index: 999;
  transition: background 0.3s;
}

.scroll-to-top:hover {
  background: var(--wave);
}

/* Marquee */
.marquee-banner {
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  background-color: #002147;
   margin-bottom: 2rem; /* Adjust spacing as needed */
}

.marquee-text {
  display: inline-flex;
  animation: scrollBanner 30s linear infinite;
  gap: 3rem;
}

.marquee-text span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.marquee-text i {
  color: var(--accent);
  font-size: 1.1rem;
}

@keyframes scrollBanner {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}


/*------------------------------------
  Premium Footer - White & Blue Theme
------------------------------------*/

/* Footer Wrapper */
.premium-footer {
  background-color: #ffffff;
  /* Changed from black to white */
  color: #003366;
  /* Deep blue for readable text */
  padding-top: 4rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Grid Layout */
.premium-footer .footer-container {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.2fr;
  gap: 3rem;
  padding: 0 1rem;
  max-width: 1200px;
  margin: auto;
}

@media (max-width: 768px) {
  .premium-footer .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-subscribe {
    order: 3;
  }
}

/* Headings */
.premium-footer h3,
.premium-footer h4 {
  color: #002b5c;
  /* Navy blue */
  margin-bottom: 1rem;
}

/* Info Links */
.footer-info a[href^="tel"],
.footer-info a[href^="mailto"],
.footer-info i.fa-phone-alt,
.footer-info i.fa-envelope {
  color: #007BFF;
  /* Bootstrap blue */
  font-weight: bold;
}

.gold-icon i.fa-map-marker-alt {
  color: #007BFF;
  /* Replace "gold" icon color */
}

.footer-info .icon {
  margin-right: 0.5rem;
  color: #007BFF;
}

/* Contact Form */
.contact-form input,
.contact-form textarea,
.contact-form input[type="file"] {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
  background: #f7f7f7;
  box-sizing: border-box;
  color: #003366;
}

.contact-form input:hover,
.contact-form textarea:hover {
  background-color: #fff;
  outline: 2px solid #007BFF;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #007BFF;
  background-color: #fff;
}

/* CTA Button */
.cta-button {
  background-color: #007BFF;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

/* Subscribe Form */
.subscribe-box {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.subscribe-box input[type="email"] {
  flex: 1;
}

/* Footer Bottom */
#footer-bottom {
  padding: 2rem 1rem 1rem;
  background-color: #f5faff;
  /* Very light blue */
  color: #003366;
  text-align: center;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Social Icons */
.social-icons {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  padding: 0;
  margin-bottom: 1rem;
}

.social-icons a {
  color: #007BFF;
  font-size: 1.4rem;
  transition: opacity 0.3s ease;
}

.social-icons a:hover {
  opacity: 0.75;
}

/* Footer Info */
#footer-info a {
  color: #007BFF;
  text-decoration: none;
}