/*!
 * Bootstrap v4.2.1 (https://getbootstrap.com/)
 * Copyright 2011-2018 The Bootstrap Authors
 * Copyright 2011-2018 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
/* General Styling COlors #3f3f3d, #728858, #c67c59, #dddfdc */

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

body {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
}

/* Cursor changes to a text selection cursor */
p:hover {
    cursor: url('../images/glasses-cursor.png') 16 16, auto; /* Custom lens cursor */
}

a {
  color: #c67c59;
  text-decoration: none;
  background-color: transparent;
  cursor: pointer; }
  a:hover {
    color: #728858;
    text-decoration: underline; }

/* Apply the same font to all headings */
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5 {
  font-family: 'CMU Serif', serif; /* Same font for all headings */
}

h1, .h1 {
  font-size: 2.5rem;
  color: #3f3f3d;
  font-family: 'CMU Serif', serif; }

h2, .h2 {
  font-size: 2.0rem;
  color: #728858; /* Green */  }

h3, .h3 {
  font-size: 1.5rem;
  color: #c67c59; /* orange */
  }

h4, .h4 {
  font-size: 1rem;
  color: #70706c; /* gray */ }

h5, .h5 {
  font-size: 1.5rem;
  color: #728858; /* Green */ }

.subheading {
    font-family: 'CMU Serif', serif; /* Use a clean, modern font */
    font-size: 2rem; /* Make the text larger */
    font-weight: bold; /* Make the text bold for emphasis */
    color: #3f3f3d; /* Dark color for better readability */
    letter-spacing: 1px; /* Slightly increase letter spacing for a modern look */
    text-transform: uppercase; /* Capitalize the text */
    position: relative; /* Allow pseudo-elements for decoration */
    display: inline-block; /* Keep the text inline but allow custom styling */
    padding-bottom: 10px; /* Add padding at the bottom for some space */
}

/* Decorative underline with a stylish effect */
.subheading::after {
    content: ''; /* Empty content for the pseudo-element */
    position: absolute;
    bottom: 0; /* Position at the bottom of the text */
    left: 0;
    width: 50%; /* Underline half of the text */
    height: 4px; /* Thickness of the underline */
    background-color: #c67c59; /* Use a bright accent color for the underline */
    transition: width 0.3s ease; /* Smooth transition for the underline */
}

/* Hover effect to expand the underline */
.subheading:hover::after {
    width: 100%; /* Full width of the text on hover */
}

/* Margin Bottom */
.mb-2 {
    margin-top: 15px; /* Adjust margin for spacing below the element */
}

.pl-3,
.px-3 {
  padding-left: 1rem !important; }
  
/* Header Section */
header {
    position: relative;  /* Ensure header is positioned */
    background-color: #728858; /* Solid background color for testing */
    background: url('../images/texture.png') repeat, linear-gradient(135deg, #dddfdc, #fff); /* Apply texture directly */
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    margin: 0;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);  /* Enhanced shadow below */
    border-bottom: 1px solid #dddfdc;
    transition: background 0.3s ease-in-out;
    z-index: 10; /* Ensure it is on top of other elements */
}

header:hover {
    background: linear-gradient(135deg, #fff, #dddfdc);
}


/* Header Contact Info Section */
.header-contact-info {
    display: flex;
    padding-left: 0;
	justify-content:right;
    padding: 0px 60px;
    gap: 15px; /* Add gap between items */
    width: 100%; /* Ensure the div spans the full width */

}

/* Contact Text */
.header-contact-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
	color: #3f3f3d;
}

.header-contact-text span {
    white-space: nowrap;
    font-weight: 600;
}

.header-contact-text a {
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
	color: #3f3f3d;
}

.header-contact-text a:hover {
    transform: scale(1.1);
}

/* Social Links Section */
.header-social-links {
    font-size: 0;
}

.header-social-links a {
    display: inline-block;
    margin-left: 15px;
    text-decoration: none;
}

.header-social-links img {
    width: 20px;
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.header-social-links a:hover img {
    transform: scale(1.2);
}

/* Navbar Styling */
nav {
    background-color: #fff;
    width: 100%;
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0; /* Reduces space below the navbar */
    display: flex;  /* Use flexbox */
	border-bottom: 1px solid #dddfdc;


}

.navbar-nav {
    display: flex;
    padding-left: 0;
    margin-left: 0;
    padding: 0px 20px;
    align-items: left; /* Align items within navbar-nav */
    gap: 5px; /* Add gap between items */
	}

.navbar-left {
        display: flex;
        justify-content: center;
        gap: 5px;
        flex-grow: 1;
        margin-left: 0px;
        padding: 0px 30px;
    }

.text-container {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
	
}


.navbar-left h1 {
    font-size: 43px;
    font-family: 'CMU Serif', serif;
    margin: 0;
}

.navbar-left p {
    font-size: 14px;
    color: #555;
    padding-left: 2px;
    margin: 0;
}

.logo {
    width: 50px;
    height: 50px;
	margin-top:8px;
}

.navbar-nav .nav-item {
    position: relative;
    margin-left: 20px;
}

.navbar-nav .nav-link {
    padding: 5px 15px;
    color: #3f3f3d;
    text-decoration: none;
    background-color: transparent;
}

.navbar-nav .nav-link:hover {
    color: #85986b;
    background-color: transparent;

}

/* Base styling for .nav-item.book-now */
.nav-item.book-now {
    background-color: transparent;
    border: 1px solid #3f3f3d;
    border-radius: 5px;
}

/* Hover effect for the .nav-item.book-now */
.nav-item.book-now:hover {
    background-color: #3f3f3d;
	color: white !important;
}

/* Target the anchor (<a>) inside .nav-item.book-now */
.nav-item.book-now a {
    color: inherit; /* Inherit the default color */
    transition: color 0.3s ease-in-out; /* Optional: Add transition for smooth hover effect */
}

/* Change text color to white on hover */
.nav-item.book-now:hover a {
    color: #fff !important;
}


.navbar-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 5px 10px;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 0;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    font-size: 1rem;
}

.dropdown-menu a {
    padding: 2px;
    color: #333;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background-color: #f1f1f1;
}

/* For Medium Screens */
@media (max-width: 991px) {
    header {
        display: none;
    }
	
	    nav {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .navbar-nav.d-lg-none {
        position: relative;
        width: 100%;
        background-color: #fff;
        padding: 5px 0;
        text-align: left;
    }

    .navbar-nav.d-lg-none .nav-item {
        width: 100%;
        margin-left: 15px;
        text-align: left;
        padding-left: 20px;
    }

    .navbar-nav.d-lg-none .nav-link {
        color: #3f3f3d;
        padding: 4px 0;
    }

    .navbar-nav.d-lg-none .nav-link:hover {
        color: #728858;
    }
	
	.navbar-left {
        justify-content: left;
        gap: 2px;
        padding: 0px 5px;
    }

    .navbar-left h1 {
        font-size: 30px;
    }

    .navbar-left p {
        font-size: 10px;
    }

    .navbar-toggler {
        border: none;
        background: transparent;
        padding: 10px;
        outline: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
    }

    .navbar-toggler-icon {
        width: 30px;
        height: 24px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar-toggler-icon span {
        display: block;
        width: 30px;
        height: 4px;
        background-color: #3f3f3d;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
        position: absolute;
    }

    .navbar-toggler-icon span:nth-child(1) {
        top: 0;
    }

    .navbar-toggler-icon span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar-toggler-icon span:nth-child(3) {
        bottom: 0;
    }

    .navbar-toggler.active .navbar-toggler-icon span:nth-child(1) {
        transform: rotate(45deg);
        top: 50%;
    }

    .navbar-toggler.active .navbar-toggler-icon span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggler.active .navbar-toggler-icon span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 50%;
    }

    .navbar-toggler:focus {
        outline: none !important;
        box-shadow: none !important;
        border: none !important;
    }
	
	.logo {
    width: 40px;
    height: 40px;
	margin-top:5px;
	}
	
	/* Base styling for .nav-item.book-now */
	.nav-item.book-now {
		border: none;
	}
	
	/* Hover effect for the .nav-item.book-now */
	.nav-item.book-now:hover {
    background-color: transparent;
}

.nav-item.book-now:hover a {
    color: #728858 !important;
}
}


/* Slider Item */
.slider-item {
  background-size: cover;
  background-position: top center;
  min-height: 70vh; /* Use min-height to avoid pushing content down */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
}

.slider-item img {
    object-fit: cover; /* Ensures the image covers the container */
    width: 100%;       /* Stretches the image to fill the width */
    height: 100%;      /* Makes the image fill the height */
    position: absolute;
    top: 0;            /* Position the image at the top of the container */
    left: 0;           /* Align the image to the left */
    object-position: top; /* Ensure the image aligns with the top of the container */
}

/* Text Container inside Slider */
.trans-div {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 5px;
}

.trans-div h1 {
  font-size: 2em; /* Adjust font size for better readability */
  margin-bottom: 20px;
}

.trans-div p {
  font-size: 1.2em; /* Adjust paragraph font size */
  margin-bottom: 20px;
}

/* Button Styling */
.trans-div .btn {
  background-color: #728858;
  border: 2px solid #728858;
  color: white;
  padding: 10px 20px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.trans-div .btn:hover {
  background-color: #fff;
  color: #728858;
  border: 2px solid #728858;
}

/* Media Queries */
@media (max-width: 768px) {
  .slider-item {
    min-height: 80vh; /* Adjust height for small screens */
  }

  .trans-div {
    background-color: rgba(255, 255, 255, 0.5); /* Maintain transparency */
    padding: 20px; /* Add more padding for mobile */
    border-radius: 20px;
    text-align: center; /* Center text for smaller screens */
  }

  .trans-div h1 {
    font-size: 1.5em; /* Adjust heading size for mobile */
    margin-bottom: 10px;
  }

  .trans-div p {
    font-size: 1em; /* Adjust paragraph font size for mobile */
    margin-bottom: 15px;
  }

  .trans-div .btn {
    padding: 12px 25px; /* Increase padding for better touch targets */
    font-size: 1.1em; /* Adjust button font size */
  }
}

@media (max-width: 480px) {
  /* Extra small screens like iPhone SE */
  .slider-item {
    min-height: 85vh; /* Adjust for small screens */
  }

  .trans-div {
    padding: 15px; /* Add padding for small screens */
  }

  .trans-div h1 {
    font-size: 1.3em; /* Adjust heading size for small screens */
  }

  .trans-div p {
    font-size: 0.9em; /* Adjust paragraph font size */
  }

  .trans-div .btn {
    padding: 10px 20px; /* Ensure button is appropriately sized */
    font-size: 1em; /* Adjust button text size */
  }
}

/* Owl Carousel Custom Navigation Dots Inside the Slider */
.owl-carousel {
  position: relative;
  margin-top: 0; /* Ensure no margin above the carousel */
}

.owl-carousel .owl-item {
  opacity: 0.4; /* Default opacity for inactive items */
}

.owl-carousel .owl-item.active {
  opacity: 1; /* Active item opacity */
}

/* Owl Carousel Dots */
.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 10px; /* Add margin between dots and content */
  margin-bottom: 0px; /* Add margin between dots and content */
}

.owl-carousel .owl-dots .owl-dot {
  width: 16px; /* Size of the dot */
  height: 16px; /* Size of the dot */
  margin: 5px;
  background-image: url('../images/logo_outline.png'); /* Path to your custom image */
  background-size: contain; /* Ensure the image fits inside the dot */
  background-position: center; /* Center the image within the dot */
  background-repeat: no-repeat; /* Don't repeat the image */
  border-radius: 50%; /* Make it a circle */
  position: relative;
  display: inline-block;
  background-color: transparent; /* Fallback color */
  transition: all 0.3s ease; /* Smooth transition for active state */
}

/* Active dot style - smaller with active state */
.owl-carousel .owl-dots .owl-dot.active {
  width: 16px;  /* Smaller size of active dot */
  height: 16px; /* Smaller size of active dot */
  background-image: url('../images/Logo.png'); /* Optional: you can use a different image for active state */
  background-size: contain; /* Ensure the image fits inside the dot */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Don't repeat the image */
  transform: scale(1.4); /* Slightly enlarge on hover */
}

/* Hover effect for dots */
.owl-carousel .owl-dots .owl-dot:hover,
.owl-carousel .owl-dots .owl-dot:focus {
  outline: none !important;
  transform: scale(1.2); /* Slightly enlarge on hover */
}



.cta-button {
    background-color: #b97552;
    padding: 15px 30px;
    color: white;
    font-size: 1.2em;
    border: none;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #a4694a;
}

/* Section Padding */
section {
    padding-bottom: 10px;  /* Add bottom padding */
    background-color: #fff;  /* White background for sections */
    box-shadow: 0 4px 10px #dddfdc;  /* shadow effect */
    margin-bottom: 20px;  /* Gap between sections */
    border-radius: 8px;  /* Optional: add rounded corners for a softer look */
}



/* General About Section Styling */
.about {
  padding: 60px 20px;
  background-color: #fff;
}

.about .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.about-right {
  flex: 1;
  max-width: 50%;
  overflow: hidden;
}

/* Video Container */
.about-video {
  width: 95%;
  max-width: 100%; /* Ensure it doesn't exceed the screen size */
  height: auto;
  border-radius: 16px; /* Softer rounded corners */
  border: 2px solid rgba(0, 0, 0, 0.1); /* Subtle light border */
  padding: 10px; /* Space between the video and the border */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1); /* Light shadow for elegant effect */
  position: relative; /* Enables positioning of overlay content */
  overflow: hidden; /* Prevents any part of the video from overflowing */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition effects */
  background-color: #fff; /* White background for contrast */
}


/* Video Element */
.about-video video {
  width: 100%; /* Make sure video takes full width */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover; /* Ensure video covers the container without stretching */
  border-radius: 8px; /* Rounded corners on the video */
  display: block; /* Remove unwanted margin/padding */
}

/* Optional: Style for Text Inside the Overlay */
.about-video .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Subtle dark overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 0; /* Make overlay hidden by default */
  transition: opacity 0.3s ease;
}

/* Show overlay on hover */
.about-video:hover .video-overlay {
  opacity: 1;
}

/* Optional - Add fade-in animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.about-video {
  animation: fadeIn 0.5s ease-out;
}



.about-left {
  flex: 1;
  max-width: 50%;
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
  .about .container {
    flex-direction: column;
    text-align: center;
  }

  .about-left, .about-right {
    max-width: 100%;
  }

}

.founders {
    display: flex;
    justify-content: flex-start; /* Aligns them horizontally */
    gap: 20px; /* Optional: adds space between the items */
}

.wrap-a {
    position: relative;
    width: auto; /* Ensure the wrap is not too wide */
    display: flex;
    align-items: center; /* Ensures vertical alignment of content */
}

.wrap-a .img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-size: cover; /* Ensures the image covers the div */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents repeating the image */
}

@media (min-width: 768px) {
    .wrap-a {
        padding-left: .5em; 
    }
}

@media (max-width: 768px) {
    .founders {
        flex-direction: column; /* Stack vertically */
        align-items: center; /* Center the items */
    }

    .wrap-a {
        width: 100%; /* Make each founder take full width */
        margin-bottom: 1rem; /* Add some space between the stacked items */
    }
}

/* Staff Section  */

.doctors {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.staff {
  overflow: hidden;
  margin-bottom: 30px;
  transition: all 0.3s ease; /* Keep transition for smooth effects */
  border: 1px solid #ddd; /* Subtle border */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Elegant shadow */
}

.staff .img-wrap {
  height: 300px; /* Reduced height of the image */
  overflow: hidden; /* Ensures the image is clipped if it overflows */
}

.staff .img {
  width: 100%;
  height: 100%; /* Make image fill the container */
  background-size: cover; /* Ensure the image covers the space without stretching */
  background-position: top center; /* Keep the image positioned well */
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.staff .text {
  position: relative;
  background: #fff;
}

.staff .text h3 {
  font-size: 18px; /* Reduced font size */
  font-weight: 400;
  margin-bottom: 5px; /* Smaller margin */
  transition: all 0.3s ease;
}

	/* Remove blue color and underline from all hyperlinks */
	.staff a {
	  text-decoration: none;  /* Remove underline */
	  color: inherit;         /* Inherit the text color from the parent element */
	  
	}


.staff .text .position {
  text-transform: uppercase;
  color: #b3b3b3;
  letter-spacing: 1px;
}

.staff:hover .img,
.staff:focus .img {
  transform: scale(1.1); /* Scale the image by 1.1 (10% bigger) */
}

/* Initial styling for h3 inside the staff section's anchor tag */
.staff a h3 {
  transition: all 0.3s ease; /* Smooth transition for scaling and color change */
}

/* Hover effect for h3 inside the staff section */
.staff a:hover h3 {
  transform: scale(1.1); /* Scale up the h3 slightly */
  color: #728858; /* Change text color to green on hover */
}


a.btn-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 15px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  border: 2px solid #728858;
  border-radius: 5px;
  background-color: transparent;
  color: #3f3f3d;
  transition: all 0.3s ease;
  white-space: nowrap;
  height: 50px;
}

a.btn-logo .logo {
  width: 30px;
  height: 30px;
  background-image: url('../images/Logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  margin-right: 10px;
  margin-bottom: 5px;
}

a.btn-logo:hover {
  transform: scale(1.1);
  border-color: #728858;
}

a.btn-logo:focus {
  outline: none;
  border-color: #3f3f3d;
  box-shadow: 0 0 8px rgba(63, 63, 61, 0.5);
}

a.btn-logo:active {
  transform: scale(0.95);
}

/* Doctor Biography Box Styling */
.profile-img {
    width: 80%;
    height: 500px;
    background-size: cover;
    background-position: center;
	justify-content: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* Hover effect for profile image */
.profile-img:hover {
    transform: scale(1.05);
}

.heading-section {
    margin-bottom: 40px;
}


@media (max-width: 768px) {
    .row {
        flex-direction: column-reverse; /* Stack image below text on mobile */
    }

    .profile-img {
        height: 250px;
    }
}

/* Animate text when it comes into view */
.ftco-animate {
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Service Box Styling */
.services .service-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  background-color: #f9f9f9; /* Light background color for elegance */
  border: 1px solid #ddd; /* Subtle border */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Elegant shadow */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.services .service-box:hover {
  transform: translateY(-5px); /* Slight lift on hover for a modern feel */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.services .service-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px; /* Rounded image corners */
  max-height: 150px; /* Consistent image height */
}


.services .service-box h3 {
  font-size: 1.5rem;
  color: #3f3f3d;
  margin: 20px 0 10px;
  font-weight: 600; /* Bold for headings */
}

.services .service-box p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.services .service-box .description-btn {
  background-color: #fff;
  color: #728858;
  border: 2px solid #728858;
  padding: 10px 20px;
  text-transform: uppercase;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.services .service-box .description-btn:hover {
     background-color: #728858; /* Elegant blue button */
  	color: white;
}

.services .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.services .col-md-3 {
  flex: 1 1 22%; /* Ensures equal width and responsive layout */
  margin: 10px;
  min-width: 220px; /* Ensures boxes are of consistent width */
}

@media (max-width: 767px) {
  .services .col-md-3 {
    flex: 1 1 48%; /* Stacks boxes in smaller screens */
  }
}

@media (max-width: 480px) {
  .services .col-md-3 {
    flex: 1 1 100%; /* Stacks boxes fully on very small screens */
  }
}

/* Eyehealth */


/* Video grid container */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));  /* Makes grid responsive */
    gap: 20px;
    justify-content: center; /* Center the grid items horizontally */
    align-items: start; /* Vertically align the items in the grid */
    width: 100%; /* Make sure the grid takes up full available width */
    max-width: 1200px; /* Optional: Set a max width for better layout on large screens */
    margin: 0 auto; /* Center the grid horizontally */
}

/* Individual video item styling */
.video-item {
    text-align: center;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; /* Stack video, button, and description vertically */
    justify-content: center; /* Align video and content in the center */
    align-items: center; /* Center horizontally */
    max-width: 100%; /* Ensure it doesn't exceed available space */
	transition: flex-direction 0.3s ease;
}

/* Video titles */
.video-item h4 {
    font-size: 18px;
    font-weight: bold;
    color: #728858;
    margin-bottom: 10px;
}

/* Video element styling */
.video-item video {
    width: 100%;  /* Make video responsive */
    max-width: 350px;  /* Set a max-width for videos to avoid overflow */
    height: auto;  /* Maintain aspect ratio */
    margin: 0 auto;  /* Center the video horizontally */
}

/* Style for the Button */
.video-item .description-btn {
    background-color: #fff;
    color: #728858;
    border: 2px solid #728858;
    padding: 10px 20px;
    margin-top: 10px;
    text-transform: uppercase;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

/* Button Hover State */
.video-item .description-btn:hover {
    background-color: #728858;
    color: white;
}

/* Small screen adjustments for video section */
@media (max-width: 768px) {
    .video-item h4 {
        font-size: 16px;
    }

    .video-item video {
        width: 100%;  /* Ensure the video takes full width on small screens */
        height: auto;  /* Maintain aspect ratio */
    }
}

/* Specialty Services Section Styling */
.specialty-services-section {
    background-color: #f4f8f7;
    padding-top: 60px;
    padding-bottom: 60px;
    font-family: 'Arial', sans-serif;
    color: #333;
}

.specialty-services-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #728858;
    text-align: center;
    margin-bottom: 30px;
}

.specialty-services-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
}

/* Styling for Exam Option Container */
.exam-option-container {
    margin-bottom: 30px;
}

.exam-option {
    background-color: #ffffff;
    padding-top: 20px;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    height: 350px; /* Set fixed height for the div */
}

.exam-option:hover {
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
	transform: scale(1.05); /* Slight zoom effect */
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Styling for the Service Image with Border */
.service-img {
    width: 400px; /* Ensure images stretch to the width of their container */
    height: 230px; /* Set a fixed height to make all images uniform */
    object-fit: cover; /* Ensures the image covers the entire area without distortion */
    border-radius: 15px; /* Rounded corners for images */
    transition: all 0.4s ease-in-out; /* Smooth transition for effects */
    border: 4px solid transparent; /* Initial transparent border */
    background-image: linear-gradient(45deg, #728858, #c67c59, #3f3f3d); /* Gradient border using brand colors */
    background-origin: border-box; /* Make the gradient fill the border */
    background-clip: content-box; /* Clip the background to the content area */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2); /* Subtle shadow around the image */
}

/* Hover Effect: Enlarging the Border & Glow */
.service-img:hover {
    
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3); /* More pronounced shadow on hover */
    border-width: 8px; /* Expand the border width on hover */
    background-image: linear-gradient(45deg, #c67c59, #728858, #dddfdc); /* Change gradient colors on hover */
}

/* Optional: Adding Glow Effect on Hover */
.service-img:hover {
    box-shadow: 0px 0px 15px 5px rgba(214, 213, 200, 0.6); /* Soft glow effect with light beige */
}


.exam-option p {
    font-size: 1.1rem;
    color: #728858;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
    text-align: center; /* Center text underneath image */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .specialty-services-section h2 {
        font-size: 2rem;
    }

    .exam-option-container {
        margin-bottom: 20px;
    }

    .exam-option p {
        font-size: 1rem;
    }
}

/* Mobile Specific Styling */
@media (max-width: 480px) {
    .specialty-services-section p {
        font-size: 0.95rem;
    }

    .exam-option {
        padding: 15px;
    }

    .exam-option p {
        font-size: 0.9rem;
    }
}


  
  /* Optomap */
/* Overall Container Styling */
.video-container {
    display: flex;
    flex-direction: column; /* Stack videos on small screens */
    justify-content: space-between;
    gap: 20px; /* Space between video items */
    margin-bottom: 40px;
}

/* On Medium and Larger Screens (md) */
@media (min-width: 768px) {
    .video-container {
        flex-direction: row; /* Videos side by side on medium and larger screens */
    }
}

/* Video Frame Styling */
.video-frame {
    flex: 1;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effects on Video Frames */
.video-frame:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Title Styling */
.video-frame h3 {
    font-size: 22px;
    color: #333;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
    padding: 0 15px;
}

/* Video Styling */
.video-frame video {
    width: 100%;
    height: 300px;
    object-fit: cover; /* Make sure the video covers the space */
    border-radius: 10px;
    transition: opacity 0.5s ease-in-out;
}

/* Add a slight transition to videos on hover */
.video-frame:hover video {
    opacity: 0.9;
}

/* Button Styling for Video Description (Optional) */
.video-frame button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.video-frame button:hover {
    background-color: #007bff;
}

/* Small Text Under Video */
.video-frame p {
    font-size: 16px;
    color: #777;
    text-align: center;
    padding: 15px;
}
 /* Style for the Back-to-Top button */
.scroll-btn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    padding: 5px;
    background-color: #c67c59;
    color: white;
    border: 1px solid #c67c59;  /* Border thickness and color */
    cursor: pointer;
    z-index: 1000;
	border-radius: 50%;
}

.scroll-btn:hover {
    color: #c67c59;
    background-color: transparent;
    border-color: #c67c59; /* Keeps the border color same on hover */
}

/* Style the FAQ container */
.toc {
    background-color: #f9f9f9; /* Light gray background */
    padding: 10px;
    border-radius: 8px; /* Rounded corners */
    max-width: 90%; /* Limit the width */
    margin-left: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Style the heading */
.toc h7 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

/* Style the unordered list */
.toc ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

/* Style each list item */
.toc ul li {
    margin: 12px 0;
    font-size: 18px;
}

/* Style the links */
.toc ul li a {
    text-decoration: none;
    color: #728858; /* Green color for links */
    font-weight: 500;
    transition: color 0.3s ease, padding-left 0.3s ease; /* Smooth transition */
}

/* Hover effect for links */
.toc ul li a:hover {
    color: #c67c59; /* Orange color on hover */
    padding-left: 10px; /* Adds a small slide effect on hover */
}

/* Add subtle borders between items */
.toc ul li:not(:last-child) {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}



/* Pricing */
/* Table Section */
.table-section {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Table Header Styling */
.table thead th {
    background-color: #3f3f3d;
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #ddd;
}

/* Table Body Styling */
.table tbody td {
    background-color: #ffffff;
    padding: 12px 15px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid #ddd;
}

/* Hover Effect for Table Rows */
.table tbody tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.3s ease;
}

/* Hover Effect for Table Cells */
.table tbody tr:hover td {
    background-color: #f1f1f1;
    transition: background-color 0.3s ease;
}

/* Zebra Striping (Alternating Row Colors) */
.table tbody tr:nth-child(odd) {
    background-color: #fafafa;
}

.table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Small Text Styling for Description */
.table tbody td small {
    color: #777;
    font-style: italic;
}

/* Table Border Styling */
.table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}


.table-section p {
    font-size: 0.9em;
    color: #555;
    margin-top: 5px;
}

.table-section p small em {
    font-size: 1em;
    color: #777;
}


/* Adjust the spacing for general padding */
.table-section p,
.table-section h7 {
    margin-bottom: 10px;
}

/* Styling for the reasons-to-visit section */
.reasons-to-visit {
  padding: 50px 0;
}

.image-gallery-container {
  position: relative;
  width: 100%;
  overflow: hidden;  /* Ensure no images overflow */
  margin-bottom: 10px;
}

.image-gallery {
  display: flex;
  transition: transform 0.5s ease;  /* Smooth transition for sliding */
}

.image-slide {
  flex: 0 0 100%;  /* Ensure each image takes up full width */
  max-width: 100%;  /* Prevent overflow */
}

.image-gallery img {
  width: 100%;
  height: auto;
}

.image-counter {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 16px;
  z-index: 20;
}

/* Style for the scroll buttons */
.scroll-left, .scroll-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  font-size: 20px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: all 0.3s ease;
}

.scroll-left {
  left: 10px;
}

.scroll-right {
  right: 10px;
}

/* Hover effect for buttons */
.scroll-left:hover, .scroll-right:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

/* Focus effect with cream glow */
.scroll-left:focus, .scroll-right:focus {
  outline: none;
  box-shadow: 0 0 10px 4px rgba(255, 253, 208, 0.7);  /* Cream glow effect */
}


 /* Container for the Blurry Section */
        .fun-section {
            position: relative;
            padding: 50px;
            background-color: #f4f4f4;
			background: url('../images/texture.png') repeat, linear-gradient(135deg, #dddfdc, #fff); /* Apply texture directly */
            text-align: center;
            border: 2px dashed #728858; /* Dashed border to signal interactivity */
            border-radius: 10px;
            transition: transform 0.3s ease; /* Smooth transition on hover */
            max-width: 90%;
            margin: 50px auto;
			cursor: url('../images/glasses-cursor.png') 16 16, auto; /* Custom lens cursor */
        }

        /* Blurred content that will become clear when hovered */
        .blurred-content {
            filter: blur(3px); /* Start with a blur effect */
            transition: filter 0.3s ease-in-out, transform 0.3s ease; /* Smooth transition */
            padding: 20px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */
        }

        /* Hover effect: Make the content clear when the section is hovered */
        .fun-section:hover .blurred-content {
            filter: blur(0); /* Removes the blur */
            transform: scale(1.05); /* Slight zoom-in effect to emphasize interaction */
        }

        /* Hover effect: Highlight the section itself */
        .fun-section:hover {
            transform: scale(1.05); /* Slight zoom-in effect on the section */
            border-color: #e9ecef; /* Change border color on hover */
        }


        /* Special style for the prompt text that asks users to interact */
        .interactive-prompt {
            font-size: 18px;
            font-weight: 600;
            color: #728858; /* Green-ish color to match optometry theme */
            margin-top: 15px;
            opacity: 0.7;
            transition: opacity 0.3s ease; /* Fade in/out effect */
        }

        /* Make the prompt text more visible when hovered */
        .fun-section:hover .interactive-prompt {
            opacity: 1;
        }


	
/* Footer */
footer {
  background-color: #728858;
  color: white;
  text-align: left;
  padding: 40px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1;
  margin-right: 30px;
}

.footer-section h4 {
  font-size: 18px;
  text-decoration: underline;
  margin-bottom: 10px;
  color: white;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section li {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-section a {
  color: white;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%;
  }

  .footer-bottom {
    margin-top: 20px;
  }
}


    /* Animation for Sections */
    .animate-section {
      opacity: 0;
      transform: translateY(50px);
      animation: fadeInUp 1s forwards;
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

/* Popup box styling */
.popup {
    display: none; /* Ensure the popup is hidden initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Darker semi-transparent background */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out; /* Add fade-in animation for popup */
}

/* Popup content box styling */
.popup-content {
    position: relative;
    background-color: #dddfdc;
    padding: 30px;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 15px; /* Rounded corners */
    text-align: center;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    transform: scale(0); /* Start with a small size for the animation */
    animation: popupAnimation 0.5s forwards; /* Animate the popup appearing */
}

/* Popup close button (X) */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 35px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Popup Close button hover effect */
.close-btn:hover {
    color: #d9534f; /* Change color to red on hover */
    transform: rotate(90deg); /* Fun rotating effect */
}

/* Popup Button styling */
.confirm-btn {
    padding: 12px 30px;
    margin: 15px 10px;
    background-color: #728858;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s ease;
}

/* Popup Confirm button hover effect */
.confirm-btn:hover {
    background-color: #a0c19f; /* Lighter shade of green */
    transform: scale(1.1); /* Slightly enlarge button on hover */
}

/* Popup Animation for popup appearance */
@keyframes popupAnimation {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Popup Animation for fading in popup */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}