/* ================================
   Hospital OnMobile - Main Stylesheet
   ================================ */

/* ================================
   1.0 GLOBAL
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    color: #555e6b;
}

img {
    height: auto;
    max-width: 100%;
}

a {
    color: #444;
    transition: all 0.3s ease;
}

a:hover,
a:focus {
    color: #00b4c5;
    text-decoration: none;
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #273245;
    margin-bottom: 0;
}

h1 { font-size: 3em; line-height: 1.2; }
h2 { font-size: 36px; line-height: 1.3; }
h3 { font-size: 20px; line-height: 1.4; }

ol, ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ================================
   2.0 BRAND TEXT
   ================================ */
.brand-hospital {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: block;
}

.brand-onmobile {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    letter-spacing: 0.45em;
    display: block;
}

/* ================================
   3.0 LAYOUT — MAIN
   ================================ */
.main {
    background: linear-gradient(to right, rgba(0, 180, 197, 0.08) 0%, rgba(26, 59, 109, 0.15)) no-repeat;
}

/* ================================
   4.0 HEADER / NAVBAR
   ================================ */
.header-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-area.scrolled {
    background-color: rgba(39, 50, 69, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar {
    padding: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.navbar-brand .brand-text {
    line-height: 1.1;
}

.navbar-brand .brand-hospital {
    font-size: 14px;
    color: #fff;
    letter-spacing: 0.3em;
}

.navbar-brand .brand-onmobile {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 8px 18px !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    color: #00e5d4 !important;
}

/* Hamburger toggler */
.navbar-toggler {
    border: none;
    padding: 8px;
    outline: none !important;
    box-shadow: none !important;
}

.toggler-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ================================
   5.0 HERO SECTION
   ================================ */
.hero-section {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 0 80px;
    background: linear-gradient(135deg, #00b4c5 0%, #1a3b6d 100%);
    overflow: hidden;
}

.hero-content {
    color: #fff;
}

.hero-content .hero-brand {
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-content .hero-brand .brand-hospital {
    font-size: 42px;
    color: #fff;
    letter-spacing: 0.3em;
}

.hero-content .hero-brand .brand-onmobile {
    font-size: 42px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3em;
    font-weight: 400;
    text-transform: uppercase;
}

.hero-text {
    font-size: 16px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-image {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 320px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Shape bottom wave */
.shape-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-bottom svg {
    display: block;
    width: 100%;
    height: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary-custom {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1a3b6d;
    background-color: #00e5d4;
    border: 2px solid #00e5d4;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #00ccbb;
    border-color: #00ccbb;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 229, 212, 0.3);
    text-decoration: none;
}

.btn-outline-custom {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
}



/* ================================
   6.0 SECTION COMMON
   ================================ */
.section-heading {
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 36px;
    color: #273245;
    margin-bottom: 16px;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: #00b4c5;
    margin: 0 auto;
    border-radius: 2px;
}

/* ================================
   7.0 FEATURES SECTION
   ================================ */
.features-section {
    padding: 100px 0;
    background-color: #fff;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(39, 50, 69, 0.1);
}

.feature-icon {
    color: #00b4c5;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #273245;
}

.feature-card p {
    font-size: 15px;
    line-height: 26px;
    color: #555e6b;
}

/* ================================
   8.0 CONTACT SECTION
   ================================ */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #eef2f7 0%, #dce3eb 100%);
}

.contact-text {
    font-size: 16px;
    line-height: 28px;
    color: #555e6b;
    margin-bottom: 30px;
}

/* ================================
   9.0 FOOTER
   ================================ */
.footer-area {
    background-color: #273245;
    padding: 14px 20px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    max-width: 40px;
}

.footer-content a {
    font-family: 'Poppins', sans-serif;
    color: #b3bcc8;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-content a:hover {
    color: #00e5d4;
    text-decoration: none;
}

.footer-content .copyright {
    font-family: 'Poppins', sans-serif;
    color: #6b7a8d;
    font-size: 12px;
}

/* ================================
   10.0 SCROLL TO TOP
   ================================ */
#scrollUp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: #00b4c5;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 180, 197, 0.4);
}

#scrollUp.show {
    opacity: 1;
    visibility: visible;
}

#scrollUp:hover {
    background-color: #00a3b2;
    transform: translateY(-3px);
}

#scrollUp svg {
    width: 18px;
    height: 18px;
}
