/* General Styles */
body {
    font-family: "Nunito", sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
}
.bg-brand-blue{
    background-color: #0a5ca0;
}

.brand-blue{
    color: #0a5ca0;
}

section {
    /* padding controlled per-section via Bootstrap py-5 utility */
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #0a5ca0;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #777;
}

/* Buttons & CTAs */
.btn-primary {
   background-color: #FCC31A;
    border-color: #FCC31A;
    color: #072a4a;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover, 
.btn-primary:focus {
background-color: #e5af17;
border-color: #e5af17;
color: #072a4a;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(252, 195, 26, 0.4);
}

.btn-success {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Navigation */
.nav-text-responsive {
  font-size: 1rem;
}

@media (min-width: 768px) {
 .nav-text-responsive {
    font-size: 1.25rem;
  }
}

@media (min-width: 992px) {
 .nav-text-responsive {
    font-size: 1.5rem;
  }
}

.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: #0a5ca0;
}

.navbar-brand i {
    margin-right: 5px;
}

.nav-link {
    font-weight: 500;
    color: #333;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0a5ca0;
}

.nav-cta {
    color: #fff !important;
    padding: 8px 20px !important;
    margin-left: 15px;
}

.navbar-scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .title {
        font-size: 15px;
    }
}

/* Hero Section - Split Layout (Homepage) */
.hero-split {
    background: linear-gradient(135deg, #072a4a 0%, #0a5ca0 50%, #0e6db8 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
}

.min-vh-hero {
    min-height: calc(100vh - 80px);
}

.hero-text-col {
    padding-right: 2rem;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #00bfa5;
    margin-bottom: 0.75rem;
}

.hero-h1-split {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-desc-split {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Hero CTA Button */
.btn-hero {
background-color: #FCC31A;
border-color: #FCC31A;
color: #072a4a;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-hero:hover,
.btn-hero:focus {
background-color: #e5af17;
border-color: #e5af17;
color: #072a4a;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(252, 195, 26, 0.4);
}

.hero-cta-split {
    align-self: flex-start;
}

.hero-split-img {
    max-height: 520px;
    width: 100%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
}

/* Hero Jack Thumbnail */
.hero-jack-thumb {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Snippet Carousel */
.hero-snippet {
    min-height: 40px;
    border-left: 3px solid #00bfa5;
    padding-left: 1rem;
}

.snippet-carousel {
    display: grid;
    place-items: start;
}

.snippet-slide {
    grid-row: 1;
    grid-column: 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out, visibility 1s;
    width: 100%;
}

.snippet-slide.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.snippet-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 0;
}

.snippet-author {
    font-style: normal;
    font-weight: 600;
    color: #fff;
}

.snippet-stars {
    font-style: normal;
    margin-left: 0.3rem;
}

/* Hero Google Reviews Link */
.hero-google-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-google-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Testimonial Cards */
.testimonial-card {
    background: #fff;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-card-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-card-author {
    color: #0a5ca0;
    font-size: 0.9rem;
}

/* Services Section - Photo Cards */
.service-card-photo {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.service-card-photo:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-card-img-wrap {
    height: 180px;
    overflow: hidden;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-photo:hover .service-card-img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 1.25rem;
    text-align: center;
}

.service-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #0a5ca0;
}

.service-card-body p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

/* Service Cards - Area Pages (icon style) */
.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card .icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0a5ca0, #0e6db8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-card .icon-box i {
    font-size: 1.4rem;
    color: #fff;
}

.service-card h3 {
    font-size: 1.1rem;
    color: #0a5ca0;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

/* Gallery Section */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img {
    transition: all 0.5s ease;
    border-radius: 10px;
    width: 100%;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 153, 126, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 10px;
}

.gallery-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

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

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

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

/* Section Backgrounds */
.section-dark {
    background: linear-gradient(135deg, #072a4a 0%, #0a5ca0 100%);
    color: #fff;
}

.section-accent {
    background: linear-gradient(135deg, #00997e 0%, #00bfa5 100%);
    color: #fff;
}

/* Why Choose Us / Feature Cards */
.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.85);
}

/* Contact Section */
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 3px rgba(10, 92, 160, 0.1);
    border-color: #0a5ca0;
}

.contact-info {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info h3 {
    color: #0a5ca0;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info i {
    color: #0a5ca0;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #0a5ca0;
    color: #fff;
}

.footer-links a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #e9f4fe;
    text-decoration: underline;
}

/* ============================================
   AREA LANDING PAGES
   ============================================ */

/* Breadcrumb */
.area-breadcrumb {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    margin-top: 76px; /* clear fixed navbar */
}

.area-breadcrumb .breadcrumb {
    background: none;
    padding: 0;
}

.area-breadcrumb .breadcrumb-item a {
    color: #0a5ca0;
    text-decoration: none;
}

.area-breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}

.area-breadcrumb .breadcrumb-item.active {
    color: #666;
}

/* Area Hero (split layout with town image) */
.area-hero {
    background: linear-gradient(135deg, #072a4a 0%, #0a5ca0 50%, #0e6db8 100%);
    color: #fff;
}

.area-hero h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.area-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.area-hero-img {
    max-height: 360px;
    width: 100%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.area-img-credit {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Jack photo on area pages */
.area-jack-photo {
    max-height: 350px;
    object-fit: cover;
}

/* ============================================
   END AREA LANDING PAGES
   ============================================ */

/* Trust Ticker Bar */
.trust-ticker {
    background-color: #072a4a;
    overflow: hidden;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-ticker-track {
    overflow: hidden;
    width: 100%;
}

.trust-ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 35s linear infinite;
    width: max-content;
}

.trust-ticker-content span {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0 2rem;
    font-family: "League Spartan", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-ticker-content span i {
    color: #FCC31A;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
    .trust-ticker-content span {
        font-size: 0.75rem;
        padding: 0 1.5rem;
    }

    .trust-ticker-content {
        animation-duration: 28s;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-h1-split {
        font-size: 2.8rem;
    }

    .min-vh-hero {
        min-height: auto;
    }

    .hero-text-col {
        padding-right: 1rem;
        text-align: center;
    }

    .hero-cta-split {
        align-self: center;
    }

    .hero-snippet {
        text-align: left;
        display: inline-block;
    }

    .hero-google-link {
        display: block !important;
        text-align: center;
    }

    .nav-cta {
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-h1-split {
        font-size: 2.2rem;
    }

    .hero-eyebrow {
        font-size: 0.75rem;
    }

    .hero-desc-split {
        font-size: 1rem;
    }

    .hero-split-img {
        max-height: 350px;
    }

    .service-card-img-wrap {
        height: 150px;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
    
    .nav-cta {
        margin: 10px 0 0 0;
    }
    
    .navbar-nav {
        margin-top: 15px;
    }

    /* Area page responsive */
    .area-hero h1 {
        font-size: 2rem;
    }

    .area-hero-subtitle {
        font-size: 1rem;
    }

    .area-hero-img {
        max-height: 250px;
    }

    .area-jack-photo {
        max-height: 280px;
    }

    .area-breadcrumb {
        margin-top: 70px;
    }
}

/* Meet Jack Section */
.about-image-container {
  position: relative;
}

.about-image {
  border: 5px solid white;
  max-height: 500px;
}

.about-quote {
  position: relative;
  background: linear-gradient(135deg, #072a4a, #0a5ca0);
  color: white;
  padding: 1.25rem;
  border-radius: 8px;
  margin-top: -1.5rem;
  margin-left: 1rem;
  margin-right: -1rem;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.about-quote p {
  font-style: italic;
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.qualification-container {
  padding: 0.5rem;
}

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

.qualification-list li {
  display: flex;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 6px;
}

.qualification-list li:hover {
  background-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.qualification-icon {
  font-size: 1.5rem;
  margin-right: 0.75rem;
  min-width: 30px;
  display: flex;
  align-items: center;
}

.qualification-content {
  flex: 1;
}

.qualification-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #4a4a4a;
}

#about-me-section .lead {
  font-size: 1.1rem;
  color: #00bfa5;
}

@media (max-width: 767.98px) {
  .about-quote {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  
  .qualification-list li {
    padding: 0.4rem;
    margin-bottom: 0.6rem;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float-button:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-button i {
    font-size: 24px;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive adjustments for WhatsApp float */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float-button {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float-button i {
        font-size: 22px;
    }
}

/* WhatsApp CTA Box */
.whatsapp-cta-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.whatsapp-cta-box h3 {
    color: #fff;
    font-size: 1.5rem;
}

.whatsapp-cta-box p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.whatsapp-cta-box .btn:hover {
    background-color: #128C7E !important;
    border-color: #128C7E !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Contact form on dark background */
.section-dark .contact-form {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: none;
}

.section-dark .form-control,
.section-dark .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.section-dark .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.section-dark .form-control:focus,
.section-dark .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #00bfa5;
    box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.2);
    color: #fff;
}

.section-dark .form-select option {
    background: #0a5ca0;
    color: #fff;
}

/* Sticky Mobile CTA Bar */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.sticky-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    background-color: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.sticky-cta-btn:hover {
    background-color: #128C7E;
    color: #fff;
}

/* Push page content above sticky bar on mobile */
@media (max-width: 767.98px) {
    body {
        padding-bottom: 80px;
    }
    
    .whatsapp-float {
        bottom: 85px;
    }
}