/* =====================================================
   BIOCURON - MAIN STYLESHEET
   Premium Healthcare Design System
===================================================== */

/* =========================
   Google Fonts
========================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

/* =========================
   CSS Variables
========================= */

:root {

    --primary: #0B5D4B;
	--secondary: #1C9AD6;
	--accent: #A6D608;

    --dark: #1E293B;
    --text: #475569;
    --light: #F8FAFC;

    --white: #ffffff;
    --border: #E2E8F0;

    --shadow-sm: 0 5px 15px rgba(0,0,0,.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.12);

    --radius: 14px;

    --transition: all .3s ease;

    --container: 1200px;
}

/* =========================
   Reset
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Inter', sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.7;

    overflow-x: hidden;
}

img {

    max-width: 100%;

    display: block;
}

a {

    text-decoration: none;

    color: inherit;
}

ul {
    list-style: none;
}

section {

    position: relative;
}

/* =========================
   Typography
========================= */

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: 'Poppins', sans-serif;

    color: var(--dark);

    line-height: 1.2;
}

h1 {

    font-size: 4rem;

    margin-bottom: 20px;
}

h2 {

    font-size: 2.8rem;

    margin-bottom: 20px;
}

h3 {

    font-size: 1.4rem;
}

p {

    margin-bottom: 15px;
}

/* =========================
   Layout
========================= */

.container {

    width: 90%;

    max-width: var(--container);

    margin: auto;
}

.section {

    padding: 100px 0;
}

.bg-light {

    background: var(--light);
}

.section-heading {

    text-align: center;

    max-width: 850px;

    margin: 0 auto 60px;
}

.section-heading p {

    font-size: 1.1rem;
}

/* =========================
   Grid System
========================= */

.grid {

    display: grid;

    gap: 30px;
}

.grid-2 {

    grid-template-columns: repeat(2,1fr);
}

.grid-3 {

    grid-template-columns: repeat(3,1fr);
}

.grid-4 {

    grid-template-columns: repeat(4,1fr);
}

/* =========================
   Header
========================= */

.header {

    position: sticky;

    top: 0;

    z-index: 999;

    background: rgba(255,255,255,.95);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(0,0,0,.05);
}

.navbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    height: 80px;
}

.logo {

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    font-family: 'Poppins';

    font-weight: 800;

    color: var(--primary);
}

.logo img {

    height: 60px;

    width: auto;

    display: block;
}

.logo-text {

    font-size: 1.8rem;

    font-weight: 800;

    color: var(--primary);

    letter-spacing: 1px;
}

.nav-links {

    display:flex;
    align-items:center;
    gap:40px;
    margin-left:auto;
}

.header-actions{
    margin-left:20px;
    flex-shrink:0;
}

.nav-links a {

    font-weight: 600;

    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {

    color: var(--primary);
}

.hamburger {

    display: none;

    flex-direction: column;

    cursor: pointer;

    gap: 5px;
}

.hamburger span {

    width: 28px;

    height: 3px;

    background: var(--dark);

    border-radius: 10px;
}

/* =========================
   Hero
========================= */

.hero {

    padding: 120px 0;

    background:
    linear-gradient(
        135deg,
        rgba(11,93,75,.05),
        rgba(30,136,229,.05)
    );
}

.hero-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}

.hero-content p {

    font-size: 1.15rem;

    margin-bottom: 30px;
}

.tagline {

    display: inline-block;

    padding: 8px 16px;

    background: rgba(11,93,75,.08);

    color: var(--primary);

    border-radius: 999px;

    font-weight: 600;

    margin-bottom: 20px;
}

.hero-buttons {

    display: flex;

    gap: 15px;
}

.page-hero {

    padding: 120px 0;

    text-align: center;

    background:
    linear-gradient(
        135deg,
        rgba(11,93,75,.06),
        rgba(30,136,229,.06)
    );
}

.page-hero p {

    max-width: 800px;

    margin: auto;
}

/* =========================
   Buttons
========================= */

.btn {

    display: inline-block;

    padding: 14px 28px;

    border-radius: 10px;

    font-weight: 600;

    transition: var(--transition);
}

.btn-primary {

    background: var(--primary);

    color: var(--white);
}

.btn-primary:hover {

    background: #084737;

    transform: translateY(-3px);
}

.btn-outline {

    border: 2px solid var(--primary);

    color: var(--primary);
}

.btn-outline:hover {

    background: var(--primary);

    color: var(--white);
}

/* =========================
   Cards
========================= */

.card,
.product-card,
.team-card,
.testimonial-card,
.contact-card {

    background: var(--white);

    padding: 30px;

    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.card:hover,
.product-card:hover,
.team-card:hover,
.testimonial-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-md);
}

.product-card {

    text-align: center;
}

.product-card img {

    border-radius: 10px;

    margin-bottom: 20px;
}

.product-card .category {

    display: inline-block;

    margin: 10px 0;

    color: var(--secondary);

    font-size: .9rem;

    font-weight: 600;
}

.team-card {

    text-align: center;
}

.team-card img {

    width: 140px;

    height: 140px;

    border-radius: 50%;

    margin: 0 auto 20px;

    object-fit: cover;
}

.testimonial-card {

    text-align: center;
}

/* =========================
   Statistics
========================= */

.statistics {

    background: var(--primary);

    color: var(--white);
}

.statistics h2,
.statistics h3 {

    color: var(--white);
}

.stats-grid {

    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 30px;

    text-align: center;
}

.counter {

    font-size: 3rem;

    font-weight: 700;
}

/* =========================
   Timeline
========================= */

.timeline {

    max-width: 900px;

    margin: auto;
}

.timeline-item {

    background: var(--white);

    padding: 25px;

    border-left: 5px solid var(--primary);

    margin-bottom: 25px;

    border-radius: 0 10px 10px 0;

    box-shadow: var(--shadow-sm);
}

/* =========================
   Products Page
========================= */

.products-toolbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    flex-wrap: wrap;
}

.search-box {

    padding: 14px 18px;

    border: 1px solid var(--border);

    border-radius: 10px;

    width: 320px;
}

.filter-buttons {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}

.filter-btn {

    border: none;

    padding: 10px 18px;

    border-radius: 999px;

    cursor: pointer;

    background: #E2E8F0;

    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {

    background: var(--primary);

    color: var(--white);
}

.products-grid {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 30px;
}

/* =========================
   Modal
========================= */

.modal {

    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.7);

    z-index: 9999;
}

.modal-content {

    background: var(--white);

    width: 90%;

    max-width: 700px;

    margin: 100px auto;

    padding: 40px;

    border-radius: 15px;

    position: relative;
}

.close-modal {

    position: absolute;

    top: 15px;

    right: 20px;

    font-size: 28px;

    cursor: pointer;
}

/* =========================
   Forms
========================= */

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 15px;
}

.contact-form input,
.contact-form textarea {

    padding: 14px 18px;

    border: 1px solid var(--border);

    border-radius: 10px;

    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {

    outline: none;

    border-color: var(--primary);
}

#formMessage {

    margin-top: 20px;

    font-weight: 600;
}

/* =========================
   Map
========================= */

.map-box {

    height: 400px;

    border-radius: 15px;

    background: #E2E8F0;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;
}

/* =========================
   FAQ
========================= */

.faq-container {

    max-width: 900px;

    margin: auto;
}

.faq-item {

    background: var(--white);

    padding: 25px;

    border-radius: 12px;

    margin-bottom: 20px;

    box-shadow: var(--shadow-sm);
}

/* =========================
   CTA
========================= */

.cta {

    padding: 100px 0;

    text-align: center;

    background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color: var(--white);
}

.cta h2 {

    color: var(--white);

    margin-bottom: 20px;
}

/* =========================
   Footer
========================= */

.footer {

    background: #0F172A;

    color: #CBD5E1;

    padding: 70px 0 30px;
}

.footer-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 40px;
}

.footer h3,
.footer h4 {

    color: var(--white);

    margin-bottom: 15px;
}

.footer ul li {

    margin-bottom: 10px;
}

.footer a:hover {

    color: var(--accent);
}

.copyright {

    margin-top: 50px;

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,.1);

    text-align: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mail-login-btn{
    background:var(--primary);
    color:#fff;
    padding:10px 16px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    white-space:nowrap;
}

.mail-login-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

