@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat.woff2');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat.woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat.woff2');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat.woff2');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter.woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter.woff2');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter.woff2');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter.woff2');
    font-weight: 700;
    font-style: italic;
}

      :root {
            --primary: #23698e;
            --primary-dark: #005072;
            --secondary: #c8a266;
            --background: #fbf9f8;
            --surface: #ffffff;
            --on-surface: #1b1c1c;
            --on-surface-variant: #40484e;
            --border-radius: 0.5rem;
            --font-display: 'Montserrat', sans-serif;
            --font-body: 'Inter', sans-serif;
            --on-surface: #1b1c1c;
            --on-surface-variant: #40484e;
            --surface-container-low: #f5f3f3;
            --surface-container-high: #eae8e7;
            --surface-container-highest: #e4e2e2;
        }

        body.dark-mode {
            --background: #1b1c1c;
            --surface: #111111;
            --on-surface: #f2f0f0;
            --on-surface-variant: #c0c7cf;
        }

        body {
            font-family: var(--font-body);
            background-color: var(--background);
            color: var(--on-surface);
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .icon-box-dm {
            width: 30px;
            height: 30px;
            background-color: #eeeeee;
            color: #000000; /* Bootstrap info color */
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: 0.3s;
            padding-bottom: 18px;
            padding-right: 16px;
        }
        .icon-box-dm:hover {
            background-color: #000000;
            color: #ffffff;
            cursor: pointer!important;
        }
        h1, h2, h3, h4, .font-display {
            font-weight: 700
        }

        .text-primary { color: var(--primary) !important; }
        .text-secondary { color: var(--secondary) !important; }
        .bg-primary { background-color: var(--primary) !important; }
        .bg-secondary { background-color: var(--secondary) !important; }
        
        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
            border-radius: var(--border-radius);
            font-family: var(--font-display);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            padding: 0.75rem 1.5rem;
        }
        
        .btn-primary:hover {
            background-color: var(--primary-dark);
            border-color: var(--primary-dark);
        }

        .navbar {
            background-color: rgba(251, 249, 248, 0.8) !important;
            backdrop-filter: blur(10px);
            z-index: 999;
            padding-bottom:10px!important;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        body.dark-mode .navbar {
            background-color: rgba(27, 28, 28, 0.8) !important;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .nav-link {
                    font-family: var(--font-display);
                    font-weight: 700;
                    color: var(--on-surface-variant) !important;          
        }
.navbar .nav-link{
	font-family: "Inter"!important;
	text-transform: uppercase;
	font-weight: 100;
	font-style:normal;	
	padding-bottom:5px;
}

@media screen and (max-width: 1144px) and (min-width: 991px) {
	.navbar .nav-link{
		font-size:small;
	}
}
.navbar .nav-link:hover{
	color:#004E6D!important;
}

.navbar .navbar-brand{
	border-radius: 20px;
	margin-left: 10px;
	height: 90%;
}
.navbar-nav > li {
  float: left;
  position: relative;
}
  
.navbar-light .navbar-nav .active a::after {
  bottom: 0px;
  content: " ";
  left: 0;
  position: absolute;
  right: 0;
} 
/*  */
.navbar{
	background-color:rgba(255,255,255,0.8);
}

.sticky-top{
-webkit-box-shadow: 0px 13px 14px -7px rgba(0,0,0,0.32);
-moz-box-shadow: 0px 13px 14px -7px rgba(0,0,0,0.32);
box-shadow: 0px 13px 14px -7px rgba(0,0,0,0.32);
}


[class*="wp-image"]{
    cursor:zoom-in!important;
	transition: filter 0.3s ease, transform 0.3s ease;
}
[class*="wp-image"]:hover{
   	cursor:zoom-in!important;
	/* Turns the image completely greyscale */
  filter: grayscale(100%);  
  /* Scales the image up slightly to 1.01 */
  transform: scale(1.05);
  overflow: hidden;
}

[class*="wp-image"].img-thumbnail{
	background-color:rgb(226,226,226)!important;
	padding:1px !important;
	border:0px !important;
	border-radius: 20px!important;
	/* border-radius:0!important; */
}


.inner-page .label-info,.inner-page .label-warning {
	padding: 10px;
	border-radius: 10px;
	color: #fff;
	position: absolute;
	margin-top: 5px;
	margin-left: -10px;
	z-index: 100;
    box-shadow: 
  0 1px 3px rgba(0,0,0,0.12), 
  0 1px 2px rgba(0,0,0,0.24);
}

        .inner-page .label-info {
            background-color: #ef4444; /* Clean Red */
        }

        .inner-page .label-warning {
            background-color: #10b981; /* Clinical Emerald Green */
        }


.casehistory [class*="wp-image"]{
    cursor:zoom-in!important;
	transition: filter 0.3s ease, transform 0.3s ease;
}
.casehistory [class*="wp-image"]:hover{
   	cursor:zoom-in!important;
	/* Turns the image completely greyscale */
  filter: grayscale(100%);  
  /* Scales the image up slightly to 1.01 */
  transform:unset;
  overflow: hidden;
}

.casehistory [class*="wp-image"].img-thumbnail{
	background-color:rgb(226,226,226)!important;
	padding:1px !important;
	border:unset !important;
	border-radius:0!important; 
	margin-top: -12px;
	width: 100%;
	box-shadow: none;
}
.glass-btn-global, .casehistory .glass-btn {
  /* Layout & Typography */
  margin-top: -70px;
  width: 100%;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
  backdrop-filter: blur(12px); /* Blurred background */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 30px rgba(0, 0, 0, 0.1), /* Soft drop shadow */
    inset 0 1px 1px rgba(255, 255, 255, 0.2); /* Inner top highlight */
    filter: saturate(1.5);
}


/* Hover State */
.glass-btn-global:hover, .casehistory .glass-btn:hover {
  background: rgba(255, 255, 255, 0.15); /* Becomes slightly more opaque */
  border-color: rgba(255, 255, 255, 0.4); /* Edge catches more light */
  color: #000;
  transform: translateY(-2px); /* Subtle premium lift */
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* Active / Click State */
.glass-btn-global:active, .casehistory .glass-btn:active {
  transform: translateY(0); /* Pushes back down */
  background: rgba(255, 255, 255, 0.05);
}
  

.caselable{
	padding: 10px;
	width: 100%;
	z-index: 100;    
    position: relative;
    margin-bottom: -30px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    background: rgba(0, 46, 65, 0.3); /* Semi-transparent white */
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 5px rgba(0, 0, 0,0.5);
    backdrop-filter: blur(12px); /* Blurred background */
    -webkit-backdrop-filter: blur(12px); /* Safari support */
    filter: saturate(3);
}	
.caselable a{
	color: #fff!important;
	margin-bottom: 10px;
}
.inner-page h3{
	font-size:medium;
	font-weight: unset;
	vertical-align: top!important;
    display: table;
    color:#00719B!important;
}
.inner-page h3 a{
	text-transform:uppercase;
}

.inner-page h3 .fas{
	display: table-cell;
  	vertical-align: top;
  	padding-right:5px;
  	color:#99cc00;  
}

.inner-page h5:before{
    content: "→"!important;
    display: block;
    float: left;
    margin: 0 6px 0 0;
    color:#99cc00!important;
}

.inner-page h5{
padding-bottom:10px;
padding-top:10px;
color:#00719B!important;
text-transform:uppercase;
}

.showposts a{
	color:#004E6D;
}

.showposts a:hover{
	color:#0075E8;
	text-decoration:none;
}

/*  */

body.dark-mode #appointment .bg-light, body.dark-mode #allservices{
    background-color: #171717!important;
}

body.dark-mode .card{
    background-color: #121212!important;
}

body.dark-mode .card h5{
    color: #3dcfff!important;
}

body.dark-mode .card p{
    color: #d5d5d5!important;
}
body.dark-mode .bg-primary{
    background-color: #121212!important;
}


/* Header Menu */
.custom-navbar {
    background: #fff;
    padding: .8rem 1rem;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.custom-navbar .nav-link {
    color: #333;
    font-weight: 500;
    padding: .9rem 1rem;
    transition: .3s;
}

.custom-navbar .nav-link:hover,
.custom-navbar .active .nav-link {
    color: #263a4f;
}

.custom-navbar .dropdown-toggle::after {
    margin-left: .4rem;
}

.mega-menu {
    left: 0;
    right: 0;
    width: 100%;
    margin-top: -10px;
    border-radius: 0 0 12px 12px;
}
body.dark-mode .mega-menu{
    background-color: #111111;
}
.mega-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #d6af4b;
}
.mega-title i{
    color: #a5a5a5;
}


.mega-menu .dropdown-item {
    padding: .45rem 0;
    color: #555;
    white-space: normal;
}

body.dark-mode .mega-menu .dropdown-item{
    color: rgb(157, 153, 129);
}

.mega-menu .dropdown-item:hover {
    background: transparent;
    color: #1e558f;
    padding-left: .5rem;
}

.mobile-info a {
    color: #333;
}

@media (min-width: 992px) {

    .mega-dropdown:hover .dropdown-menu {
        display: block;
    }

    .navbar-nav .nav-item {
        margin-left: .5rem;
    }
}


/*  */
@media (max-width: 991.98px) {
body.dark-mode .navbar-light .navbar-toggler-icon{
    filter: invert();
}
    .custom-navbar .navbar-collapse {
        padding: 1rem 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mega-menu {
        position: static !important;
        width: 100%;
        box-shadow: none !important;
        padding: 0 0 0 1rem !important;
        border: 0;

        /* Scrollable dropdown */
        max-height: 50vh;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .mega-title {
        padding-left: 10px!important;
        margin-top: 1rem;
        margin-bottom: .5rem;
        position: sticky;
        top: 0;
        z-index: 2;
        background: #ececec;
        padding: .5rem 0;
    }

    body.dark-mode .mega-title {
        background: #343434;
    }


    .custom-navbar .nav-link {
        padding: .8rem 1rem;
    }
}
@media (max-width: 991.98px) {

    .mega-menu::-webkit-scrollbar {
        width: 4px;
    }

    .mega-menu::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 10px;
    }

    .mega-menu::-webkit-scrollbar-track {
        background: transparent;
    }
    
}

/*  */

@media (max-width: 991.98px) {
    .mega-menu .dropdown-item {
        font-size: 14px;
        padding: 0;
        padding-top: 2px;
        padding-left: 10px;
        padding-bottom: 2px;
        white-space: normal;
    }

    .custom-navbar .navbar-collapse {
        background: #fff;
        padding: 1rem 0;
    }

    body.dark-mode .custom-navbar .navbar-collapse {
        background: #1b1b1b;
        padding: 1rem 0;
    }
    .mega-menu {
        position: static !important;
        width: 100%;
        box-shadow: none !important;
        padding: 0 0 0 1rem !important;
        border: 0;
    }
    body.dark-mode .mega-menu {
        background: #242424;
    }
    body.dark-mode .mega-menu .dropdown-item {
        color: #b9c39b;
    }
    .mega-title {
        margin-top: 1rem;
        margin-bottom: .5rem;
    }

    .custom-navbar .nav-link {
        padding: .8rem 1rem;
    }
}
/* Header Menu */

/* skin */
.skin h3{
    font-weight: 100;
    font-size: medium;
	padding: 10px;
	border-radius: 10px;
	color: #fff;
	position: absolute;
	margin-top: 0px;
	margin-left: -10px;
	z-index: 100;

box-shadow: 
  0 1px 3px rgba(0,0,0,0.12), 
  0 1px 2px rgba(0,0,0,0.24);

    background-color: #9b8441; /* Clean Red */
}
