   GLOBAL
/* ===================================================== */ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #172b4d;
    background: #ffffff;
}

a {
    text-decoration: none;
}

:root {
    --primary: #063b80;
    --secondary: #009fa3;
    --light-blue: #eef8fc;
    --dark-blue: #052d63;
    --text: #172b4d;
    --muted: #68758a;
}


/* =====================================================
   TOP BAR
===================================================== */

.top-bar {
    background: #f7fafc;
    border-bottom: 1px solid #e7edf3;
    padding: 8px 0;
    font-size: 12px;
}

.top-contact {
    display: flex;
    gap: 25px;
    color: #536174;
}

.top-contact span {
    white-space: nowrap;
}

.top-contact i {
    color: var(--secondary);
    margin-right: 6px;
}

.top-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}

.top-right a {
    color: #536174;
}

.top-right a:hover {
    color: var(--secondary);
}


/* =====================================================
   NAVBAR
===================================================== */

.main-navbar {
    background: #ffffff;
    padding: 14px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 999;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 55px;
    height: 55px;
    border: 3px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 25px;
}

.brand-name {
    font-size: 25px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.brand-name span {
    color: var(--secondary);
}

.brand-subtitle {
    font-size: 11px;
    color: #68758a;
    margin-top: -2px;
}

.main-navbar .nav-link {
    color: #1e2b3d;
    font-size: 14px;
    font-weight: 600;
    margin: 0 8px;
    padding: 12px 8px !important;
    position: relative;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--secondary);
}

.main-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 0;
    height: 3px;
    background: var(--secondary);
    border-radius: 10px;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.patient-btn,
.doctor-btn {
    padding: 11px 20px;
    border-radius: 7px;
    font-weight: 600;
}

.patient-btn {
    color: var(--primary);
    border: 1px solid var(--primary);
    background: white;
}

.patient-btn:hover {
    background: var(--primary);
    color: white;
}

.doctor-btn {
    background: var(--primary);
    color: white;
}

.doctor-btn:hover {
    background: var(--dark-blue);
    color: white;
}


/* =====================================================
   HERO
===================================================== */

.hero-section {
    background:
        linear-gradient(
            90deg,
            #f5fbfe 0%,
            #eef8fc 55%,
            #ffffff 100%
        );

    min-height: 560px;
    overflow: hidden;
}

.hero-content {
    padding-left: 0 !important;
    padding-right: 15px !important;
    margin-left: -25px;
}


.hero-small-title {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-small-title i {
    margin-right: 6px;
}

.hero-content h1 {
    font-size: 60px;
    line-height: 1.08;
    margin-top: 18px;
    font-weight: 800;
    color: var(--primary);
}

.hero-content h1 span {
    color: var(--secondary);
}

.heartbeat-line {
    width: 150px;
    height: 3px;
    background: var(--secondary);
    margin: 20px 0;
}

.hero-content p {
    max-width: 550px;
    color: #5e6c7d;
    font-size: 17px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-main {
    background: var(--secondary);
    color: white;
    padding: 13px 25px;
    border-radius: 7px;
    font-weight: 600;
}

.btn-main:hover {
    background: #008588;
    color: white;
}

.btn-outline-main {
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 13px 25px;
    border-radius: 7px;
    font-weight: 600;
}

.btn-outline-main:hover {
    background: var(--secondary);
    color: white;
}


/* =====================================================
   MINI FEATURES
===================================================== */

/* =========================================
   MINI FEATURES
========================================= */

.mini-features {
    display: flex;
    gap: 25px;
    margin-top: 40px;
}

.mini-feature {
    text-align: center;
    min-width: 80px;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;

    /* Smooth animation */
    transition: 
        transform 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease;
}


/* =========================================
   ICON
========================================= */

.feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #e2f5f6;
    color: var(--secondary);

    display: flex;
    align-items: center;
    justify-content: center;

    margin: auto;
    font-size: 20px;

    transition:
        transform 0.4s ease,
        background 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease;
}


/* =========================================
   TEXT
========================================= */

.mini-feature strong,
.mini-feature span {
    display: block;
    font-size: 12px;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.mini-feature strong {
    margin-top: 8px;
}

.mini-feature span {
    color: #657184;
}


/* =========================================
   HOVER ANIMATION
========================================= */

.mini-feature:hover {
    background: #f0fafb;

    transform: translateY(-8px);

    box-shadow:
        0 10px 25px rgba(0, 80, 100, 0.10);
}


/* Icon hover */

.mini-feature:hover .feature-icon {
    background: var(--secondary);
    color: white;

    transform:
        scale(1.15)
        rotate(8deg);

    box-shadow:
        0 8px 20px rgba(0, 159, 163, 0.25);
}


/* Text hover */

.mini-feature:hover strong {
    color: var(--secondary);
    transform: translateY(-2px);
}

.mini-feature:hover span {
    color: var(--secondary);
}
/* =====================================================
   HERO IMAGE
===================================================== */

/* ==========================================
   HERO IMAGE AREA
========================================== */

.hero-image-area {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: -55px;
}


/* ==========================================
   DOCTOR IMAGE
========================================== */

.doctor-image {
    display: block;
    max-width: 400px;
    height: 600px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(6, 59, 128, 0.15);

    margin-left: -80px;
    transform: translateX(-50px); /* Move more left */
    
}


/* =====================================================
   FLOATING CARE CARD
===================================================== */

/* .care-card {
    position: absolute;
    right: 40px;
    top: 120px;
    background: white;
    width: 230px;
    padding: 22px;
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(0, 50, 100, 0.12);
}

.care-card-header {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: var(--primary);
}

.care-card-header i {
    color: var(--secondary);
    font-size: 27px;
}

.care-card ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.care-card li {
    font-size: 11px;
    margin-bottom: 11px;
    color: #5c697a;
}

.care-card li i {
    color: var(--secondary);
    margin-right: 5px;
} */
/* ==========================================
   CARE CARD
========================================== */

.care-card {
    position: absolute;

    right: 0;

    bottom: 35px;

    width: 300px;

    padding: 22px;

    background: #ffffff;

    border-radius: 16px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);

    z-index: 5;
}


.care-card-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    margin-bottom: 15px;

    color: #063b80;

    font-size: 16px;
}


.care-card-header i {
    color: #00a5a8;

    font-size: 22px;
}


.care-card ul {
    padding: 0;

    margin: 0;

    list-style: none;
}


.care-card li {
    color: #637487;

    font-size: 13px;

    margin-bottom: 10px;

    display: flex;

    align-items: center;

    gap: 8px;
}


.care-card li i {
    color: #00a5a8;

    font-size: 14px;
}

/* =====================================================
   LOGIN
===================================================== */

/* =========================================
   LOGIN SECTION - MOVE TO RIGHT
========================================= */

.login-section {
    position: absolute;
    top: 95px;
    left: 60%;
    right: auto;
    width: 560px;
    z-index: 50;
}


/* Remove Bootstrap container positioning */
.login-section .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}


/* LOGIN CARD */

.login-card {
    width: 100%;
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 50, 100, 0.14);
}


/* IMPORTANT:
   Remove the Bootstrap col-md-8 restriction
*/

.login-card .register-right {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .login-section {
        left: 50%;
        width: 500px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .login-section {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        padding: 20px 15px;
    }

    .login-card {
        width: 100%;
    }

}
/* =====================================================
   SERVICES
===================================================== */

.services-section {
    padding: 75px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading > span {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2 {
    color: var(--primary);
    font-size: 34px;
    margin-top: 10px;
}

.section-heading h2 strong {
    color: var(--secondary);
}

.section-heading p {
    color: #728095;
}

.service-card {
    background: white;
    border: 1px solid #e4eaf0;
    border-radius: 12px;
    padding: 30px 25px;
    height: 100%;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 60, 120, 0.1);
    border-color: var(--secondary);
}

.service-icon {
    width: 65px;
    height: 65px;
    border-radius: 15px;
    background: #e8f8f8;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.service-card h4 {
    color: var(--primary);
    margin-top: 20px;
    font-size: 18px;
}

.service-card p {
    color: #718096;
    font-size: 13px;
    line-height: 1.7;
}

.service-card a {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
}


/* =====================================================
   WHY SECTION
===================================================== */

.why-section {
    background: #f5fbfd;
    padding: 80px 0;
}

.section-label {
    color: var(--secondary);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 12px;
}

.why-section h2 {
    font-size: 38px;
    color: var(--primary);
    margin: 15px 0;
}

.why-section h2 span {
    display: block;
    color: var(--secondary);
}

.why-section p {
    color: #69788b;
    line-height: 1.8;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.why-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e4ebf0;
}

.why-card i {
    color: var(--secondary);
    font-size: 27px;
}

.why-card h4 {
    color: var(--primary);
    font-size: 17px;
    margin-top: 15px;
}

.why-card p {
    font-size: 12px;
}


/* =====================================================
   STATS
===================================================== */

.stats-section {
    background: linear-gradient(
        90deg,
        #063b80,
        #006c9f
    );

    padding: 35px 0;
    color: white;
}

.stat-item {
    border-right: 1px solid rgba(255,255,255,0.25);
}

.stat-item:last-child {
    border: none;
}

.stat-item i {
    font-size: 27px;
    margin-bottom: 10px;
}

.stat-item h3 {
    font-size: 30px;
    margin: 0;
}

.stat-item p {
    margin: 3px 0 0;
    opacity: 0.85;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #062e62;
    color: white;
    padding-top: 55px;
}

.footer-brand {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-brand i {
    color: var(--secondary);
    margin-right: 8px;
}

.footer p {
    color: #c8d5e5;
    font-size: 13px;
    line-height: 1.8;
}

.footer h5 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer > .container a {
    display: block;
    color: #c8d5e5;
    font-size: 13px;
    margin-bottom: 10px;
}

.footer > .container a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    border: 1px solid #6683a4;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white !important;
}

.social-icons a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.copyright {
    margin-top: 35px;
    padding: 18px;
    text-align: center;
    background: #052653;
    font-size: 12px;
    color: #b9c8db;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1199px) {

    .main-navbar .nav-link {
        margin: 0 2px;
        font-size: 13px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .login-section {
        position: relative;
        top: auto;
        right: auto;
        padding: 30px 15px;
        background: #f5fbfd;
    }

    .login-card {
        margin: auto;
        max-width: 500px;
    }

}


@media (max-width: 991px) {

    .top-bar {
        display: none;
    }

    .main-navbar {
        padding: 10px 15px;
    }

    .nav-buttons {
        flex-direction: column;
        margin-top: 15px;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-content {
        padding: 55px 25px 30px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 45px;
    }

    .hero-content p {
        margin: auto;
    }

    .heartbeat-line {
        margin: 20px auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .mini-features {
        justify-content: center;
    }

    .hero-image-area {
        min-height: 450px;
    }

    .doctor-image {
        width: 80%;
    }

    .care-card {
        right: 10px;
    }

}


@media (max-width: 576px) {

    .brand-name {
        font-size: 20px;
    }

    .brand-subtitle {
        font-size: 9px;
    }

    .brand-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .hero-content {
        padding: 40px 15px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .mini-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-image-area {
        min-height: 350px;
    }

    .doctor-image {
        width: 100%;
    }

    .care-card {
        display: none;
    }

    .login-card {
        padding: 20px;
        width: 100%;
    }

    .login-tabs {
        font-size: 12px;
    }

    .services-section,
    .why-section {
        padding: 50px 15px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .stat-item {
        border: none;
        margin-bottom: 25px;
    }

    .footer {
        padding: 40px 20px 0;
    }

}