/* ==========================================================
   MAIN.CSS — Global variables, reset, base typography,
   and reusable scroll-animation utility classes
   ========================================================== */

:root {
    /* ---- BRAND COLORS (placeholder — logo confirm hole update hobe) ---- */
    --color-primary: #0b4f8a;
    /* Deep medical blue — logo base */
    --color-primary-dark: #073a66;
    /* Darker blue — hover/header bg */
    --color-primary-light: #e8f1fa;
    /* Very light blue — section bg */
    --color-secondary: #e63946;
    /* Red — emergency / CTA accent */
    --color-secondary-dark: #c9202e;
    --color-accent: #00a99d;
    /* Teal — optional highlight */
    --color-dark: #1a2233;
    --color-text: #3c4658;
    --color-muted: #6b7686;
    --color-light-bg: #f6f9fc;
    --color-white: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1240px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 30px rgba(11, 79, 138, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-tag {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-secondary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}


/* ---------------- SCROLL ANIMATION UTILITIES ----------------
   main.js IntersectionObserver ei class gulo toggle korbe
--------------------------------------------------------------- */

[data-animate] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-down"] {
    transform: translateY(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(-40px);
}

[data-animate="fade-right"] {
    transform: translateX(40px);
}

[data-animate="zoom-in"] {
    transform: scale(0.9);
}

[data-animate].in-view {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}


/* stagger delay helper */

[data-delay="1"] {
    transition-delay: 0.1s;
}

[data-delay="2"] {
    transition-delay: 0.25s;
}

[data-delay="3"] {
    transition-delay: 0.4s;
}

[data-delay="4"] {
    transition-delay: 0.55s;
}