*{
	margin: 0;
	padding: 0;
	font-family: 'Poppins', sans-serif;

}
#banner{
	background: linear-gradient(rgba(0,0,0,0.5),#009688),url(images/michael.jpg);
	background-size: cover;
	background-position: center;
	height: 100vh;
}
.logo{
    width: 140px;
    position: absolute;
    top: 4%;
    left: 10%;
	object-fit: cover;
	border-radius: 50%;
}
.banner-text{
    text-align: center;
    color: #fff;
    padding-top: 180px;
}
.banner-text h1{
    font-size: 100px; 
    font-family: 'Kaushan Script', cursive;
}


.banner-text p{
    font-size: 20px;
    font-stretch: italic;
    
}
.banner-btn{
	margin:70px auto 0;
}
.banner-btn a{
	width: 150px;
	text-decoration: none;
	display: inline-block;
	margin: 0 10px;
	padding: 12px 0;
	color: #fff;
	border: .5px solid #fff;
	position: relative;
	z-index: 1;
	transition: color 0.5s;
}
.banner-btn a span{
	width: 0%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: white;
	z-index: -1;
	transition: 0.5s;
}
.banner-btn a:hover span{
	width: 100%;

}
.banner-btn a:hover{
	color: black;
}
#sideNav{
	width: 250px;
	height: 100vh;
	position: fixed;
	right: -250px;
	top: 0;
	background: #009688;
	z-index: 2;
	transition: 0.5s;
}
nav ul li{
	list-style: none;
	margin: 50px 20px;

}
nav ul li a{
	text-decoration: none;
	color: white;
	
}
/* Admin Button Styling */
.admin-btn {
    display: block;
    text-align: center;
    padding: 10px;
    margin: 20px auto 10px;
    background-color: #333;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.admin-btn:hover {
    background-color: #009688;
    color: white;
}
#menuBtn{
	width: 50px;
	height: 50px;
	background: #009688;
	text-align: center;
	position: fixed;
	right: 30px;
	top: 20px;
	border-radius:3px;
	z-index: 3;
	cursor: pointer;
}
#menuBtn img{
	width: 20px;
	margin-top: 15px;

}
@media screen and (max-width: 770px){
	.banner-text h1{
    	font-size: 44px; 
   
	}
	.banner-btn a{
		display: block;
		margin: 20px auto;
	}

}
#feature{
	width: 100%;
	padding: 70px 0;
}
.title-text{
	text-align: center;
	padding-bottom: 70px;
}
.title-text p{
		margin: auto;
		font-size: 20px;
		color: #009688;
		font-weight: bold;
		position: relative;
		z-index: 1;
		display: inline-block;
}
.title-text p::after{
	content: '';
	width: 50px;
	height: 35px;
	background: linear-gradient(#019587,#fff);
	position: absolute;
	top: -20px;
	left: 0;
	z-index: -1;
	transform: rotate3d(10deg);
	border-top-left-radius: 35px;
	border-bottom-right-radius: 35px;
}
.title-text h1{
	font-size: 50px;
}
.feature-box{
	width: 80%;
	margin: auto;
	display: flex;
	align-items:center;
	text-align: center;
}
.features{
	flex-basis: 50%;
}
.feature-img{
	flex-basis: 50%;
	margin: auto;
}
.feature-img img{
	width: 70%;
	border-radius: 10px;
}
.features h1{
	text-align: left;
	margin-bottom: 10px;
	font-weight: 100;
	color: #009688;
}
.features-desc{
	display: flex;
	align-items: center;
	margin-bottom: 40px;
}
.feature-icon .fa{
	width: 50px;
	height: 50px;
	font-size: 30px;
	line-height: 50px;
	border-radius: 8px;
	color: #009688;
	border:1px solid #009688;
}
.feature-text p{
	padding: 0 20px;
	text-align: initial;
}
@media screen and (max-width: 770px){
	.title-text h1{
	font-size: 35px;
	}
	.features{
	flex-basis: 100%;
}
.feature-img{
	flex-basis: 100%;
	}
	.feature-img img{
	width: 100%;
	}
}
	
	/*--service--*/
#service{
	width: 100%;
	padding: 70px 0;
	background: #efefef;
}
.service-box{
	width: 80%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	margin: auto;
}
.single-service{
	flex-basis: 48%;
	text-align: center;
	border-radius: 7px;
	margin-bottom: 20px;
	color: #fff;
    position: relative;
}
.single-service img{
	width: 100%;
	border-radius: 7px;
}
.overlay{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	border-radius: 7px;
	cursor: pointer;
    background: linear-gradient(rgba(0,0,0,0.5),#009688);
    opacity: 0;
    transition: 1s;
}
.single-service:hover .overlay{
    opacity: 1;   
}
.service-desc{
    width: 80%;
    position: absolute;
    bottom: 0%;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%);
    transition: 1s;
}
hr{
    background: #fff;
    height: 2px;
    border: 0;
    margin: 15px auto;
    width: 60%;
}
.service-desc p{
    font-size: 14px;
}
.single-service:hover .service-desc{
    bottom: 40%;
    opacity: 1;
    
}
@media screen and (max-width: 770px){
    .single-service{
        flex-basis: 100%;
        margin-bottom: 30px;
    }
    .service-desc p{
        font-size: 12px;
    }
    hr{
        margin: 5px auto;
    }
    .single-service:hover .service-desc{
    bottom: 25% ! important;
    }
}

/*videos*/
#our-work {
    width: 100%;
    padding: 70px 0;
    background: #f4f4f4;
    text-align: center;
}

.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.mySlides {
    display: none;
    position: relative;
}

video {
    width: 100%;
    max-height: 450px;
    border-radius: 20px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
}

.mySlides:hover .overlay {
    opacity: 1;
}

.overlay-text {
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.prev, .next {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/*testimonials*/
#testimonials{
    width: 100%;
    padding: 70% 0;
}
.testimonial-row{
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.testimonial-col{
    flex-basis: 28%;
    padding: 10%;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 10px 20px 30px #00968814;
    cursor: pointer;
    transition: transform .5s;
}
.testimonial-col p{
    font-size: 15px;
}
.user{
    display: flex;
    align-items: center;
    margin: 20px 0;
}
.user img{
    width: 40px;
    margin-right: 20px;
    border-radius: 3px;
}
.user-info .fa{
    margin-left: 10px;
    color: #27c0ff;
    font-size:20px;
    
}
.user-info small{
    color: #009688;   
}
.testimonial-col:hover{
    transform: translateY(-7px);
}
@media screen and (max-width: 770px){
    .testimonial-col{
        flex-basis: 100%;
        margin-bottom: 30px;
    }
    
}

/*footer--*/

#footer{
    padding: 100px 0 20px;
    background: #efefef;
    position: relative;
}
.footer-row{
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.footer-left.footer-right{
    flex-basis: 45%;
    padding: 10px;
    margin-bottom: 20px;    
}
.footer-right{
    text-align: right;
}
.footer-row h1{
    margin: 10px 0;
}
.footer-row p{
    line-height: 35px;
}
.footer-left .fa,.footer-right .fa{
    font-size: 20px;
    color: #009688;
    margin: 10px;
}
#map {
  height: 400px;
  /* The height is 400 pixels */
  width: 100%;
  /* The width is the width of the web page */
}
.social-links{
    text-align: center;
}
.social-links .fa{
    height: 40px;
    width: 40px;
    font-size: 20px;
    line-height: 40px;
    border:1px solid #009688;
    margin: 40px 5px 0;
    color: #009688;
    cursor: pointer;
    transition: .5s;
}
.social-links .fa:hover{
    background: #009688;
    color: #fff;
    transform: translateY(-7px);

}
.social-links p{
    font-size: 12px;
    margin-top: 20px;
}
@media screen and (max-width: 770px){
    .footer-left.footer-right{
        flex-basis: 100%;
        font-size: 14px;
    }
    .feature-img{
        top: 25%;
    }
    /* ===== ADMIN DASHBOARD / TABLES ===== */

  .dashboard-container {
    width: 95%;
    margin: 10px auto;  /* Reduce margins on mobile */
    padding: 10px;      /* Reduce padding */
  }

  header {
    padding: 10px;
    text-align: center;
    position: relative;
  }

  header h1 {
    font-size: 1.2rem; /* Slightly smaller heading on mobile */
    margin: 0;
  }

  .logout {
    top: 15px;       /* Adjust if needed so it doesn't overlap header text */
    right: 15px;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  table thead {
    display: none;   /* Optionally hide table headers on very small screens
                        if you plan to stack cells (see next rules) */
  }

  table tr {
    display: block;  /* Force each row to behave like a "card" */
    margin-bottom: 10px;
    border: 1px solid #ccc;
  }

  table td {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
  }

  /* If you want to label each cell with the column title on mobile: 
     (Uncomment if you hide the table header)
     
     table td:before {
       content: attr(data-label);
       font-weight: bold;
       width: 40%;
     }
  */

  /* Buttons */
  .edit-btn,
  .delete-btn {
    width: 100%;
    margin: 5px 0;
    box-sizing: border-box;
  }

  /* Status dropdown and date/time inputs */
  .status-select,
  input[type="date"],
  input[type="time"] {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    box-sizing: border-box;
  }


  /* ===== EDIT APPOINTMENT FORM ===== */

  /* Make the form stack vertically */
  form {
    display: flex;
    flex-direction: column;
    width: 95%;
    margin: 20px auto;
  }

  label {
    margin: 5px 0 2px;
    font-weight: 600;
    font-size: 0.9rem;
  }

  input[type="date"],
  input[type="time"],
  select {
    font-size: 0.9rem;
    padding: 8px;
    margin-bottom: 15px;
  }

  button {
    padding: 10px;
    font-size: 1rem;
  }

}
/*booking form*/
.booking-form {
    width: 50%;
    margin: auto;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.booking-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.booking-form input, .booking-form select, .booking-form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.booking-form button {
    background: #009688;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
}

.booking-form button:hover {
    background: #00796b;
}

/* Admin Panel Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
}

header h1 {
    margin: 0;
}

header .logout {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    background-color: red;
    border-radius: 5px;
}

.dashboard-container {
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

table th {
    background-color: #333;
    color: white;
}

.delete-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.delete-btn:hover {
    background-color: darkred;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-container h1 {
    margin-bottom: 20px;
    text-align: center;
}

.login-container .error {
    color: red;
    text-align: center;
    margin-bottom: 10px;
}

.login-container form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-container form button {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.login-container form button:hover {
    background-color: #555;
}

/* Responsive Styles */
@media screen and (max-width: 770px) {
    .slideshow-container {
        max-width: 100%;
    }

    .overlay {
        font-size: 1.5rem;
    }
}

/* Booking Page Styles */
#booking {
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    padding: 50px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 950px; /* Increased max width for more space */
    margin: auto;
    text-align: center;
}

.title-text {
    margin-bottom: 30px;
}

.title-text h1 {
    font-size: 2.5rem;
    color: #009688;
}

.title-text p {
    font-size: 1.2rem;
    color: #666;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between form elements */
}

.booking-form label {
    font-weight: bold;
    text-align: left;
}

.booking-form input,
.booking-form select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s; /* Added box-shadow transition */
}

.booking-form input:focus,
.booking-form select:focus {
    border: 1px solid #009688; /* Highlight border on focus */
    outline: none; /* Remove default outline */
    box-shadow: 0 0 5px rgba(0, 150, 136, 0.5); /* Glow effect on focus */
}

.booking-form button {
    background-color: #009688;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s; /* Added transform transition */
}

.booking-form button:hover {
    background-color: #00796b; /* Darker shade on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Responsive Styles */
@media screen and (max-width: 770px) {
    #booking {
        width: 90%; /* Full width on smaller screens */
    }

    .booking-form {
        width: 100%; /* Full width for form elements */
    }
}