/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
    /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {

    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}





.desk_none {
    display: block;
}

.mob_none {
    display: none;
}

.desk_none {
    display: block;
}

@media (max-width:767px) {
    .desk_none {
        display: none;
    }

    .mob_none {
        display: block;
    }
}


.modal-content.request-call-back {
    border-radius: 30px;
    padding: 20px;
}

.modal-header button {
    background: #f2f2f2 !important;
    color: #000;
    font-size: 28px;
    width: 31px;
    text-align: center;
    padding: 2px;
}

.modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 60px);
    /* optional, gives space top/bottom */
}

.modal-dialog .modal-title {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: bold;
}

.request-call label {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    display: block;
    font-weight: bold;
}

.wrap-form.query_form span.text-input {
    margin: 4px 0 20px;
}

.wrap-form span.text-input {
    margin-bottom: 20px;
    display: block;
    position: relative;
}

.query_form.wrap-form.request-call span.text-input input,
textarea {
    border-bottom: 1px solid #5E5E5E;
    padding: 0 0 10px 0;
    font-size: 15px !important;
    color: #5e5e5e;
    background: transparent;
    width: 100%;
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.request-call .cmt-btn.cmt-btn-style-fill.cmt-btn-color-skincolor {
    background-color:#145655;
    border: none;
    color: #fff;
    width: 100%;
    border-radius: 40px;
    padding: 12px 20px;
    text-transform: uppercase;
}

.wrap-form.request-call.query_form span.text-input input,
textarea:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid #fff;
    /* apna custom border color rakh sakte ho */
    border-bottom: 1px solid #5E5E5E;
}

.header-contact-number a img {
    width: 24px;
    height: 24px;
    margin: auto;
}

.about-sec .brand-box-layout3 img {
    border-radius: 30px;
}

.counter-sec {
    padding: 60px 0px !important;
    background-color: #f9f9f9;
}

.progress-box-layout1 {
    padding: 30px 30px;
    border-radius: 30px;
    transition: all 0.5s;
    border-right: 10px solid #145655 !important;
    margin: 0px 0px !important;
}

.progress-box-layout1:hover {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding: 30px 30px;
    transition: all 0.5s;
}

.about-box-layout4 {
    transition: all 0.3s ease-in-out;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.about-box-layout4:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px #145655;
}

.department-center .service-text {
    padding: 20px;
    height: 175px;
}

.certificate-sec {
    background-color: gray;
}

body {

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

.certificate-sec .certificate-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.certificate-sec .certificate-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3c72 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.certificate-sec .certificate-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
}

.certificate-sec .hospital-logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.certificate-sec .content-section {
    padding: 40px;
}

.certificate-sec .certification-icons {
    background: #f8f9fa;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.certificate-sec .cert-icon {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.certificate-sec .cert-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #2c5aa0;
}

.certificate-sec .cert-icon i {
    font-size: 50px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #2c5aa0, #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.certificate-sec .cert-title {
    font-weight: 600;
    color: #2c5aa0;
    font-size: 14px;
    margin: 0;
    line-height: 20px;
}

.certificate-sec .founders-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
}

.certificate-sec .founder-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.certificate-sec .decorative-border {
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #667eea, #764ba2);
    margin: 30px 0;
    border-radius: 2px;
}

.certificate-sec .mission-text {
    font-style: italic;
    color: #6c757d;
    border-left: 4px solid #2c5aa0;
    padding-left: 20px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .certificate-sec .certification-icons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }

    .certificate-sec .cert-icon {
        flex: 1;
        min-width: calc(50% - 7.5px);
    }
}

.certificate-sec .lead {
    font-size: 16px !important;
    font-weight: 300;
    line-height: 21px;
    color: #141212;
}

.patient-speaks-sec .testmonial-box-layout2 p {
    font-style: italic;
    color: #ffffff;
    margin-bottom: 0;
    font-size: 20px;
    line-height: 30px;
    text-align: justify;
}

.single-item {
    position: relative;
}

.both-side-half-bg>div:last-child::after {
    position: absolute;
    content: '';
    top: 0;
    width: 100%;
    left: 0;
    height: 100%;
    background-color: #145655;
}

.heading-layout5 {
    z-index: 1;
}

.call-to-action-wrap-layout4 {
    position: relative;
    height: 570px;
    background-position: center;
    background-size: cover;
}

@media only screen and (max-width: 767px) {
    .departments-box-layout2 .item-title {
        font-weight: 500;
        font-size: 17px !important;
        margin-bottom: 5px;
    }

    .cert-icon {
        margin: 10px 0px;
    }

    .single-item {
        text-align: center;
    }

    .heading-layout5 {
        text-align: center !important;
        margin-bottom: 20px;
    }

    .heading-layout5:after {
        left: 45% !important;
    }

    .heading-layout5 {
        margin-bottom: 40px !important;
    }

    .departments-box-layout2 p {
        font-size: 14px !important;
        margin-bottom: 0px !important;
        color: #111;
        line-height: 20px;
    }

    .department-center .service-text {
        padding: 20px;
        height: 215px;
    }

    .patient-speaks-sec .testmonial-box-layout2 p {
        text-align: center !important;
    }

}

.why-us-sec ul li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 10px;
    list-style: none;
    margin-top: 24px;
}

.why-us-sec ul li::after {
    content: "\2713";
    position: absolute;
    left: 0;
    top: -5px;
    color: #007bff;
    font-weight: bold;
    width: 30px;
    font-size: 18px;
    background-color: #0C4E4D;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    height: 30px;
    color: #fff;
}
.why-us-left-box{
    background-color: #145655;
    padding: 30px 0px;
    padding-left: 50px;
    position: relative;
}
.why-us-left-box::after{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
   background-color: #145655e8;
   top: 0;
   left: -100%;
}
.why-us-sec{
    padding: 0px !important;
}
.why-us-sec .item-title{
    color: #fff;
}
.why-us-sec .about-box-layout3  p{
    color: #fff;
}
.why-us-sec ul li{
    color: #fff;
}
.media-body h3{
    color: #000 !important;
}
.footer-bottom-wrap .copyright a:hover {
    color: #000 !important;
}
.about-sec-inner{
    padding: 60px 0px !important;
}
.about-sec-inner p{
    margin: 10px 0px;
}

.mt-40{
    margin-top: 40px !important;
}
.about-sec-inner ul li{
    color: #000;
    margin: 20px 0px;
}
.about-2 {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding: 30px 30px !important;
    border-radius: 10px;
}
.abword-sec{
    padding: 60px 0px;
}
.abword-sec .departments-box-layout2{
    padding: 20px 20px;
    text-align: center;
    margin: 10px 0px;
}
.abword-sec .departments-box-layout2:hover .item-icon img {
  -webkit-animation: toTopFromBottom 0.5s forwards;
  animation: toTopFromBottom 0.5s forwards;
}
.abword-sec .departments-box-layout2 .item-icon{
    margin-bottom: 0px;
}


.abword-sec .departments-box-layout2 {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: all 0.3s ease-in-out;
}

.abword-sec .departments-box-layout2 img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.abword-sec .departments-box-layout2:hover img {
  transform: scale(1.1); 
}


.abword-sec .departments-box-layout2 .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,123,255,0.5); 
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.abword-sec .departments-box-layout2:hover .overlay {
  opacity: 1;
}


.abword-sec .plus-icon {
  font-size: 50px;
  color: #fff;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
}

.abword-sec .departments-box-layout2:hover .plus-icon {
  transform: scale(1.2);
}
.contact-sec{
    padding: 70px 0px !important;
}
.mb-0{
    margin-bottom: 0px !important;
}
.mt-60{
    margin-top: 60px !important;
}
.pb-0{
    padding-bottom: 0px !important;
} 
.pt-0{
    padding-top: 0px !important;
}

.certificate-sec .departments-box-layout2 {
    padding: 5px;
    text-align: center;
    margin: 10px 0px;
}

.departments-box-layout2 .item-title{
    margin-bottom: 40px;
}