:root {
    --color: #2e1c08;
    --custom-color: rgb(164, 164, 185);
    --bg-light: #c6edeb;
    --hover: #b200004f;
}

body {
    margin: 0;
    padding: 0;
}

img,
iframe,
video {
    max-width: 100%;
    vertical-align: middle;
}

a {
    outline: none;
    text-decoration: none;
    color: #555;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: none;
}

h4 {
    color: var(--color);
    font-weight: 700;
}

.top-header {
    /* background-color: #2e1c08; */
    background-color: rgb(29, 29, 134);
}


/* submenu */


/*  */

.navbar a.nav-link {
    color: var(--color);
    font-size: 18px;
    font-weight: 600;
    margin-right: 10px;
}

.navbar a.nav-link:hover {
    background: var(--custom-color);
    color: #fff;
    border-radius: 3px;
    margin-right: 10px;
}

header .logo span {
    font-size: 25px;
    font-weight: 700;
    color: var(--custom-color);
    /* padding-left: 10px; */
}

.nav-item:hover ul.dropdown-menu {
    display: block;
}

.logo .navbar-brand p {
    color: var(--color);
    line-height: 1.1;
}

.logo img {
    width: 160px;
    z-index: 9999;
    position: absolute;
}

.foot.pb-3 img {
    width: 70%;
}

header {
    /* border-bottom: 2px solid #c2a672; */
    border-bottom: 2px solid blue;
    position: sticky;
    top: 0;
    z-index: 999;
    background: white;
    transition: 0.7s;
    height: 100px;
}

.heading h2 {
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.heading h2:before {
    content: '';
    background: var(--custom-color);
    width: 50%;
    height: 3px;
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    margin: auto;
}

.rdbtn {
    background-color: var(--color) !important;
    color: #fff;
}

.rdbtn:hover {
    background: var(--custom-color) !important;
    color: #fff;
}

.sevsec .card:hover {
    transform: translateY(10px);
    transition: all 0.5s;
}

.sevsec .card {
    transition: all 0.5s;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 10px;
    word-wrap: break-word;
    /* background-color: #fff2d9; */
    color: rgb(66, 66, 66);
    background-color: rgb(244, 244, 250);
    background-clip: border-box;
    border: 1px solid gray;
    border-radius: .25rem;
}

.sevsec {
    padding: 80px 0;
}

.card img {
    height: 200px;
    object-fit: cover;
}

.galimg {
    overflow: hidden;
    border: 1px solid var(--color);
}

.galimg img {
    width: 100%;
    transition: all 0.5s;
}

.galimg img:hover {
    transform: scale(1.2);
    transition: all 0.5s;
}

.textmon {
    background-color: var(--bg-light);
    padding: 50px 0;
}

.fa-star:before {
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
}

.map .cntfrm label {
    font-size: 20px;
    font-weight: 600;
    color: var(--color);
    padding-bottom: 8px;
}

.btn {
    border: none;
    /* display: block; */
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    outline: none;
    overflow: hidden;
    position: relative;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    background-color: var(--custom-color);
    padding: 10px 30px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.20);
}

.btn span {
    position: relative;
    z-index: 1;
    color: #fff;
}

.btn:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 490%;
    width: 140%;
    background: var(--color);
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
    transform: translateX(-98%) translateY(-25%) rotate(45deg);
}

.btn:hover:after {
    -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
    transform: translateX(-9%) translateY(-25%) rotate(45deg);
}

.tmon-img img {
    width: 70px !important;
    border-radius: 50%;
    margin: auto;
}

.textmon .item {
    width: 50%;
    margin: auto;
    /* background: var(--bg-light); */
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
}

.galimg img {
    min-height: 350px;
    max-height: 350px;
    object-fit: cover;
}

.social-icon i {
    font-size: 22px;
    padding: 10px;
    background: var(--custom-color);
    color: #fff;
    border-radius: 50%;
}

.social-icon i:hover {
    background: #fff;
    color: var(--custom-color);
}

footer {
    padding: 80px 0 50px;
    /* background-color: #fff3dd; */
    background-color: whitesmoke;
}

footer .logo img {
    width: 80%;
}

footer .useful-link a {
    color: #000;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    padding-bottom: 5px;
}

footer h4 {
    color: var(--color);
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    padding-bottom: 20px;
}

.list-unstyled a {
    color: #000;
    text-decoration: none;
    padding: 5px 0;
    display: block;
}

.footer-bottom {
    background-color: var(--custom-color);
}


/* sticky social icon css start */

.socicn a.float1 {
    position: fixed;
    bottom: 40px;
    left: 40px;
    font-size: 26px;
    background: #224ed1;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
    transition: all 0.5s;
    transform: scale(1.2);
}

.socicn a.float2 {
    position: fixed;
    bottom: 40px;
    right: 40px;
    font-size: 30px;
    background: #31d831;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
    transition: all 0.5s;
    transform: scale(1.2);
}

.socicn a.float1:hover,
.socicn a.float2:hover {
    color: #fff;
    transition: 0.5s;
    transform: scale(1);
}

.appointment {
    position: fixed;
    right: -100px;
    top: 50%;
    margin: auto;
    z-index: 9;
    transform: rotate(90deg);
}

.appointment a.rbbtn {
    background: var(--color);
    padding: 10px 25px;
    font-size: 22px;
    color: #fff;
}

.appointment .rbbtn:hover {
    background-color: var(--custom-color);
}

.apont {
    padding: 100px 0 60px;
}

.apont .addrs label {
    font-size: 25px;
    color: #000;
}


/* sticky social icon css end */

.sltfl {
    padding: 100px 0 50px;
}

.addrs {
    background: rgb(240, 240, 240);
    padding: 20px;
    position: relative;
    text-align: center;
    height: 130px;
    border-radius: 90px;
}

.addrs span.ico-box {
    display: block;
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    /* background: var(--color); */
    width: 50px;
    background: rgb(141, 141, 219);
    margin: auto;
    border-radius: 50%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.addrs span.ico-box i {
    padding: 0;
    font-size: 25px;
    width: auto;
    color: #fff;
}

.addrs label {
    display: block;
    padding: 10px 0;
    margin: 0;
    font-size: 22px;
    color: var(--custom-color);
    /* text-transform: uppercase; */
    font-weight: 700;
}

.addrs span.jhg {
    font-weight: 600;
    font-size: 18px;
}

ul.list-unstyled li a {
    font-size: 14px;
}

a.dropdown-item {
    border-bottom: 1px solid var(--custom-color);
    padding: 6px 12px;
    background: var(--color);
    color: #fff;
    font-weight: 700;
}

ul.dropdown-menu.show {
    padding: 0;
    /* overflow: scroll; */
}

.accordion-button:not(.collapsed) {
    color: var(--color);
    background-color: var(--bg-light);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--color);
    box-shadow: none;
}

.accordion-button {
    font-size: 20px;
    font-weight: 700;
}


/* responsive css */

@media (max-width:991px) {
    .navbar-toggler .fa-bars:before {
        font-family: 'Font Awesome 5 Pro';
        font-style: normal;
        color: #fff;
    }
    header .logo span {
        padding-left: 0px;
    }
    .navbar {
        justify-content: end;
        position: relative;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
    .navbar-toggler {
        background-color: var(--color);
    }
    .navbar-toggler-icon {
        width: auto;
        height: auto;
    }
    div#hedmenu {
        position: absolute;
        top: 43px;
        background: var(--custom-color);
        width: 320px;
        padding: 15px;
        border-radius: 5px;
        max-height: 400px;
        overflow: scroll;
        z-index: 9999;
    }
    header a.navbar-brand img {
        width: 19%;
    }
    header {
        border-bottom: 2px solid #c2a672;
        position: sticky;
        top: 0;
        z-index: 999;
        background: white;
        transition: 0.7s;
        height: 84px;
    }
    .navbar a.nav-link:hover {
        color: #fff;
        background-color: var(--color);
    }
    .navbar a.nav-link {
        background: #fff;
        color: var(--custom-color);
        font-size: 18px;
        font-weight: 600;
        margin-right: 0;
        display: inline-block;
        padding: 7px 15px;
        border-radius: 5px;
        margin-bottom: 10px;
    }
    .abtvt .row {
        overflow: hidden;
    }
    .heading {
        padding-bottom: 1.5rem !important;
    }
    .py-5 {
        padding: 1.5rem 0 !important;
    }
    .abtimg {
        padding-bottom: 20px;
    }
    .sevsec,
    .map,
    footer {
        padding: 40px 0;
    }
    .sevsec .card {
        margin-bottom: 20px;
    }
    .textmon .item {
        width: 100%;
    }
    iframe {
        padding-top: 30px;
    }
    footer .col-md-3:not(:last-child) {
        padding-bottom: 20px;
    }
    /* .sticky-social {
        display: none;
    } */
    .sltfl {
        padding: 50px 0 0;
    }
    .addrs {
        margin-bottom: 50px;
    }
}

@media (max-width:767px) {
    .top-header .col-md-6 {
        text-align: center !important;
    }
    .appointment {
        top: auto;
        bottom: 30%;
        right: -75px;
    }
    .appointment a.rbbtn {
        padding: 10px 15px;
        font-size: 18px;
    }
    .apont {
        padding: 100px 0 0px;
    }
    .about-img {
        margin-bottom: 20px;
    }
    .accordion-button {
        font-size: 1rem;
    }
}


/* social media css start  */

.sticky-social {
    position: fixed;
    top: 350px;
    right: 9px;
    padding: 0px;
    margin: 0px;
    z-index: 9999;
    transition: .5s;
}

.social {
    list-style: none;
}

.social li {
    padding: 4px 8px;
    font-size: 20px;
    transition: all 0.8s ease-in-out;
    margin-top: 4px;
    border-radius: 3px;
}

.fb {
    background-color: #193b80;
}

.whats {
    background-color: #18e43a;
}

li.insta {
    background: linear-gradient(115deg, #f9ce34, #ee2a7b, #6228d7);
}


/* social media css start  */


/* img css start  */

.image-gallery img {
    width: 100%;
    margin: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
    height: 350px;
    object-fit: cover;
    border: 1px solid;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    /* padding: 20px !important; */
    /* background-color: #2e1c08 !important; */
    /* border-radius: 50% !important; */
    filter: invert(1) !important;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
    filter: invert(1) !important;
}

.image-gallery img:hover {
    transform: scale(1.05);
}


/* Lightbox styles */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    animation: zoomIn 0.5s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
    }
    to {
        transform: scale(1);
    }
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: #ccc;
}


/* img css start  */


/* Sub pages css */

.cleft-lip h2 {
    font-weight: 600;
}

.cleft-lip img {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.cleft-palate img {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.cleft-palate h1 {
    font-weight: 600;
}

.hand-reconstructive img {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hand-reconstructive h1 {
    font-weight: 600;
}

.youtube {
    background-color: red;
}


/* ===========================================code-desing-------------------------------------------- */

.umbrella {
    position: relative;
    width: 880px;
    height: 500px;
    margin: 0 auto;
}


/* Canopy */

.canopy {
    width: 100%;
    height: 180px;
    background: rgb(29, 29, 134);
    border-radius: 200px 200px 10px 10px;
    position: relative;
    z-index: 99;
}


/* Canopy scallops */

.canopy::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 53px;
    background: radial-gradient(circle at 40px 0, rgb(29, 29, 134) 40px, transparent 41px) repeat-x;
    background-size: 80px 40px;
}


/* Hanging Points */

.points {
    position: absolute;
    top: 200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.point {
    text-align: center;
    width: 55px;
}

.line {
    width: 3px;
    height: 140px;
    background: #555;
    margin: auto;
}

.box {
    background: #fff;
    padding: 6px;
    margin-left: -50px;
    width: 150px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}


/* Stick */

.stick {
    width: 8px;
    height: 220px;
    background: #2e1c08;
    margin: 0 auto;
    position: relative;
}


/* Top cap */

.top {
    width: 6px;
    height: 40px;
    background: #bbb;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}


/* Handle */

.handle {
    width: 50px;
    height: 60px;
    border: 8px solid #111;
    border-top: none;
    border-right: none;
    border-radius: 0 0 35px 40px;
    position: absolute;
    bottom: -60px;
    left: 10%;
    transform: translateX(0);
}


/* ========== Mobile Responsive ========== */

@media (max-width: 768px) {
    .umbrella {
        width: 100%;
        height: auto;
    }
    .canopy {
        height: 120px;
        border-radius: 150px 150px 10px 10px;
    }
    .canopy::after {
        bottom: -25px;
        height: 40px;
        background: radial-gradient(circle at 25px 0, rgb(29, 29, 134) 25px, transparent 26px) repeat-x;
        background-size: 50px 30px;
    }
    .points {
        position: relative;
        top: 20px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .point {
        width: 100%;
    }
    .line {
        height: 40px;
    }
    .box {
        width: 80%;
        margin: 0 auto;
        font-size: 14px;
        padding: 8px;
    }
    .stick {
        display: none;
    }
    .handle {
        left: 50%;
        transform: translateX(-50%);
    }
    section.code-design {
        margin-bottom: 40px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .umbrella {
        width: 100%;
    }
    .box {
        width: 120px;
        margin-left: -35px;
        font-size: 13px;
    }
    .line {
        height: 80px;
    }
}