   lite-youtube {
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        
        /* Custom play button styling to match your site */
        lite-youtube::before {
            background-color: var(--gold);
        }

  
  
  /* Animations */
   @keyframes nudge {
            0% { transform: translateX(0) translateY(0); }
            25% { transform: translateX(0) translateY(1px); }
            50% { transform: translateX(0) translateY(0); }
            75% { transform: translateX(0) translateY(-1px); }
            100% { transform: translateX(0) translateY(0); }
        }
        
        /* Create a class for the nudge animation that we can add via JS */
        .nudge-animation {
            animation: nudge 1s ease-in-out;
        }
        
        
        
         @keyframes shine {
        0% { left: -100%; }
        20% { left: 100%; }
        100% { left: 100%; }
    }
    
    
    
  
        
        
        .contactmsg {
    bottom: 0;
    right: 3px;
    max-width: 55px;
    z-index:1001;
    width: auto;
    position: fixed;
}

   .dropdown-menu {
        border: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        border-radius: 10px;
        background-color: var(--beige);
        padding: 0.5rem;
        max-height: 60vh;
        overflow-y: auto;
        border-right: 2px solid rgba(226, 179, 58, 0.3);
    }
    
    /* Custom scrollbar for dropdowns */
    .dropdown-menu::-webkit-scrollbar {
        width: 12px;
        background: rgba(0,0,0,0.05);
        border-radius: 0 10px 10px 0;
    }
    
    .dropdown-menu::-webkit-scrollbar-track {
        background: rgba(226, 179, 58, 0.1);
        border-radius: 0 10px 10px 0;
        border-left: 1px solid rgba(226, 179, 58, 0.2);
    }
    
    .dropdown-menu::-webkit-scrollbar-thumb {
        background: var(--gold);
        border-radius: 6px;
        border: 2px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 4px rgba(0,0,0,0.2);
    }
    
    .dropdown-menu::-webkit-scrollbar-thumb:hover {
        background: var(--dark-gold);
        box-shadow: 0 0 6px rgba(0,0,0,0.3);
    }
    
    /* Firefox scrollbar styling */
    .dropdown-menu {
        scrollbar-width: thin;
        scrollbar-color: var(--gold) rgba(226, 179, 58, 0.1);
    }
    
    .dropdown-item {
        padding: 0.6rem 1rem;
        border-radius: 6px;
        margin: 0.2rem 0;
        font-weight: 600;
        color: var(--dark-brown);
    }
    
    .dropdown-item:hover {
        background-color: var(--gold);
        color: var(--dark-brown);
    }
    

    

    
    
     /* When menu is open - transform to X */
    .custom-toggler[aria-expanded="true"] .line1 {
        top: 8px;
        transform: rotate(135deg);
    }
    
    .custom-toggler[aria-expanded="true"] .line2 {
        opacity: 0;
        left: -20px;
    }
    
    .custom-toggler[aria-expanded="true"] .line3 {
        top: 8px;
        transform: rotate(-135deg);
    }
    
     .service-card {
        border: none;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        transition: all 0.4s ease;
        height: 100%;
        background: var(--beige);
        position: relative;
        z-index: 1;
        border-top: 5px solid var(--gold);
    }
    
    .service-card:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, var(--gold), var(--dark-gold));
        z-index: 2;
    }
    
    .service-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 18px 40px rgba(0.1,0,0,0.15);
    }
    
    .service-content {
        padding: 25px;
    }
    
    .service-content h3 {
        color: var(--dark-brown);
        margin-bottom: 15px;
        font-weight: 800;
    }
    
    .service-icon {
        font-size: 3.2rem;
        color: var(--gold);
        margin-bottom: 1.5rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    }
    
    /* Testimonials */
    .testimonials {
        background: linear-gradient(to bottom, var(--beige), #faf6f1);
        position: relative;
        overflow: hidden;
    }
    
    .testimonials:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0.1 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e2b33a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-40.14v-2h-4zm0-30V0h-2v4h-4v20.14v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.5;
        pointer-events: none; 
    }
    
    .testimonial-card {
        background: var(--white);
        border-radius: 12px;
        padding: 2.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin: 1rem 0.5rem;
        position: relative;
        border-top: 50.1 solid var(--gold);
        transition: all 0.3s ease;
    }
    
    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }
    
    .testimonial-card:before {
        content: '"';
        font-size: 6rem;
        color: rgba(226, 179, 58, 0.2);
        position: absolute;
        top: -15px;
        left: 20px;
        line-height: 1;
        font-family: Georgia, serif;
    }
    
    .testimonial-text {
        font-style: italic;
        margin-bottom: 1.5rem;
        position: relative;
        z-index: 1;
    }
    
    .0.1stimonial-author {
        font-weight: 700;
        color: var(--dark-brown);
    }
    
    .testimonial-role {
        font-size: 0.9rem;
        color: var(--medium-brown);
    }
    
    /* Call to Action */
    .cta-section {
        background: linear-gradient(135deg, var(--dark-brown), var(--medium-brown));
        color: var(--beige);
        padding: 5rem 0;
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    
    .cta-section:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%30.1%3Cg fill='%23e2b33a' fill-opacity='0.1'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }
    
    .cta-section h2 {
        color: var(--beige);
        text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    }
    
    /* Footer */
    .footer {
        background: linear-gradient(to bottom, var(--dark-brown), #251609);
        color: var(--beige);
        padding: 5rem 0 2rem;
        position: relative;
    }
    
    .footer:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }
    
    .footer a {
        color: rgba(248, 243, 237, 0.9);
    }
    
    .footer a:hover {
        color: var(--gold);
        text-decoration: none;
    }
    
    .footer-title {
        color: rgba(248, 243, 237, 0.9);
        font-weight: 800;
        margin-bottom: 1.5rem;
        position: relative;
        padding-bottom: 0.8rem;
    }
    
    .footer-title:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50px;
        height: 3px;
        background: var(--gold);
    }
    
    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-links li {
        margin-bottom: 0.85rem;
        position: relative;
        padding-left: 0;
        transition: all 0.3s ease;
    }
    
    .footer-links li:before {
        content: '•';
        color: var(--gold);
        margin-right: 10px;
        font-weight: bold;
    }
    
    .footer-links li:hover {
        padding-left: 5px;
    }
    
    .social-links a {
        display: inline-flex;
        width: 42px;
        height: 42px;
        background: rgba(248, 243, 237, 0.1);
        text-align: center;
        align-items: center;
        justify-content: center;
        line-height: 42px;
        border-radius: 50%;
        margin-right: 0.7rem;
        transition: all 0.3s ease;
    }
    
    .social-links a:hover {
        background: var(--gold);
        color: var(--dark-brown);
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(226, 179, 58, 0.4);
    }
    
    .copyright {
        border-top: 1px solid rgba(248, 243, 237, 0.15);
        padding-top: 1.5rem;
        margin-top: 3rem;
        text-align: center;
        font-size: 0.9rem;
        color: rgba(248, 243, 237, 0.6);
    }
    
    /* Emergency Banner */
    .emergency-banner {
        background: linear-gradient(135deg, var(--accent), #C0392B);
        color: white;
        padding: 1.2rem 0;
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    
    .emergency-banner:before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        animation: shine 3s infinite;
    }
    
    /* Local SEO Section */
    .local-seo {
        background-color: var(--beige);
        padding: 2.5rem 0;
        border-top: 1px solid rgba(0,0,0,0.05);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .local-badge {
        background: var(--white);
        border-radius: 50px;
        padding: 0.7rem 1.8rem;
        margin: 0.5rem;
        display: inline-block;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1.1);
        font-weight: 700;
        color: var(--dark-brown);
        border: 1px solid var(--light-brown);
        transition: all 0.3s ease;
    }
    
    .local-badge:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.15);
        color: var(--gold);
        border-color: var(--gold);
    }
    
   
    
    /* Custom Icon Styles */
    .custom-icon {
        display: inline-flex;
        width: 70px;
        height: 700.1;
        background: var(--beige);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        border: 2px solid var(--gold);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }
    
    .custom-icon:hover {
        transform: scale(1.1) rotate(5deg);
        background: var(--gold);
    }
    
    .custom-icon:hover i {
        color: var(--dark-brown);
    }
    
    .custom-icon i {
        font-size: 1.8rem;
        color: var(--gold);
        transition: all 0.3s ease;
    }
    
    /* Location Section */
    .location {
        padding: 70px 0;
        background: var(--white);
    }
    
    .location-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }
    
    /* FAQ Section */
    .faq {
        padding: 70px 0;
        background: var(--beige);
    }
    
    .accordion {
        margin-top: 40px;
    }
    
    .accordion-item {
        margin-bottom: 20px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        border: 1px solid rgba(0,0,0,0.05);
    }
    
    .accordion-header {
        background: var(--dark-brown);
        color: var(--beige);
        padding: 20px;
        cursor: pointer;
        font-weight: 700;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .accordion-header:hover {
        background: #251609;
    }
    
    .accordion-header:after {
        content: '+';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
    }
    
    .accordion-header.active:after {
        content: '-';
    }
    
    .accordion-content {
        padding: 20px;
        background: var(--white);
        display: none;
    }
    
    .accordion-content.active {
        display: block;
        animation: fadeIn 0.5s ease;
    }
    
    /* Additional Content Styles */
    .additional-content {
        padding: 50px 0;
        background-color: var(--beige);
        border-top: 1px solid rgba(0,0,0,0.05);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .content-block {
        margin-bottom: 40px;
        padding: 50px;
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    
    .content-block h2 {
        color: var(--dark-brown);
        border-bottom: 3px solid var(--gold);
        padding-bottom: 12px;
        margin-bottom: 20px;
    }
    
    /* Why Choose Us Section Background */
    .bg-light {
        background: linear-gradient(to bottom, var(--beige), #f5eee5) !important;
    }
    
    /* Button in emergency banner */
    .emergency-banner .btn-dark {
        background-color: var(--black);
        border-color: var(--black);
        font-weight: 700;
    }
    
    .emergency-banner .btn-dark:hover {
        background-color: var(--dark-brown);
        border-color: var(--dark-brown);
        transform: translateY(-2px);
    }
    
    
     /* CTA Section buttons */
    .cta-section .btn-light {
        background: var(--beige);
        color: var(--dark-brown);
        border-color: var(--beige);
        font-weight: 700;
    }
    
    .cta-section .btn-light:hover {
        background: var(--gold);
        color: var(--dark-brown);
        border-color: var(--gold);
    }
    
    .cta-section .btn-outline-light {
        color: var(--beige);
        border: 2px solid var(--beige);
        font-weight: 700;
    }
    
    .cta-section .btn-outline-light:hover {
        background-color: var(--beige);
        color: var(--dark-brown);
    }
    
    
    
  

/* Ensure the scrollbar remains visible after animation */
.dropdown-menu::-webkit-scrollbar {
  width: 12px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: var(--dark-gold);
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}


.video-section {
        background-color: var(--beige);
        border-top: 1px solid rgba(0,0,0,0.05);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
        height: 0;
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    
    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }
    
    .video-summary {
        background: var(--white);
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        height: 100%;
    }
    
    .video-summary h3 {
        color: var(--dark-brown);
        border-bottom: 3px solid var(--gold);
        padding-bottom: 12px;
        margin-bottom: 20px;
    }
    
    .video-summary h4 {
        color: var(--medium-brown);
        margin: 20px 0 15px;
    }
    
    .video-summary ul {
        padding-left: 20px;
        margin-bottom: 20px;
    }
    
    .video-summary li {
        margin-bottom: 8px;
        position: relative;
    }
    
    .video-summary li:before {
        content: '•';
        color: var(--gold);
        font-weight: bold;
        margin-right: 10px;
    }
    
    
.google-review-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    padding: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 100%;
}

.google-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}


.google-logo {
            height: 24px;
            width: 24px;
            margin-right: 8px;
            vertical-align: middle;
        }
        
.google-text-logo {
    color: #4285F4;
    font-size: 18px;
    font-weight: 700;
}

.google-review-rating {
    display: flex;
    align-items: center;
}

.stars {
    color: #FFA000;
    font-size: 18px;
    margin-right: 8px;
}

.star {
    margin-right: 1px;
}

.review-date {
    color: #5f6368;
    font-size: 12px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.reviewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

.reviewer-name {
    font-weight: 500;
    font-size: 14px;
    color: #202124;
}

.review-content {
    margin-bottom: 12px;
}

.review-text {
    font-size: 14px;
    line-height: 1.5;
    color: #202124;
    margin: 0;
}

.google-review-footer {
    display: flex;
    align-items: center;
    border-top: 1px solid #e8eaed;
    padding-top: 12px;
}

.google-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    background: #4285F4;
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-weight: bold;
    font-size: 12px;
}

.google-text {
    font-size: 12px;
    color: #5f6368;
    font-weight: 500;
}



  /* Webkit browsers (Chrome, Safari) */
  .dropdown-menu.show::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 9px rgba(0,0,0,0.2);
  }
  
  .dropdown-menu.show.scrollbar-nudge::-webkit-scrollbar-thumb {
    animation: scrollbarNudge 1s ease-in-out;
  }
  
  @keyframes scrollbarNudge {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(0); }
    75% { transform: translateX(5px); }
    100% { transform: translateX(0); }
  }
  
  /* Firefox specific styles */
  .dropdown-menu {
    scrollbar-color: var(--gold) rgba(226, 179, 58, 0.1);
    scrollbar-width: thick;
    position: relative;
  }
  
  /* Create a pseudo-element for Firefox to simulate the nudge effect */
  .dropdown-menu.show.scrollbar-nudge::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 16px;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, var(--gold) 100%);
    opacity: 0;
    animation: firefoxScrollbarNudge 1s ease-in-out;
    pointer-events: none;
    border-radius: 0 14px 14px 0;
  }
  
  @keyframes firefoxScrollbarNudge {
    0% { opacity: 0; }
    25% { opacity: 0.7; }
    50% { opacity: 0; }
    75% { opacity: 0.7; }
    100% { opacity: 0; }
  }
  
      /* Team Section Styles */
    .team-section {
        background: linear-gradient(to bottom, var(--beige), #faf6f1) !important;
    }
    
    .team-intro-card, .team-member-card, .principal-dentist-card {
        background: var(--white);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        height: 100%;
        transition: all 0.3s ease;
    }
    
    .team-intro-card:hover, .team-member-card:hover, .principal-dentist-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }
    
    .team-intro-content, .team-member-content, .dentist-content {
        padding: 25px;
    }
    
    .team-member-content h3, .dentist-content h3 {
        color: var(--dark-brown);
        margin-bottom: 15px;
        border-bottom: 3px solid var(--gold);
        padding-bottom: 10px;
    }
    
    .role {
        display: block;
        font-size: 1rem;
        color: var(--medium-brown);
        font-weight: 600;
        margin-top: 5px;
    }
    
    .gdc-number {
        font-size: 0.9rem;
        color: var(--light-brown);
        font-weight: 500;
    }
    
    .specialties {
        background: rgba(226, 179, 58, 0.1);
        padding: 15px;
        border-radius: 8px;
        border-left: 4px solid var(--gold);
    }
    
    .dentist-content ul {
        padding-left: 20px;
        margin: 15px 0;
    }
    
    .dentist-content li {
        margin-bottom: 8px;
        position: relative;
    }
    
    .dentist-content li:before {
        content: '•';
        color: var(--gold);
        font-weight: bold;
        margin-right: 10px;
    }
    
    .team-cta {
        background: var(--white);
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-top: 5px solid var(--gold);
    }
    
    @media (max-width: 768px) {
        .dentist-content {
            padding: 20px 15px;
        }
        
        .team-cta {
            padding: 20px 15px;
        }
    }
    
    
    #bournemouth-dental-services {
    background: linear-gradient(to bottom, var(--beige), #faf6f1);
}

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

.service-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.special-service-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    border-left: 4px solid var(--gold);
    transition: all 0.3s ease;
}

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

.service-cta-box {
    background: linear-gradient(135deg, var(--dark-brown), var(--medium-brown));
    color: var(--beige);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-cta-box h4 {
    color: var(--beige);
}