/* ============================================
   Dr. KKR Website - Base Styles
   Reset, variables, typography
   ============================================ */

:root {
    /* Colors - Figma palette */
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-light: #3b82f6;
    --color-dark: #0f172a;
    --color-dark-blue: #1e3a5f;
    --color-text: #334155;
    --color-text-muted: #64748b;
    --color-bg: #ffffff;
    --color-bg-light: #f8fafc;
    --color-bg-blue: #eff6ff;
    --color-border: #e2e8f0;
    --color-white: #ffffff;
    /* Typography */
    --font-sans: "public-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: var(--font-sans);
    --text-xs: 1rem; /* increased 14px -> 16px */
    --text-sm: 1.125rem; /* increased 16px -> 18px */
    --text-base: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 1.875rem;
    --text-3xl: 2.25rem;
    --text-4xl: 3rem;
    --text-5xl: 3.75rem;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    /* Layout */
    --container-max: 1200px;
    --header-height: 72px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}


/* Reset */
* {
    font-family: 'Public Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
       font-family: 'Public Sans', sans-serif;
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.primary-bg .navbar .btn-primary {
    background: #ffffff;
    color: var(--color-primary);
    border: 2px solid #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

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

ul,
ol {
    list-style: none;
}

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


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-bold);
    color: var(--color-dark);
    line-height: 1.2;
}

h1 {
    font-size: var(--text-4xl);
}

h2 {
    font-size: var(--text-3xl);
    color: #1946DA;
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

@media (min-width: 768px) {
    h1 {
        font-size: var(--text-5xl);
    }
    h2 {
        font-size: var(--text-4xl);
    }
}


/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-weight: var(--font-semibold);
    border-radius: 55px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
margin-top: var(--space-4);
}

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

.btn-white {
    background-color: #1946DA;
    color: var(--color-white);
    margin-top: var(--space-4);
}

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

.btn:active {
    transform: scale(0.98);
}
/* Hide Book Appointment button on mobile (all pages) */
@media (max-width: 768px) {
  .navbar .btn-primary {
    display: none;
  }
}


/* Form elements */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    width: 100%;
    color:#fff;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-primary);
    transition: border-color 0.2s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-white);
}

label {
    display: block;
    font-weight: var(--font-medium);
    color: var(--color-dark);
    margin-bottom: var(--space-2);
}

.form-group {
    margin-bottom: var(--space-4);
}

/* Treatment page gradient background */
.treatment-page-bg {
background: linear-gradient(270deg, #1946DA 0.36%, #7BA1CD 99.64%);   
}

.treatment-page-bg main {
    background: transparent;
    position: relative;
}

