.header {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: rgba(128, 159, 255, 0.4);
    padding: 10px 50px;
    z-index: 1000;
    height: 62px;
    transition: background-color 0.5s ease-in-out;
}
.header.scrolled {
    background-color: rgba(128, 159, 255, 1);
}


.header .left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.header .right {
    display: flex;
    align-items: center;
    gap: 70px;
}
@media only screen and (max-width: 1000px) {
	.header .right {
		gap: 20px;
	}
}
@media only screen and (max-width: 500px) {
	.header {
		padding: 10px 25px;
	}
}
/* When menu opens, change opacity to 1 */
.header.menu-open {
    background-color: rgba(255, 255, 255, 1);
}
.book-appointment.menu-open {
	background-color: rgba(128, 159, 255, 1);
	color: #fff !important;
}

/*---------- brand / logo -------------*/
.header h1 {
    margin: 0;
    font-size: 2rem;
}
.header a {
    text-decoration: none;
    color: #000;
}
@media only screen and (max-width: 500px) {
	.header h1 {
		font-size: 1.5rem;
	}
}
@media only screen and (max-width: 400px) {
	.header h1 {
		font-size: 1.25rem;
	}
}

/*------------- reviews ------------*/
.reviews .stars img {
    width: 20px;
	transition: transform 0.4s ease;
}
.reviews .stars img:hover {
	transform: rotate(180deg);
}
.reviews ul {
    list-style: none;
    display: flex;
    justify-content: center;
}
.reviews ul a {
    position: relative;
    text-decoration: none;
}
.reviews ul a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.15s ease, left 0.15s ease;
}
.reviews ul a:hover::before {
    width: 100%;
    left: 0;
}
@media only screen and (max-width: 1000px) {
	.reviews {
		display: none;
	}
}

/*----------- phone img / number ------------*/
.phone-number {
    list-style: none;
    display: flex;
    align-content: center;
    align-items: center;
    gap: 10px;
}
.phone-number img {
    width: 25px;
}
.phone-number li:nth-of-type(2) {
    position: relative;
    text-decoration: none;
}
.phone-number li:nth-of-type(2)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.15s ease, left 0.15s ease;
}
.phone-number li:nth-of-type(2):hover::before {
    width: 100%;
    left: 0;
}
@media only screen and (max-width: 1000px) {
	.phone-number li:nth-of-type(2) {
		display: none;
	}
}


/*------- book appointment / book now button ----*/
.book-appointment {
    list-style: none;
    background-color: #efe;
    padding: 5px 10px;
    border-radius: 10px;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.book-appointment:hover {
	cursor: pointer;
	box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 1);
	transform: translate(-2px, -2px);
}
.book-appointment a {
    text-decoration: none;
    color: #000;
	font-weight: bold;
	white-space: nowrap;
}
@media only screen and (max-width: 600px) {
	.book-appointment {
		display: none;
	}
}



/*------------- menu -----------------*/
.menu-toggle {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 30px;
    cursor: pointer;
    z-index: 1100;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 4px;
    background: black;
    transition: 0.3s ease-in-out;
}
.menu {
    position: fixed;
    top: -120%;
    left: 0;
    width: 100%;
    background-color: #222;
    padding: 20px;
    text-align: center;
    transition: top 0.3s ease-in-out;
	z-index: 10
}
.menu ul {
    list-style: none;
}
.menu ul li {
    padding: 15px;
}
.menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
}
.menu ul li a:hover {
    color: #809fff;
}
.menu.open {
    top: 62px;
}
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}






