/******************************************
    File Name: custom.css
/****************************************** */

/** ADD YOUR AWESOME CODES HERE **/
::-webkit-input-placeholder {
    /* Chrome */
    color: #333;
    opacity: 1;
}

:-ms-input-placeholder {
    /* IE 10+ */
    color: #333;
    opacity: 1;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #333;
    opacity: 1;
}

:-moz-placeholder {
    /* Firefox 4 - 18 */
    color: #333;
    opacity: 1;
}

::-webkit-textarea-placeholder {
    /* Chrome */
    color: #333;
    opacity: 1;
}

:-ms-textarea-placeholder {
    /* IE 10+ */
    color: #333;
    opacity: 1;
}

@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');
@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,500,600,700');
@import url('https://fonts.googleapis.com/css?family=Arvo:400,400i,700');

* {
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 300;
}

.header_style_01 .navbar-brand {
    padding: 0;
}

.navbar-brand img {
    width: 200px;
}

#preloader {
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #39b49a;
    z-index: 11000;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-bottom {
    width: 100%;
    background: #157fda;
}

header {
    width: 100%;
    position: fixed;
    z-index: 5;
    background-color: #fff;
    box-shadow: 0 20px 40px -40px #000;
    top: 0;
}

#home.first-section {
    position: relative;
    min-height: 650px;
    margin-top: 145px;
}

.header-bottom nav.main-menu {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.header-bottom nav.main-menu ul.nav.navbar-nav>li a {
    color: #fff;
    font-size: 15px;
    padding: 20px 20px;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 700;
}

.header-bottom nav.main-menu ul.nav.navbar-nav>li a:hover,
.header-bottom nav.main-menu ul.nav.navbar-nav>li a:focus,
.header-bottom nav.main-menu ul.nav.navbar-nav>li a.active {
    color: #fff;
    background: #eb7440;
    box-shadow: 5px 5px 0 0px #fff;
}

.header-top {
    background-color: #3645ac;
    width: 100%;
    padding: 10px 0;
}

.header-top .navbar-brand {
    height: auto;
}

.right-header {
    margin: 11px 0;
}

.header-info {
    width: 100%;
    margin-left: 45px;
}

.navbar-nav .btn {
    display: none;
}

.info-inner span.icontop {
    background: #eb7440;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: normal;
    padding: 10px 12px;
    margin-right: 15px;
    color: #fff;
    font-size: 18px;
    transition: ease all 1s;
    border-radius: 100%;
}

.iconcont {
    font-size: 20px;
    letter-spacing: -1px;
    margin: 4px 0;
}

.info-inner {
    margin-left: 15px;
}

.info-inner span.icontop img {
    width: 100%;
    margin-bottom: 10px;
}

.serch-bar {
    width: 250px;
}

/** search bar **/
#custom-search-input {
    padding: 0;
    border: none;
    border-radius: 50px;
    background-color: #fff;
    overflow: hidden;
    margin: 10px 0;
}

#custom-search-input .form-control.input-lg {
    border-radius: 50px;
    overflow: hidden;
    border: yellow;
    font-size: 14px;
    font-weight: 500;
    padding: 0px 25px 0 25px;
    color: #222;
    width: 200px;
    height: 40px;
}

#custom-search-input button {
    margin: 0;
    background: none;
    box-shadow: none;
    color: #222;
    padding: 0;
}

#custom-search-input button i {
    font-size: 18px;
    color: #333;
}

#custom-search-input input {
    border: 0;
    box-shadow: none;
}

#custom-search-input button {
    margin: 0;
    background: none;
    box-shadow: none;
    border: 0;
    color: #666666;
    padding: 0 15px 0 15px;
    border-left: solid 1px #ccc;
}

#custom-search-input button:hover {
    border: 0;
    box-shadow: none;
    border-left: solid 1px #ccc;
}

#custom-search-input .glyphicon-search {
    font-size: 23px;
}

.big-tagline {
    width: 100%;
    background: rgba(255, 255, 255, 7);
    padding: 0;
    margin: 0;
}

.appointment-form {
    width: 100%;
    background: #ef7c3400;
    min-height: 425px;
    box-shadow: 0 0 50px -22px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

.appointment-form h3 {
    margin: 0;
    background: linear-gradient(to right, #39b49a 0%, #1d86df 100%);
    width: 100%;
    color: #fff;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: 600;
}

#home.first-section::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0);
}

.text-contant {
    width: 80%;
    margin: 50px 10% 0;
    padding: 40px 0 40px;
    border-radius: 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.text-contant h2 a,
.text-contant h2 a:hover,
.text-contant h2 a:focus {

    color: #f86916;
    opacity: 1;
}

.icon {
    background: #fff;
    border-radius: 100%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid #ec7441 3px;
    margin-bottom: 20px;
}

.icon img {
    width: 50px;
    margin-top: 2px;
}

.text-contant .center {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
    margin-bottom: 20px;
}

.info-inner span.icontop i.fa-clock-o {
    font-size: 25px;
}

.info-inner:hover span.icontop,
.info-inner:focus span.icontop {
    border-radius: 100%;
    background: #39b49b;
}

.typewrite {
    font-size: 60px;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    text-shadow: 4px 3px 0 rgba(0, 0, 0, 0.0);

    letter-spacing: -1px;
    font-weight: 400;
}

body.clinic_version .first-section h2 {
    color: #1f1f1f;
    text-transform: capitalize;
    font-size: 40px;
    font-weight: bold;
    width: 100%;
    padding: 0;
}

.padding-section {
    padding: 75px 0;
}

.service-time {
    width: 100%;
    min-height: 350px;
    margin-top: -300px;
    padding: 50px;
    color: #fff;
    position: relative;
}

.info-icon {
    width: 100%;
    text-align: center;
    font-size: 75px;
    line-height: normal;
    margin-bottom: 20px;
}

.service-time h3 {
    width: 100%;
    text-align: center;
    color: #fff;
    margin: -5px 0 15px 0;
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    text-transform: none;
}

.service-time p {
    width: 100%;
    text-align: center;
    margin: 0;
    font-size: 14px;
}

.service-time ul {
    margin: 0;
    list-style: none;
    width: 100%;
    padding: 0;
}

.service-time ul li {
    width: 100%;
    font-size: 14px;
    border-bottom: dashed 1px #fff;
    padding-bottom: 10px;
    padding-top: 10px;
}




.service-time.middle::before {

    content: "";
    display: block;
    width: 0;
    height: 0;
    background: transparent;
    position: absolute;
    bottom: 0px;
    z-index: 0;
    border-bottom: solid transparent 65px;
    border-right: solid #a0cff7 70px;
    left: -70px;

}

.service-time.middle::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    background: transparent;
    position: absolute;
    bottom: 0px;
    z-index: 0;
    border-bottom: solid transparent 65px;
    border-left: solid #a0cff7 70px;
    right: -70px;
}

.service-time.one {
    position: relative;
    z-index: 1;
}

.heading {
    text-align: center;
    width: 100%;
    margin: 0 0 50px 0;
}

.heading h2 {
    font-size: 35px;
    text-transform: none;
    font-weight: 400;
    letter-spacing: -1px;
    color: #333;
    margin: 5px 0;
    padding: 0;
    position: relative;
}

.icon-logo img {
    width: 60px;
    border-radius: 100%;
}

.heading h2::after {
    width: 50px;
    height: 4px;
    background: #39b49b;
    content: "";
    display: block;
    margin: 10px auto 0;
}

body.clinic_version .first-section {
    padding: 1em 0;
}

.message-box .lead {
    padding-top: 10px;
    font-size: 16px;
    font-style: normal;
    color: #999;
    padding-bottom: 0;
    font-weight: 400;
}

body.clinic_version .section {
    padding: 90px 0;
    width: 100%;
}

.message-box p {
    margin-bottom: 15px;
}

.img-responsivee {
    height: 200px;
}

.service-widget h3 {
    font-size: 16px;
    color: #ffffff;
    padding: 12px 0 12px;
    margin: 0;
    background: #157fda;
    text-align: center;
}

hr.hr1 {
    position: relative;
    margin: 60px 0;
    border: 1px dashed #f0f0f0;
}

.services {
    width: 100%;
    background: linear-gradient(to right, #1d86df 0%, #39b49a 100%);
    padding: 75px 0;
}

.services {
    width: 100%;
    background: url('../images/service-bg.png');
    padding: 75px 0;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100%;
}

.serv {
    width: 100%;
    text-align: center;
    color: #fff;
    margin: 25px 0px;
}

.heading h2.white {
    color: #fff;
}

.serv h4 {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
    padding: 0;
    margin: 5px 0 0;
    width: 100%;
}

.serv p {
    width: 100%;
    font-size: 15px;
    line-height: 23px;
    font-weight: 400;
    margin-top: 5px;
}

.icon-service {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}


.icon-service img {
    width: 150px;
}

.inner-services {
    width: 100%;
    margin: 30px 0;
}

.appointment-form .form {
    width: 100%;
}

.appointment-form .form form {
    width: 100%;
    margin: 0;
}

.appointment-form .form form fieldset {
    width: 100%;
}

.form-group {
    width: 100%;
    margin: 0;
}

.form-group input,
.form-group select {
    width: 100%;
    border-radius: 0;
    border: solid #ccc 1px;
    padding: 8px 15px;
    font-weight: 400;
    font-size: 13px;
    margin: 12px 0 0;
    box-shadow: none;
    color: #333;
    height: 44px;
}

.form-group textarea {
    width: 100%;
    border-radius: 0;
    border: solid #ccc 1px;
    padding: 8px 15px;
    font-weight: 400;
    font-size: 13px;
    margin: 12px 0 0;
    box-shadow: none;
    color: #333;
    height: 90px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    box-shadow: none;
}

.select-section div.form-group:nth-child(1) {
    width: 49%;
    margin-right: 2%;
}

.select-section div.form-group:nth-child(2) {
    width: 49%;
}

.center {
    width: 100%;
    justify-content: center;
    display: flex;
}

.form-group button {
    background: linear-gradient(to right, #1d86df 0%, #39b49a 100%);
    border: none;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #fff;
    padding: 8px 30px;
    border-radius: 50px;
    transition: ease all 1s;
    font-weight: 600;
}

.form-group button:hover,
.form-group button:focus {
    background: linear-gradient(to right, #39b49a 0%, #1d86df 100%);
}

body.clinic_version .dev-list .widget h3 {
    display: inline-block;
    font-size: 20px;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 15px 20px;
    position: relative;
    top: -25px;
}

body.clinic_version .dev-list .widget small {
    display: block;
    margin: -15px 0 -5px;
    font-size: 16px;
}

.message-box h4 {
    text-transform: uppercase;
    padding: 0;
    margin: 0 0 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 17px;
    color: #0071d1;
}

#price.section {
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    z-index: 1;
}

body.clinic_version .tab-pane p {
    margin-bottom: 0;
    padding-top: 0;
}

.pricing-table-header h3 {
    font-size: 15px;
}

.pricing-table strong {
    font-weight: 400;
}

.pricing-table.pricing-table-highlighted {
    margin-top: -15px;
    border: solid #fff 5px;
    transition: ease all 1s;
}

.pricing-table {
    margin: 50px -10px 0;
    background: #fff;
    box-shadow: 0px 10px 25px -20px #000;
}

.footer {
    padding: 0 0 80px !important;
}

.contact-info {
    width: 100%;
    padding: 0;
    margin-top: 25px;
    position: relative;
    margin-bottom: 25px;
}

.inform {
    width: 100%;
    padding: 17px 0 0 70px;
    min-height: 135px;
    color: #fff;
    position: relative;
}

.inform span.icon-f {
    width: 70px;
    position: absolute;
    height: 60px;
    text-align: center;
    font-size: 40px;
    line-height: normal;
    left: 0;
}

.footer-info h3 {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
}

.inform span.icon-f img {
    width: 30px;
}

.footer-info address {
    font-size: 14px;
    font-weight: 300;
    margin: 0;
}

.footer-info .phone-no {
    font-size: 14px;
    line-height: normal;
    margin: 0;
}

.contact-info::before {
    content: "";
    display: block;
    width: 58px;
    height: 102px;
    position: absolute;
    background: #a0cff7;
    top: 27px;
    transform: rotate(-45deg);
    left: -45px;
    z-index: 0;
}

.contact-info::after {
    content: "";
    display: block;
    width: 58px;
    height: 102px;
    position: absolute;
    background: #a0cff7;
    top: 27px;
    transform: rotate(45deg);
    right: -45px;
    z-index: 0;
}

.contact-info .col-lg-12 {
    position: relative;
    z-index: 1;
}

body.clinic_version .footer {
    background-color: #15191c;
}

.footer .widget-title img {
    width: 245px;
}

.footer .widget-title small {
    padding: 0;
}

body.clinic_version .footer .widget-title h3 {
    color: #fff;
}

.contact-section {
    width: 100%;
    min-height: 450px;
    background: yellow;
}

.contact-section {
    position: relative;
}

.form-contant {
    position: absolute;
    width: 40%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    z-index: 1;
    padding: 60px;
}

.form-contant input,
.form-contant textarea {
    background: transparent;
    padding: 0;
    border: none;
    border-bottom: solid #fff 2px;
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 15px;
}

.form-contant input:focus,
.form-contant textarea:focus {
    color: #fff;
    border-color: #fff;
}

.actions {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

#submitButton {
    padding: 15px 30px;
    background: linear-gradient(to right, #1d86df 0%, #39b49a 100%);
    color: #fff;
    border-radius: 50px;
    margin-top: 10px;
    transition: ease all 1s;
}

#submitButton:hover,
#submitButton:focus {
    background: linear-gradient(to right, #39b49a 0%, #1d86df 100%);
}

.footer-area {
    background: #3645ac;
    padding: 80px 0px;
    color: #fff;
    font-size: 14px;
    width: 100%;
}

.logo-header {
    margin-left: 30px;
}

.logo img {
    width: 250px;
    margin-bottom: 30px;
}

.footer-area p {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
}

.footer-info {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.footer-info h3,
.subcriber-info h3 {
    display: flex;
    border-right: 3px solid #eb7440;
    padding-right: 15px;
    margin-right: 0;
    color: #eb7440;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

.testimonial small,
.testimonial .lead {
    background-color: transparent;
    color: #aaa;
    display: block;
    font-size: 15px;
    font-style: normal;
    line-height: 30px;
    margin: 0;
    padding: 0;
    position: relative;
    font-weight: 400;
}

.copyright-area {
    padding: 20px 0px;
    background: #157fda;
    color: #fff;
    width: 100%;
}

.footer-text p {
    margin: 0;
}

.footer-text p {
    margin: 0;
    color: #fff;
}

.social-links li a i {
    color: #fff;
    font-size: 24px;
    margin-right: 20px;
}

.social-links li a i {
    color: #fff;
    font-size: 24px;
    margin-right: 20px;
}

.footer-info p {
    display: flex;
    align-items: center;
    padding-right: 0;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.footer-info i {
    width: 30px;
    text-align: center;
    margin-right: -18px;
    position: static;
    font-size: 25px;
    color: #eb7440;
}

.preloader {
    width: 350px;
}

.nersletter-form input {
    display: inline-block;
    height: 50px;
}

.social-links {
    padding: 0;
    list-style: none;
    width: 100%;
    margin: 0;
}



.social-links li {
    margin: 0;
}

.newsletter-form input {
    display: inline-block;
    height: 50px;
    width: 80%;
    padding: 5px 20px;
    background: #eee;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.newsletter-form .mc-submit {
    height: 50px;
    width: 20%;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(to right, #1d86df 0%, #39b49a 100%);
    border: none;
    font-size: 24px;
    position: relative;
    display: inline-block;
    text-align: center;
}

.newsletter-form .mc-submit:hover,
.newsletter-form .mc-submit:focus {
    background: linear-gradient(to right, #39b49a 0%, #1d86df 100%);
}

#testimonials {
    background-image: url('../images/bg-testimonial.png');
    background-position: bottom;
    background-attachment: fixed;
}

#about {
    width: 100%;
}

.tabs-information {
    width: 100%;
    margin: 0;
    padding: 0;
}

.tabs-information .nav.nav-tabs {
    list-style: none;
    width: 100%;
    border: none;
}

.tabs-information .nav.nav-tabs li {
    width: 31.33%;
    margin-right: 2%;
    text-align: center;
    border: none;
    border-radius: 0;
}

.tabs-information .nav.nav-tabs li a,
.tabs-information .nav.nav-tabs li a:hover,
.tabs-information .nav.nav-tabs li a:focus {
    border: solid #ddd 1px;
    margin: 0;
    background: transparent;
    border-radius: 0;
}

.tabs-information .nav.nav-tabs li:hover a,
.tabs-information .nav.nav-tabs li:focus a,
.tabs-information .nav.nav-tabs li.active a {
    background: linear-gradient(to right, #1d86df 0%, #39b49a 100%);
    border-color: transparent;
    color: #fff;
}

.tab-content {
    width: 98%;
    margin-top: 20px;
}

.tab-content ul {
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

.tab-content ul li {
    width: 100%;
    font-size: 16px;
    position: relative;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    padding-left: 30px;
    line-height: 32px;
}

.tab-content ul li i {
    position: absolute;
    left: 0;
    top: 7px;
    font-size: 18px;
    color: #39b49b;
}

.banner-inner {
    width: 100%;
    margin: 0 0 50px 0;
    padding: 75px 0 0;
    background-image: url(public/frontend/images/inner-side-banner.png);
    min-height: 240px;
    text-align: center;
    color: #fff;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    border-bottom: solid #157fda 2px;
}

.banner-inner::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0);
}

.banner-inner div.row {
    position: relative;
    z-index: 1;
}

.banner-inner h4 {
    font-size: 24px;
    color: #222;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
    position: relative;
}

.banner-inner h4::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #39b49b;
    margin: 8px auto 5px;
}

.breadcrum {
    width: 100%;
}

.breadcrum ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrum ul li {
    font-size: 16px;
    color: #222;
    margin-top: 5px;
}

.breadcrum ul li a {
    color: #39b49b;
}

.box {
    background: #fff;
    padding: 25px 40px;
    margin-top: 118px;
    box-shadow: 0 0 40px -20px rgba(0, 0, 0, .4);
    margin-bottom: -62px;
    border: solid #157fda 2px;
}

.about2 {
    width: 100%;
}

.girl-with-lap {
    width: 100%;
    background: linear-gradient(to right, #1d86df 0%, #39b49a 100%);
    margin-bottom: 75px;
    margin-top: -20px;
    color: #fff;
}

.aboutus-cont {
    text-align: center;
}

.aboutus-cont {
    margin-top: 0;
    background: #f8f8f8;
    margin-right: -15px;
    display: flex;
    min-width: 100%;
    min-height: 503px;
    padding: 160px 50px;
    color: #333;
}

.aboutus-cont p {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 25px;
}

.iconcont a {
    font-family: 'Arvo', serif;
    font-size: 15px;
    color: #ffffff;
}

.services-paert {
    width: 100%;
    margin: 0;
    padding: 20px;
    background: #fff;
    position: relative;
}

.services-paert .icon-ser {
    position: absolute;
}

.cont-ser {
    padding-left: 85px;
}

.services-paert img {
    width: 65px;
}

.services-paert .icon-ser {
    margin-right: 25px;
}

#price {
    color: #666;
}

nav.main-menu .navbar-toggle {
    position: relative;
    padding: 2px 10px 0;
    margin-top: 5px;
    margin-right: 0;
    margin-bottom: 0;
    background: linear-gradient(to right, #1d86df 0%, #39b49a 100%);
    border: none;
    border-radius: 0;
    font-size: 20px;
    line-height: normal;
    color: #fff;
    border-radius: 5px;
}

.navbar-header {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    width: auto;
    height: auto;
}

.header-bottom nav.main-menu ul.nav.navbar-nav>li a {
    color: #fff;
    font-size: 17px;
    padding: 20px 20px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    margin-right: 5px;
}

/** mobile **/
@media (max-width:767px) {
    header {
        float: left;
        width: 100%;
        position: fixed;
        z-index: 5;
        background: #fff;
        box-shadow: 0 20px 40px -40px #000;
        top: 0;
        z-index: 999;
    }

    /* Keep the logo on the left as per previous instruction and default LTR behavior */
    /* Adjust for RTL if needed later, but for now stick to default layout */
    .navbar-brand img {
        width: 175px;
        ;
        position: relative;
        right: 10px;
    }

    /* Original right-header (contact info) is hidden */
    .right-header {
        display: none !important;
        /* Ensure it's hidden */
    }

    /* Hamburger menu positioning - keep it on the far side */
    .navbar-header {
        float: right;
        position: absolute;
        top: 21px;
        right: 20px;
        background: transparent;
        width: 40px;
        height: 40px;
        display: block;
    }

    .navbar-brand {
        padding: 15px 0;
    }

    .header-bottom nav.main-menu {
        margin: 0;
        padding: 0;
        border: none;
        background: transparent;
        float: left;
        width: 100%;
    }

    .header-bottom nav.main-menu #navbar {
        margin: 0;
    }

    .header-bottom nav.main-menu #navbar .nav.navbar-nav {
        margin-top: 0;
    }

    .header-bottom nav.main-menu ul.nav.navbar-nav>li a {
        color: #fff;
        font-size: 15px;
        padding: 12px 0;
        text-transform: uppercase;
        letter-spacing: 0;
        font-weight: 700;
    }

    .header-bottom nav.main-menu ul.nav.navbar-nav>li a:hover,
    .header-bottom nav.main-menu ul.nav.navbar-nav>li a:focus,
    .header-bottom nav.main-menu ul.nav.navbar-nav>li a.active {
        color: #222;
        background: transparent;
        box-shadow: none;
    }

    .service-time {
        float: left;
        width: 100%;
        min-height: auto;
        margin-top: 25px;
        padding: 35px 20px;
        color: #fff;
        position: relative;
    }

    .service-time.middle::before {
        display: none;
    }

    .service-time.middle::after {
        display: none;
    }

    .typewrite {
        font-size: 28px;
    }

    .appointment-form {
        padding: 15px;
    }

    .heading h2 {
        font-size: 28px;
        margin: 10px 0;
    }

    .pricing-table-features {
        padding: 0 10px 15px 30px;
    }

    .pricing-table-header h2 {
        font-size: 23px;
        font-weight: 400;
    }

    body.clinic_version .desc {
        position: relative;
        background: #fff;
        border: 1px solid #ededed;
        float: left;
        width: 100%;
        margin-bottom: 25px;
    }

    #home.first-section {
        position: relative;
        min-height: 350px;
        margin-top: 70px;
    }

    .form-contant {
        float: left;
        position: absolute;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .8);
        z-index: 1;
        padding: 20px 40px;
    }

    .contact-section {
        float: left;
        width: 100%;
        min-height: 540px;
        background: yellow;
    }

    .contact-section #googleMap {
        height: 550px !important;
    }

    .footer-info h3,
    .subcriber-info h3 {
        margin-bottom: 20px;
        margin-top: 10px;
    }

    .text-contant {
        width: 90%;
        margin: 0 5% 0;
        padding: 0;
    }

    .typewrite {
        font-size: 24px;
        font-weight: 700;
        margin-top: 0;
    }

    .service-time {
        padding: 25px 20px 35px;
    }

    .footer-info h3,
    .subcriber-info h3 {
        float: left;
        width: 100%;
    }

    .footer-info p {
        float: left;
        width: 100%;
    }

    .serch-bar {
        float: right;
        width: 100%;
    }

    /* Logo centering and mobile auth buttons */
    .header-top .row {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Center logo and buttons */
        flex-wrap: nowrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .logo-header {
        width: auto;
        flex: none;
        order: 1;
        /* Logo first */
    }

    .mobile-auth-buttons {
        display: flex !important;
        /* Make mobile buttons visible */
        justify-content: center;
        /* Center buttons within their container */
        width: auto;
        flex: none;
        order: 2;
        /* Buttons second */
        margin-top: 0;
        /* No extra margin */
    }

    .mobile-auth-buttons .info-inner {
        display: flex;
        /* Ensure flex for centering buttons */
        justify-content: center;
        flex-wrap: nowrap;
        gap: 5px;
        /* Small gap between buttons */
    }

    .navbar-brand {
        /* Adjust existing rule for padding/height if necessary */
        padding: 0 !important;
        height: auto !important;
    }

    .navbar-brand img {
        /* Ensure logo size is consistent */
        max-height: 45px;
        width: auto;
        position: static;
        right: auto;
    }

    .navbar-nav .btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        padding: 6px 14px;
        margin: 0 4px;
        white-space: nowrap;
    }

    /* General RTL adjustments for mobile within this media query */
    [dir="rtl"] .logo-header {
        justify-content: flex-end;
        /* Logo to the right in RTL */
    }

    [dir="rtl"] .mobile-auth-buttons .info-inner {
        justify-content: center;
        /* Centered regardless of direction */
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    /* ================= Header Layout ================= */

    #home.first-section {
        position: relative;
        min-height: 850px;
        margin-top: 145px;
    }

    /* خلي الجزء العلوي ظاهر */
    .right-header {
        display: flex;
        /* ❗ بدل none */
        float: right;
        margin: 11px 0;
        align-items: center;
        gap: 10px;
    }

    /* إلغاء الهامبرجر */
    nav.main-menu .navbar-toggle {
        display: none !important;
    }

    /* خلي المينيو كاملة */
    #navbar.navbar-collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
        float: none;
        width: auto;
    }

    .navbar-nav {
        display: flex;
        float: none;
    }

    .navbar-nav>li {
        float: none;
    }

    .header-bottom nav.main-menu ul.nav.navbar-nav>li a {
        font-size: 16px;
        padding: 15px 14px;
        font-weight: 500;
    }

    .header-top .navbar-brand img {
        width: 110px;
    }

    /* ================= باقي التصميم ================= */

    .typewrite {
        font-size: 45px;
    }

    .service-time.middle::before,
    .service-time.middle::after {
        display: none;
    }

    .service-time {
        margin-top: 0;
    }

    .service-time.one {
        margin-top: -340px;
    }

    .serv p {
        display: none;
    }

    .inner-services {
        margin: 0;
    }

    .form-contant {
        width: 40%;
        padding: 15px 30px;
    }

    #googleMap {
        height: 540px !important;
    }

    .footer-info h3,
    .subcriber-info h3,
    .footer-info p {
        width: 100%;
        float: left;
    }

    /* ===== Fix Header Top Layout ===== */
    .header-top .row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        /* ❗ مهم */
    }

    .logo-header {
        flex: 0 0 auto;
        justify-content: flex-start;

    }

    .right-header {
        flex: 1;
        /* ❗ ياخد المساحة الباقية */
        display: flex !important;
        align-items: center;
        gap: 10px;
        justify-content: flex-end;
    }

    /* إلغاء سلوك Bootstrap Grid */
    .header-top .logo-header,
    .header-top .right-header {
        width: auto !important;
        max-width: none !important;
        flex: unset !important;
    }

    /* اللوجو */
    .logo-header {
        flex-shrink: 0;
    }

    /* الجزء اللي فيه الوقت + التليفون + الأزرار */
    .right-header {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        flex: 1;
        /* ❗ ده أهم سطر */
        gap: 10px;
        overflow: visible;
    }

    /* محتوى الاتصال */
    .header-info {
        display: flex !important;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    [dir="rtl"] .header-info {
        width: auto !important;
        /* ⭐ أهم سطر */
        display: inline-flex !important;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }

    .info-inner {
        display: flex;
        align-items: center;
        white-space: nowrap;
        margin: 5px 8px;
        /* يمنع الكسر */
    }

    .right-header .btn {
        padding: 6px 14px;
        font-size: 13px;
    }
}


@media (min-width:1001px) and (max-width:1199px) {
    .header-bottom nav.main-menu ul.nav.navbar-nav>li a {
        padding: 20px 18px;
    }

    .info-inner {
        float: left;
        margin-left: 30px;
    }
}

@media (min-width:1200px) and (max-width:1240px) {
    .info-inner {
        float: left;
        margin-left: 30px;
    }
}

/* --- RTL Fixes for Header and Navbar --- */
[dir="rtl"] {

    /* --- General Resets --- */
    /* These rules override bootstrap-rtl.min.css and custom.css to ensure consistency */
    .pull-left {
        float: right !important;
    }

    .pull-right {
        float: left !important;
    }

    .text-left {
        text-align: right !important;
    }

    .text-right {
        text-align: left !important;
    }

    /* --- Header Top --- */
    /* Let the Bootstrap grid handle the layout, just reverse the floats */
    .header-top .navbar-brand {
        float: right;
        /* Logo to the right */
    }

    .header-top .navbar-brand img {
        width: 200px;
    }

    .right-header {
        float: left;
        /* Contact info to the left */
    }

    .info-inner {
        margin-left: 0;
        margin-right: 15px;
        /* RTL spacing */
    }

    .info-inner .icontop {
        margin-left: 8px;
        /* RTL spacing */
        margin-right: 0;
    }

    /* --- Header Bottom (Navbar) --- */
    .header-bottom nav.main-menu {
        float: right;
        /* Make the whole menu container float right */
    }

    .navbar-header {
        float: left;
        /* Keep hamburger menu on the far side */
    }

    @media (min-width: 768px) {
        #navbar {
            float: left;
        }

        .navbar-nav {
            float: right;
            /* Override bootstrap default */
        }

        .navbar-nav>li {
            float: right;
            /* Already in bootstrap-rtl, but good to be explicit */
        }
    }

    /* Fix for the jumping active/hover background */
    .header-bottom nav.main-menu ul.nav.navbar-nav>li>a {
        /* Apply a transparent shadow in the default state that matches the active/hover state */
        box-shadow: 5px 5px 0 0px transparent;
        transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
        /* Smooth transition */
    }

    /* Ensure the active/hover state does not change layout */
    .header-bottom nav.main-menu ul.nav.navbar-nav>li>a:hover,
    .header-bottom nav.main-menu ul.nav.navbar-nav>li>a:focus,
    .header-bottom nav.main-menu ul.nav.navbar-nav>li>a.active {
        color: #fff;
        background: #eb7440;
        box-shadow: 5px 5px 0 0px #fff;
        /* This was the original style */
    }

    /* Footer fixes */
    .footer-info h3,
    .subcriber-info h3 {
        border-left: none;
        border-right: solid #eb7440 5px;
        /* RTL border */
        padding: 0 15px 0 0;
        /* RTL padding */
    }

    /* --- RTL Footer Icon Fix --- */
    /* Reset the LTR-specific padding on the parent paragraph */
    .footer-info p {
        padding-left: 0;
    }

    /* Normalize the icon's position and add correct RTL spacing */
    .footer-info p i.fa {
        /* Reset LTR absolute positioning and any floats */
        position: static;
        float: none;
        width: auto;
        /* In RTL, text is on the right, so add margin to the LEFT of the icon for spacing */
        margin-right: 0;
        margin-left: 8px;
    }

    .social-links li {
        float: left;
        /* Social links should be LTR within their container */
        margin: 0 0 0 10px;
    }
}

/* --- UI Polish & Refinements (RTL) --- */
[dir="rtl"] {

    /* Rules that apply to BOTH desktop and mobile */
    .header-bottom nav.main-menu ul.nav.navbar-nav>li>a {
        padding-top: 15px;
        padding-bottom: 15px;
        line-height: 20px;
        box-shadow: 2px 2px 0 0px transparent;
    }

    .header-bottom nav.main-menu ul.nav.navbar-nav>li>a:hover,
    .header-bottom nav.main-menu ul.nav.navbar-nav>li>a:focus,
    .header-bottom nav.main-menu ul.nav.navbar-nav>li>a.active {
        box-shadow: 2px 2px 0 0px #fff;
    }

    .info-inner {
        float: none;
    }
}

/* DESKTOP-ONLY alignment rules */
@media (min-width: 768px) {
    [dir="rtl"] .right-header {
        display: flex;
        align-items: center;
        height: 55px;
        margin-right: 40px;
    }

    [dir="rtl"] .header-info {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
}

/* --- Mobile Header Collapse Fix --- */
@media (max-width: 767px) {
    [dir="rtl"] .header-top {
        height: auto;
        /* Allow header to collapse naturally */
    }

    /* The .right-header should be hidden on mobile */
    [dir="rtl"] .right-header {
        display: none !important;
    }

    /* Reduce the logo's padding to slim down the header */
    [dir="rtl"] .navbar-brand {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    /* Re-align the hamburger menu icon vertically */
    [dir="rtl"] .navbar-header {
        top: 18px;
    }
}

/* --- Styles for Icon-Only Header Buttons --- */
.header-top .info-inner .icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    margin: 0 5px;
}

.header-top .info-inner .icon-btn i {
    margin: 10px;
}

/* Tooltip styling (optional, but good for consistency) */
.tooltip-inner {
    font-family: 'Cairo', sans-serif !important;
    font-size: 14px;
    background-color: #3645ac;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom-color: #3645ac;
}

@media (max-width: 767px) {

    /* 🔴 Mobile hard reset */
    header .header-top .row {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    header .logo-header {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: auto !important;
        max-width: none !important;
        flex: 0 0 auto !important;
    }

    header .logo-header img {
        max-height: 45px !important;
        width: auto !important;
        position: static !important;
        right: auto !important;
    }

    header .right-header {
        display: none !important;
    }

    header .navbar-header {
        position: absolute !important;
        top: 18px !important;
        left: 15px !important;
        /* RTL */
        right: auto !important;
    }
}