/*--
    Author: W3Layouts (base)
    Customized by Dr. Rajatsubhra (Sridoctor) + ChatGPT
    License: Creative Commons Attribution 3.0 Unported
--*/

/* ========== GLOBAL RESET + BASE ========== */

html,
body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: sans-serif;
    /* Non-transparent light olive background */
    background:#e2fc9b; 
}

/* All images responsive: fit in their blocks */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Global text */
p {
    margin: 0;
    font-size: medium;
    color: #362f9b;
    line-height: 1.9em;
    letter-spacing: 1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: 'BenchNine', sans-serif;
    letter-spacing: 1px;
    font-weight: 700;
}

ul {
    margin: 0;
    padding: 0;
}

/* Links – default crimson */
body a,
body a:link,
body a:visited,
body span a {
    color: #cc0033;
    text-decoration: none;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

body a:hover {
    color: #ff3366;
    text-decoration: none;
}

/* Form elements */
input[type="button"],
input[type="submit"],
input[type="text"],
input[type="email"],
input[type="search"] {
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    font-family: 'BenchNine', sans-serif;
}

/* ========== TOP TITLE BAR (SKY BLUE) ========== */
/* Use in HTML:
   <div class="page-top-title">
      <h1>Page Title Here</h1>
   </div>
*/

.page-top-title {
    background: #9ED6EB;   /* sky-blue */
    text-align: center;
    padding: 10px 0;
}

.page-top-title h1 {
    color: #000;
    font-weight: 700;
    font-size: 22px;
    margin: 0;
}

/* ========== HEADER + NAVBAR ========== */

/* Header top blue strip behind phone/email row */
.header-bg {
    background: #4169E1;   /* Royal Blue */
    padding: 1em 0;
}

ul.header-info-w3ls li {
    list-style: none;
    display: inline-block;
    font-size: 1em;
    color: #c9bd34;        /* Goldish text */
    letter-spacing: 1px;
}

ul.header-info-w3ls li:nth-child(2) {
    margin: 0 1em;
}

ul.header-info-w3ls li a {
    color: #ffffff;
}

ul.header-info-w3ls i {
    margin-right: 5px;
}

/* Dark blue navbar */
.navbar {
    padding: 0;
    background: #4169E1;   /* Dark Royal Blue */
}

a.navbar-brand {
    font-size: 1.2em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.37);
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    margin-top: 0.4em;
    position: relative;
    font-family: 'BenchNine', sans-serif;
}

.navbar-light .navbar-brand,
.navbar-light .navbar-brand:hover,
.navbar-light .navbar-brand:focus {
    color: #ffffff;
}

li.nav-item {
    margin: 0 1px;
}

/* Nav links: gold text on dark blue */
.navbar-light .navbar-nav .nav-link {
    padding: 0.5em 1.1em;
    color: #FFD700;          /* gold text */
    background: transparent; /* navbar background already blue */
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
}

/* Hover / active: slightly darker blue, white text */
.navbar-light .navbar-nav .nav-link:hover {
    color: #ffffff;
    background: #27408B;     /* darker blue */
}

.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:focus {
    color: #ffffff;
    background: #27408B;
}

/* Dropdown */
.dropdown-toggle::after {
    width: 0;
    height: 0;
    margin-left: 0;
    content: "";
    border: 0;
}

.dropdown-item {
    padding: 0.5em 1.5rem;
    margin: 0;
}

.dropdown-menu {
    margin: 0;
    padding: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #34a853;
    text-decoration: none;
    background-color: #f0f0f1;
}

/* ========== SLOGAN BAR (ALGAE GREEN, GOLD FONT) ========== */
/* Black strip under navbar – now algae green with golden text */

.top-head-wthree {
    background: #2E8B57;     /* Algae / Sea Green */
    padding: 0.3em 2em;
}

/* GOLD SLOGAN INSIDE SLOGAN BAR */
.top-head-wthree span,
.top-head-wthree h1,
.top-head-wthree h2,
.top-head-wthree p,
.top-head-wthree a {
    color: #FFD700;          /* GOLD */
    letter-spacing: 2px;
    font-weight: 600;
}

/* ========== LOGIN / HEADER SMALL BLOCKS ========== */

.login-right-img {
    background: url(../images/log.jpg) no-repeat center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    height: 100px;
    padding-top: 2em;
}

.top-content-info {
    position: relative;
    margin: 0 0 0.5em 0;
}

.top-content-left h6 {
    color: #fff;
    font-size: 0.9em;
    text-decoration: underline;
}

.callnumber h6 {
    color: #fff;
    font-weight: 300;
}

.log-in a {
    border-radius: 4px;
    border: 2px solid #4169E1;
    padding: 0.4em 1.5em;
    color: #fff;
    font-weight: 500;
    font-size: 1em;
    background: #ffc107;
}

.log-in a:hover {
    border: 2px solid #ffc107;
    background: none;
    color: #4169E1;
}

.top-content-right {
    margin-top: 0.5em;
}

a.request {
    padding: 0 30px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
}

a.request:nth-child(2) {
    border-left: 1px solid #ddd;
}

/* Header search */
.header-search input[type="search"] {
    outline: none;
    border: none;
    padding: 12px 12px;
    color: #848484;
    font-size: 14px;
    border-right: 1px solid #eee;
    background: #fff;
    float: left;
    letter-spacing: 2px;
    border-radius: 0;
}

.header-search button.btn.btn1 {
    color: #fff;
    border: none;
    padding: 10px 45px;
    text-align: center;
    text-decoration: none;
    background: #000000;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    transition: 0.5s all;
    float: right;
    cursor: pointer;
    border-radius: 0;
}

/* ========== BANNER / SLIDER ========== */

.slide {
    background: url(../images/banner/childrens-healthcare.jpg) no-repeat center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    height: 40vw;
}

.slide2 {
    background: url(../images/banner/first-class-health-center.jpg) no-repeat center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    height: 40vw;
}

.slide3 {
    background: url(../images/banner/yoga-health-care.jpg) no-repeat center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    height: 40vw;
}

.cont-btn a {
    border-radius: 4px;
    border: 2px solid #fff;
    padding: 0.3em 2em;
    color: #fff;
    font-weight: 700;
    font-size: 1.2em;
    letter-spacing: 1px;
}

.cont-btn a:hover {
    background: #28a745;
    border: 2px solid #28a745;
}

.cont-btn {
    margin-top: 1rem;
}

.mian-content {
    position: relative;
}

.top-social-icons {
    border-right: 1px solid #ddd;
}

top-content-left {
    padding: 0;
    margin-top: 0.5em;
}

.social-icons li {
    list-style: none;
    display: inline-block;
}

ul.social-icons {
    margin-top: 2em;
}

ul.social-icons li a span {
    color: #636161;
    font-size: 13px;
    background: transparent;
    width: 32px;
    height: 32px;
    line-height: 27px;
    text-align: center;
    display: block;
    border: 2px solid #ddd;
    display: inline-block;
    border-radius: 50%;
}

ul.social-icons li a span:hover {
    color: #fbbc05;
}

/* ========== STATS BLOCK / N4 IMAGE SECTION (TRIO) ========== */

.main-stats-inner {
    background: #ffc107;
}

.main-stats-inner-img,
.main-stats-inner-img.two {
    margin: 0;
    padding: 0;
    background: url(../images/n1.jpg) no-repeat center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    min-height: 400px;
}

/* Trio image (n4) */
.main-stats-inner-img.two {
    background: url(../images/n4.jpg) no-repeat center;
}

.stats_info {
    text-align: center;
    padding: 4em 0 0 0;
}

.stats_info p {
    font-size: 3.5em;
    letter-spacing: 1px;
    line-height: 2;
    color: #f9fbf9;
}

.stats_info h4 {
    color: #6b530a;
    font-size: 1em;
    text-transform: uppercase;
}

.stats_info i {
    font-size: 2.3em;
    color: #2c2c2d;
    margin-top: 1.5em;
}

/* ========== FEEDBACK / TESTIMONIAL ========== */

.feedback-top {
    padding: 3em;
    background: #3b3e40;
    position: relative;
}

.feedback-top:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 14%;
    width: 0;
    height: 0;
    border-top: 15px solid rgb(158, 159, 160);
    border-right: 4px solid transparent;
    border-left: 12px solid transparent;
    transform: rotate(0deg);
}

.feedback-top p {
    margin: 0;
    color: #fff;
}

.feedback-img {
    float: left;
    width: 17%;
    background: #e4e4e4;
    padding: 0.3em;
    border-radius: 50%;
}

.feedback-img img {
    width: 100%;
}

.feedback-grids {
    margin: 3em 0 0;
}

.feedback-info {
    margin: 1em !important;
}

.feedback-img-info {
    float: left;
    width: 65%;
    margin: 0em 0 0 1em;
}

.feedback-img-info h5 {
    color: #ec1c24;
    font-size: 1em;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}

.feedback-img-info p {
    color: #6f6b6b;
    margin-top: .5em;
}

.feedback-img-info p span {
    color: #b1b2b3;
    font-size: 0.85em;
}

.icon-test i {
    font-size: 2em;
    color: #fcd000;
    margin-left: .4em;
    position: relative;
}

.icon-test {
    position: relative;
}

.icon-test:before {
    content: " ";
    position: absolute;
    background: #d5d8da;
    width: 77%;
    height: 2%;
    top: 54%;
    right: 5%;
}

/* ========== NEWSLETTER ========== */

.newsright {
    margin: 0 auto;
    width: 50%;
}

.newsright input[type="email"] {
    outline: none;
    padding: 15px 20px;
    color: #fff;
    font-size: 14px;
    border: 1px solid #e1e2e2;
    width: 70%;
    letter-spacing: 3px;
    background: none;
    border-radius: 0;
}

.newsright input[type="submit"] {
    border: none;
    padding: 13px 20px;
    font-size: 20px;
    outline: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    background: #ffc107;
    color: #fff;
    width: 30%;
    cursor: pointer;
    border-radius: 0;
}

.newsright input[type="submit"]:hover {
    background: #ffffff;
    color: #000;
}

/* ========== CONTACT PAGE ========== */

.main_grid_contact {
    background: #f7f7f7;
    padding: 9em 5em;
}

.main_grid_contact label {
    color: #28a745;
    letter-spacing: 1px;
    font-size: 1.2em;
}

.main_grid_contact input[type="text"],
.main_grid_contact input[type="email"],
.main_grid_contact textarea {
    outline: none;
    padding: 15px 15px;
    font-size: 14px;
    color: #777;
    background: #fff;
    width: 100%;
    letter-spacing: 1px;
    border: 1px solid #ebeeef;
    border-radius: 0;
}

.main_grid_contact textarea {
    min-height: 80px;
    margin: 1em 0em;
    resize: none;
}

.main_grid_contact .input-group1 input[type="submit"] {
    outline: none;
    padding: 20px 0;
    font-size: 19px;
    color: #fff;
    background: #343a40;
    border: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
    transition: 0.5s all;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0;
}

.main_grid_contact .input-group1 input[type="submit"]:hover {
    background: #28a745;
}

.map {
    padding: 0;
}

.map iframe {
    border: none;
    width: 100%;
    height: 100%;
}

.address-grid i {
    font-size: 1.5em;
    color: #ffc107;
    background: #1b1e21;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    line-height: 2.5em;
}

.address-right h6 {
    font-size: 1.2em;
    color: #3f4142;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
}

.address-right p,
.address-right p a {
    color: #7c848c;
}

.main_grid_contact h4 {
    font-size: 2em;
    color: #464646;
    text-shadow: 0 1px 2px rgba(18, 18, 19, 0.13);
    text-transform: uppercase;
}

/* ========== INNER PAGE BREADCRUMB ========== */

.inner-page {
    background: url(../images/2.jpg) no-repeat center;
    background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -webkit-background-size: cover;
    min-height: 250px;
}

ol.breadcrumb {
    background: #f7f7f7;
    margin: 0;
    padding: 1em 2em;
}

li.breadcrumb-item {
    font-size: 0.85em;
    letter-spacing: 1px;
    text-transform: uppercase;
}

li.breadcrumb-item a {
    color: #28a745;
}

.breadcrumb-item.active {
    color: #888;
}

/* ========== BLOG GRID SNIPPET (SAFE FIX) ========== */

.blog-grid-info .card h5.card-title {
    font-size: 1.2em;
    font-weight: 600;
}

.blog-grid-info .card-body {
    padding: 0;
}

.blog-des {
    padding: 2em;
    background: #fff;
}

span.entry-date {
    font-size: 0.85em;
    color: #999;
}

.blog-grid-info .card h5.card-title a {
    color: #222;
}

.about-in.blog-grid-info .card {
    padding: 0;
    border: 1px solid #eee;
}

/* ========== BASIC RESPONSIVE TWEAKS ========== */

@media (max-width: 768px) {
    .page-top-title h1 {
        font-size: 18px;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 0.4em 1em;
        font-size: 1em;
    }

    .main_grid_contact {
        padding: 4em 1.5em;
    }

    .newsright {
        width: 90%;
    }
}