
/* ----------------------------------------------------
	You can put your custom css code here: 
-------------------------------------------------------*/

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background-color: #588FF2; /* Base teal color */
  color: #ffffff;
  font-size: 15px;
  font-weight: 100;
  padding: 6px 6px 6px 24px; /* Balanced padding with less room on the right */
  border: none;
  border-radius: 100px; /* Fully rounded pill shape */
  cursor: pointer;
  transition: background-color 0.3s ease; /* Smooth hover transition */
}

/* Outer circle surrounding the arrow */
.arrow-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #263675; /* Dark inner circle */
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

/* Individual arrow SVG properties */
.arrow-icon {
  width: 18px;
  height: 18px;
  /* Initial state: facing up-right at 0 degrees */
  transform: rotate(0deg); 
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover effects applied to the button element */
.cta-button:hover {
  background-color: #386AC4; /* Smooth background change */
}

.cta-button:hover .arrow-icon {
  /* Rotates 45 degrees clockwise to face perfectly right */
  transform: rotate(45deg); 
}

/* Base container style creating the semi-transparent dark circle */


.explore-badge {
  position: relative;
  width: 150px;
  height: 150px;
  background-color: rgba(88, 143, 242, 0.9); /* Frosted dark background */
  backdrop-filter: blur(8px); /* Optional: creates a glassmorphism style behind it */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  
  /* Smooth transition for the hover scaling effect */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Handles the text sizing, styling, and rotation loop */
.text-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  
  /* Smoothly runs the linear infinite rotation */
  animation: spin 15s linear infinite;
}

.text-ring text {
  fill: rgba(255, 255, 255, 0.9); /* Bright white text matching the image */
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 8.8px;
  font-weight: 500;
  letter-spacing: 1.8px;
}

/* Center arrow styles */
.arrow-icon1 {
  width: 48px;
  height: 48px;
  color: #ffffff;
}

/* The continuous spinning animation definition */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Hover Interactivity */
.explore-badge:hover {
  /* Scales up slightly (5% larger) when mouse hovers over it */
  transform: scale(0.8);
}

.explore-badge:hover .text-ring {
  /* Pauses the continuous spinning animation seamlessly */
  animation-play-state: paused;
}

#hoverser:hover{
	color: #588FF2;
}


/*----------*/

        /* Outer Slider Container */
        .testimonial-carousel {
            position: relative;
            width: 100%;
            max-width: 1470px;
            margin: 0 auto;
            overflow: hidden;
            padding: 20px 0;
        }

        /* The Moving Track */
        .testimonial-track {
            display: flex;
            transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
            width: 100%;
        }

        /* Individual Card Item */
        .testimonial-card {
            flex: 0 0 33.333%; /* Displays 3 cards side-by-side */
            padding: 15px;
        }

        /* Inside the Card Styling */
        .card-inner {
            background: #fff;
            padding: 30px;
            border-radius: 16px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
            text-align: center;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .client-img {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 15px;
            border: 3px solid #007bff;
        }

        /* Star Rating Container */
        .stars {
            color: #588FF2; /* Gold color */
            font-size: 2rem;
            margin-bottom: 15px;
            letter-spacing: 2px;
        }

        .quote {
            font-size: 1.4rem;
            color: #3C3C3C;
            line-height:26px;
            margin-bottom: 20px;
        }

        .client-name {
            font-size: 1.4rem;
            font-weight: 600;
            color: #263676;
			margin-bottom: 15px;
        }

        .client-role {
            font-size: 0.85rem;
            color: #263676;
            margin-top: 5px;
        }

        /* Navigation Arrows */
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: #263676;
            color: #588FF2;
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: background 0.3s, color 0.3s;
            z-index: 10;
        }

        .nav-btn:hover {
            background: #fff;
            color: #263676;
        }

        .prev-btn { left: 0px; }
        .next-btn { right: 0px; }

        /* Navigation Dots */
        .dots-container {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 30px;
        }

        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #263676;
            cursor: pointer;
            transition: background 0.3s, transform 0.3s;
        }

        .dot.active {
            background: #588FF2;
            transform: scale(1.2);
        }

        /* Mobile Responsiveness */
        @media (max-width: 900px) {
            .testimonial-card {
                flex: 0 0 50%; /* 2 cards on tablets */
            }
        }

        @media (max-width: 600px) {
            .testimonial-card {
                flex: 0 0 100%; /* 1 card on mobile screens */
            }
            .nav-btn { display: none; } /* Hide arrows on small mobile devices */
        }


/*------------------*/


/* Derby Plumbing Solutions – responsive improvements */
html, body {
  overflow-x: hidden;
}

.service-photo {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.contact-map {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 18px;
}

#vlightbox0 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

#vlightbox0 a {
  display: block;
  flex: 0 1 calc(25% - 16px);
  max-width: calc(25% - 16px);
}

#vlightbox0 a img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

@media (max-width: 991px) {
  #vlightbox0 a {
    flex-basis: calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
  }
}

@media (max-width: 767px) {
  .container {
    width: auto !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .logo img,
  .mobile-logo img,
  .footer .logo img {
    max-width: 220px;
    height: auto;
  }

  h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  h2 {
    font-size: 28px;
    line-height: 1.25;
  }

  p, li {
    line-height: 1.7;
  }

  .htc__bradcaump__wrap h2,
  .bradcaump-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  #vlightbox0 {
    gap: 12px;
  }

  #vlightbox0 a {
    flex-basis: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }

  #vlightbox0 a img {
    height: 170px;
  }

  .contact-map {
    height: 320px;
  }

  .testimonial-carousel {
    padding-top: 0;
  }

  .quote {
    font-size: 1.1rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  #vlightbox0 a {
    flex-basis: 100%;
    max-width: 100%;
  }

  #vlightbox0 a img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }
}


/* Derby Plumbing premium header + accreditation improvements */
.topbar-meta {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 18px;
}

.topbar-meta > li {
  float: none !important;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.topbar-meta > li > a {
  display: inline-flex !important;
  align-items: center;
  white-space: nowrap;
}

.topbar-meta img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.accreditation-logo {
  width: 100%;
  max-width: 280px;
  height: 120px !important;
  margin: 0 auto 18px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 14px 36px rgba(15, 28, 63, 0.08);
}

.mobile-quick-actions {
  display: none;
}

@media (max-width: 991px) {
  .topbar-meta {
    gap: 8px 12px;
  }
  .topbar-meta > li,
  .topbar-meta > li > a {
    font-size: 13px !important;
  }
}

@media (max-width: 767px) {
  body {
    background: #fff;
  }

  .mobile-menu-area {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(15, 28, 63, 0.08);
    padding: 10px 14px 14px;
  }

  .mobile-logo {
    text-align: center;
    margin-bottom: 10px;
  }

  .mobile-logo img {
    max-width: 220px;
  }

  .mobile-quick-actions {
    display: flex;
    gap: 10px;
    margin: 0 0 10px;
  }

  .mobile-action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(15, 28, 63, 0.12);
  }

  .mobile-call-btn {
    background: #263675;
    color: #fff !important;
  }

  .mobile-callback-btn {
    background: #588FF2;
    color: #fff !important;
  }

  .mean-container a.meanmenu-reveal {
    top: -54px;
    right: 0 !important;
    color: #263675 !important;
  }

  .mean-container a.meanmenu-reveal span {
    background: #263675 !important;
  }

  .mean-container .mean-nav {
    margin-top: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 28, 63, 0.15);
  }

  .mean-container .mean-nav ul li a {
    font-size: 14px;
    padding: 12px 16px;
  }

  .accreditation-logo {
    max-width: 100%;
    height: 110px !important;
  }

  .cta-button {
    width: 100%;
    justify-content: space-between;
  }
}
