/*
Theme Name: Janta Piles Clinic
Description: Custom responsive healthcare theme for Janta Piles Clinic.
Version: 1.0.0
Text Domain: janta-piles
*/

/* =========================================
   GLOBAL VARIABLES
========================================= */

:root {
    --primary: #006c63;
    --primary-dark: #004f49;
    --dark: #073f43;
    --text: #173f42;
    --muted: #607778;
    --light: #e9f8f4;
    --light-2: #f5fcfb;
    --border: #dcecea;
    --white: #ffffff;
    --black: #000000;
    --shadow: 0 8px 28px rgba(0, 64, 61, 0.08);
    --radius: 14px;
}


/* =========================================
   UNIVERSAL
========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

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


/* =========================================
   COMMON CONTAINER
========================================= */

.container {
    width: min(1440px, calc(100% - 64px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================
   COMMON BUTTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 44px;
    padding: 11px 22px;

    border: 1px solid transparent;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-align: center;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-outline {
    background: var(--white);
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--light);
}

.btn-sm {
    min-height: 38px;
    padding: 9px 16px;
    font-size: 12px;
}


/* =========================================
   RESPONSIVE CONTAINER
========================================= */

@media (max-width: 800px) {

    .container {
        width: min(100% - 30px, 700px);
    }
}