/* Root Variables for Theme Colors and Fonts */
:root {
    --primary-color: #007acc;
    --secondary-color: #333;
    --light-color: #f4f4f4;
    --accent-color: #ffa500;
    --font-family: 'Arial', sans-serif;
    --transition: all 0.3s ease-in-out;
}

body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
}

body {
    line-height: 1.6;
    color: var(--secondary-color);
    scroll-behavior: smooth;
}

/* Header Background with Title Image */
.header-background {
    background: url('https://e0.pxfuel.com/wallpapers/17/467/desktop-wallpaper-dental-implants-fairfax-va-implant-dentistry-fairfax-family-dental-care-dental-health-thumbnail.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px; /* Adjust the height of the header */
    position: relative;
}

.header-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay for better text visibility */
}

.header-content {
    position: relative;
    z-index: 1; /* Ensures text is on top of the overlay */
}

.header-background h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.header-background p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.cta-button {
    padding: 10px 20px;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--primary-color);
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: center;
    list-style: none;
    background-color: var(--light-color);
    padding: 10px;
    box-shadow: 0 2px 5px rgba(44, 2, 2, 0.87);
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.navbar a:hover {
    color: var(--accent-color);
}

/* Sections */
.section {
    padding: 50px 20px;
}

.about-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    text-align: center;
    border: 1px solid var(--light-color);
    padding: 20px;
    background: #fff;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.service-item img {
    width: 200%;
    max-width: 200px;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: #fff;
    text-align: center;
    padding: 15px 0;
}

/* Container Styles */
.timings {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.timings h2 {
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
    color: #343a40;
}

/* Table Styles */
.timings table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.timings thead th {
    background-color: #343a40;
    color: #fff;
    padding: 10px;
    text-align: left;
    font-size: 16px;
}

.timings tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.timings tbody tr:hover {
    background-color: orange;
    color: white;
    cursor: pointer;
}

.timings tbody td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}




/* Reviews Section */
.reviews {
    padding: 4rem 2rem;
    background-color: #f4f4f4;
    text-align: center;
    color:rgb(17, 17, 17) ;
  }
  
  .reviews h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    
  }
  
  .review {
    display: inline-block;
    max-width: 300px;
    text-align: center;
    margin: 0 20px;
    padding: 2rem;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .review:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }
  
  .review img {
    border-radius: 50%;
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
  }
  
  .review p {
    font-size: 1.2rem;
    color:black;
  }



  /* Contact Section */
.contact {
    background: #fff;
    padding: 60px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    color: #161616;
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.contact-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-links li a {
    text-decoration: none;
    font-size: 1.2rem;
    color: #333;
    background: #f9f9f9;
    padding: 10px 15px;
    border-radius: 50px;
    transition: background 0.3s ease, color 0.3s ease;
}

.contact-links li a:hover {
    background: #f9a826;
    color: white;
}

/* Footer */
.main-footer {
    background: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.main-footer .social-links {
    margin-top: 10px;
}

.main-footer .social-links a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
    font-size: 1.7rem;
    transition: color 0.3s ease;
}

.main-footer .social-links a:hover {
    color: #f9a826;
}




/* Floating Chatbot Button */
button {
    font-family: inherit;
    font-size: inherit;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .about-details {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}
/* Sticky Header */
.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Burger Menu for Mobile */
.burger {
    display: none;
    cursor: pointer;
}

.burger .line {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px;
    transition: all 0.3s ease;
}

.burger.toggle .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.toggle .line:nth-child(2) {
    opacity: 0;
}

.burger.toggle .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.main-nav.open {
    display: block;
}

/* Back-to-Top Button */
#backToTop:hover {
    background-color: #f9a826;
    color: #333;
}

.logo-container {
    position: relative;
    display:flex;
  }
  
  .logo {
    width: 80px; /* Adjust the size of the main logo */
    height: auto;
  }
  
  .small-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px; /* Adjust the size of the small image */
    height: auto;
    border-radius: 50%; /* Optional: makes the small image circular */
  }
  

/* Appointment Section Styles */
.appointment {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.appointment h2 {
    text-align: center;
    color: #343a40;
    font-family: 'Arial', sans-serif;
    margin-bottom: 20px;
}

.appointment form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.appointment label {
    margin-bottom: 5px;
    font-size: 14px;
    color: #495057;
}

.appointment input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.appointment input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.appointment button {
    padding: 10px 15px;
    background-color: #0f0f0f;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.appointment button:hover {
    background-color: orange;
    transform: scale(1.05);
}

.appointment button:active {
    transform: scale(0.95);
}

@media screen and (max-width: 768px) {
    .appointment form {
        padding: 10px;
    }
}

    
