/* =========================================
GLOBAL
========================================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}

body{
font-family:'Inter',sans-serif;
background:#faf8f5;
color:#222;
overflow-x:hidden;
}

/* =========================================
TOP BAR
========================================= */

.top-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background: #2F6B63;
    color:#fff;
    padding:10px 25px;
    overflow:hidden;
}

.top-left{
    flex:1;
    overflow:hidden;
}

.marquee{
    width:100%;
    overflow:hidden;
    white-space:nowrap;
}

.marquee-content{
    display:inline-block;
    white-space:nowrap;
    padding-left:100%;
    animation:scrollText 25s linear infinite;
    font-size:14px;
    font-weight:500;
}

@keyframes scrollText{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-100%);
    }
}

.top-right{
    display:flex;
    align-items:center;
    gap:20px;
}

.clinic-btn{
    background:#fff;
    color: #2F6B63;
    text-decoration:none;
    padding:8px 16px;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.clinic-btn:hover{
    background:#f3f3f3;
}

.privacy{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:14px;
}

/* =========================================
NAVBAR
========================================= */

nav{
position:fixed;
top:52px;
left:0;
width:100%;
height:82px;
background:rgba(255,255,255,0.96);
backdrop-filter:blur(12px);
display:flex;
justify-content:space-between;
align-items:center;
padding:0 6%;
z-index:1500;
border-bottom:1px solid rgba(0,0,0,0.05);
}

/* LOGO */

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
}

.logo-circle{
width:44px;
height:44px;
border-radius:50%;
background:#d36b4b;
display:flex;
justify-content:center;
align-items:center;
color:white;
font-size:17px;
}

.logo h1{
font-size:30px;
font-family:'Cormorant Garamond',serif;
font-weight:700;
color:#222;
}

/* NAV LINKS */

.nav-links{
display:flex;
align-items:center;
gap:20px;
}

.nav-links a{
text-decoration:none;
font-size:15px;
color:#555;
font-weight:500;
transition:0.3s;
}

.nav-links a:hover{
color:#d36b4b;
}

/* AUTH BUTTONS */

.auth-buttons{
display:flex;
align-items:center;
gap:14px;
}

.login-btn,
.signup-btn,
.logout-btn{
padding:12px 24px;
border-radius:40px;
font-size:15px;
font-weight:600;
cursor:pointer;
transition:0.3s;
border:none;
}

.login-btn{
background:#f1f1f1;
color:#333;
}

.signup-btn{
background:#d36b4b;
color:white;
}

.logout-btn{
background:#c62828;
color:white;
}

.login-btn:hover,
.signup-btn:hover,
.logout-btn:hover{
transform:translateY(-2px);
}

/* BURGER MENU */

.menu-toggle{
display:none;
width:44px;
height:44px;
border-radius:12px;
justify-content:center;
align-items:center;
cursor:pointer;
font-size:22px;
color:#222;
transition:0.3s;
}

.menu-toggle:hover{
background:#f2f2f2;
}


/* =========================================
USER MENU WRAPPER
========================================= */

.user-menu{
  position: relative;
  display: inline-block;
}

/* =========================================
USER PROFILE BUTTON
========================================= */

.user-profile{
  display: flex;
  align-items: center;
  gap: 10px;

  cursor: pointer;

  padding: 8px 14px;

  border-radius: 10px;

  background: #ffffff;

  transition: 0.3s;
}

.user-profile:hover{
  background: #f5f5f5;
}

/* =========================================
USER AVATAR
========================================= */

.user-avatar{
  width: 36px;
  height: 36px;

  border-radius: 50%;

  background: #0f172a;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
DROPDOWN BOX
========================================= */

.user-dropdown{

  position: absolute;

  top: calc(100% + 10px);
  right: 0;

  width: 220px;

  background: #ffffff;

  border-radius: 12px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.15);

  overflow: hidden;

  z-index: 9999;

  opacity: 0;

  visibility: hidden;

  transform: translateY(-10px);

  transition: 0.25s ease;
}

/* =========================================
ACTIVE DROPDOWN
========================================= */

.user-dropdown.active{

  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

/* =========================================
DROPDOWN LINKS
========================================= */

.user-dropdown a,
.user-dropdown button{

  display: flex;

  align-items: center;

  gap: 10px;

  width: 100%;

  padding: 14px 16px;

  background: transparent;

  border: none;

  text-decoration: none;

  color: #333;

  font-size: 14px;

  cursor: pointer;

  transition: 0.2s;
}

/* =========================================
HOVER EFFECT
========================================= */

.user-dropdown a:hover,
.user-dropdown button:hover{

  background: #f5f5f5;
}

.floating{
  position:fixed;
  right:20px;
  bottom:20px;
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:2500;
}

.floating a{
  width:48px;
  height:48px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:20px;
  box-shadow:0 6px 18px rgba(0,0,0,0.15);
  transition:all 0.3s ease;
}

/* WhatsApp */
.whatsapp{
  background:#25D366;
  color:#fff;
}

/* Chatbot */
.chatbot{
  background:#2f4e5d;
  color:#fff;
}

/* Hover Effects */
.floating a:hover{
  transform:translateY(-4px) scale(1.05);
  box-shadow:0 10px 25px rgba(0,0,0,0.25);
}

/* =========================================
FLOATING AUTH ICONS (MOBILE)
========================================= */

.floating-auth{
  position:fixed;
  bottom:160px;
  right:18px;
  display:none;
  flex-direction:column;
  gap:12px;
  z-index:3000;
}

/* icon buttons */
.fab{
  width:50px;
  height:50px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:18px;
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
  transition:0.3s;
  background:#fff;
  color:#333;
}

/* individual colors */
.fab.login{
  color:#2f6b63;
}

.fab.signup{
  color:#d36b4b;
}

.fab.logout{
  color:#c62828;
}

/* hover effect */
.fab:hover{
  transform:translateY(-4px) scale(1.05);
}

/* show only on mobile */
@media(max-width:1100px){
  .floating-auth{
    display:flex;
  }
}

/* =========================================
ARTICLES SECTION
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600&family=Playfair+Display:wght@400;500;600&display=swap');

:root{
  --text-main:#1f1f1f;
  --text-muted:#6b6b6b;
  --accent:#d16d53;
  --border:#e9e2da;
  --bg:#faf8f5;
}

.vax-section{
  width:100%;
  max-width:1320px;
  margin:170px auto 90px;
  padding:0 40px;
  font-family:'Plus Jakarta Sans',sans-serif;
}

.category-tag{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  letter-spacing:3px;
  color:#7b95a5;
  font-weight:600;
  text-transform:uppercase;
  margin-bottom:28px;
}

.main-title{
  font-family:'Playfair Display',serif;
  font-size:78px;
  line-height:1.08;
  font-weight:400;
  color:var(--text-main);
  max-width:1400px;
  margin-bottom:32px;
}

.accent-text{
  color:var(--accent);
  font-style:italic;
}

.subtitle{
  max-width:920px;
  font-size:19px;
  line-height:1.9;
  color:var(--text-muted);
  margin-bottom:70px;
}

.empty-state-card{
  width:100%;
  background:#fff;
  border:1px solid var(--border);
  border-radius:32px;
  min-height:310px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  box-shadow:0 10px 30px rgba(0,0,0,0.03);
}

.sparkle-icon{
  font-size:34px;
  color:var(--accent);
  margin-bottom:24px;
}

.empty-text{
  font-family:'Playfair Display',serif;
  font-size:24px;
  color:#202020;
  margin-bottom:34px;
}

.show-all-btn{
  border:1px solid var(--border);
  background:#fff;
  border-radius:999px;
  padding:18px 40px;
  font-size:20px;
  font-weight:500;
  color:#1f1f1f;
  display:flex;
  align-items:center;
  gap:14px;
  cursor:pointer;
  transition:all .3s ease;
}

.show-all-btn:hover{
  transform:translateY(-2px);
  background:#f8f8f8;
}

/* =========================================
BLOG CARDS PROFESSIONAL
========================================= */

.blog-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:24px;
    align-items:stretch;
}

/* CARD */

.blog-card{
  background:#fff;
  border-radius:26px;
  overflow:hidden;
  border:1px solid #e8e1d8;
  transition:all 0.3s ease;
  box-shadow:0 8px 25px rgba(0,0,0,0.04);

  display:flex;
  flex-direction:column;

  height:650px;
  width:100%;
}

.blog-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 35px rgba(0,0,0,0.08);
}

.blog-image{
  width:100%;
  height:280px;
  object-fit:contain;
  object-position:center;

  background:#f5f5f5;

  display:block;
  border-bottom:1px solid #eee;
}

/* CONTENT */

.blog-content{
  padding:24px;
  display:flex;
  flex-direction:column;
  flex:1;
}

/* TOP META */

.blog-meta{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;

  font-size:11px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:#8a8a8a;

  margin-bottom:18px;
}

.blog-meta i{
  font-size:11px;
}

/* TITLE */

.blog-content h3{
  font-family:'Playfair Display',serif;
  font-size:31px;
  line-height:1.18;
  font-weight:400;
  color:#222;

  margin-bottom:18px;

  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* DESCRIPTION */

.blog-content p{
  color:#666;
  line-height:1.8;
  font-size:15px;

  margin-bottom:24px;

  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* BUTTON */

.read-more{
  margin-top:auto;

  text-decoration:none;
  color:#d16d53;
  font-size:15px;
  font-weight:500;

  display:inline-flex;
  align-items:center;
  gap:8px;

  transition:0.3s ease;
}

.read-more:hover{
  gap:12px;
}

/* Importing Google Fonts to match the typography precisely */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Open+Sans:wght@400;500&display=swap');

.article-card {
  width: 100%;
  max-width: 450px;
  background-color: #ffffff;
  border: 1px solid #eef0f2;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  font-family: 'Open Sans', sans-serif;
  display: flex;
  flex-direction: column;
}

.image-container {
  background-color: #f5f5f5; /* Light grey header background matching the image */
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
}

.content-container {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category {
  font-size: 15px;
  color: #333333;
  font-weight: 500;
  margin-bottom: 6px;
}

.title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 28px;
  color: #0b1c2c;
  font-weight: 400;
  margin: 0 0 16px 0;
}

.description {
  font-size: 13.5px;
  line-height: 1.65;
  color: #666666;
  margin: 0 0 48px 0;
}

.read-more-btn {
  font-size: 14px;
  color: #d06d4f; /* Muted orange-brown link color */
  text-decoration: none;
  font-weight: 500;
  align-self: flex-start;
  transition: opacity 0.2s ease;
}

.read-more-btn:hover {
  opacity: 0.8;
}
/* =========================================
RESPONSIVE
========================================= */

/* LAPTOP */

@media(max-width:1400px){

  .blog-grid{
    grid-template-columns:repeat(3, 1fr);
  }

}

/* TABLET */

@media(max-width:992px){

  .blog-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:22px;
  }

  .blog-content h3{
    font-size:27px;
  }

}

/* MOBILE */

@media(max-width:768px){

  .blog-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .blog-card{
    min-height:auto;
  }

  .blog-image{
    height:220px;
  }

  .blog-content{
    padding:22px;
  }

  .blog-content h3{
    font-size:25px;
  }

  .blog-content p{
    font-size:14px;
  }

}
/* =========================================
FOOTER
========================================= */

footer{
background:#163d3d;
padding:55px 20px;
text-align:center;
color:white;
font-size:15px;
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:1100px){

.top-bar{
padding:0 18px;
}

.top-left{
font-size:12px;
}

.top-right{
gap:10px;
}

.clinic-btn{
padding:8px 14px;
font-size:12px;
}

.privacy{
font-size:12px;
}

nav{
top:52px;
height:82px;
padding:0 5%;
}

.menu-toggle{
display:flex;
}

/* HIDE DESKTOP BUTTONS */

.auth-buttons{
display:flex;
}

.mobile-auth{
display:flex;
}

/* MOBILE MENU */

.nav-links{
position:absolute;
top:82px;
left:0;
width:100%;
background:white;
display:none;
flex-direction:column;
align-items:flex-start;
padding:28px 5%;
gap:22px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
border-top:1px solid rgba(0,0,0,0.05);
}

.nav-links.active{
display:flex;
}

.hero-title{
font-size:54px;
}

}

@media(max-width:768px){

.top-bar{
height:auto;
padding:10px 14px;
flex-direction:column;
gap:10px;
align-items:flex-start;
}

nav{
top:88px;
}

.logo h1{
font-size:26px;
}

.hero{
padding-top:220px;
padding-bottom:100px;
height:auto;
}

.hero-title{
font-size:42px;
}

.hero-desc{
font-size:20px;
}

.hero-buttons{
flex-direction:column;
}

.section-title{
font-size:40px;
}

}

.nav-links .mobile-auth{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:20px;
  width:100%;
  
}

.mobile-auth{
  display:flex;
}

.mobile-auth .login-btn,
.mobile-auth .signup-btn,
.mobile-auth .logout-btn{
width:100%;
text-align:center;
}


/* Footer Replica Styles - Professional Tighter Spacing */
.vax-footer {
    background-color: #f2eee8;
    padding: 50px 10% 40px 10%; /* Reduced top/bottom padding for closeness */
    color: #444;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-brand {
    max-width: 380px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px; /* Reduced from 25px */
}

.logo-icon {
    background-color: #c95a3d;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transform: rotate(-45deg);
}

.logo-text {
    font-family: 'Georgia', serif;
    font-size: 24px;
    color: #1a1a1a;
}

.footer-brand p {
    font-size: 14px; /* Slightly smaller for professional feel */
    line-height: 1.5;
    color: #666;
}

.footer-nav-group h4 {
    font-size: 11px;
    letter-spacing: 2px;
    color: #6b8a99;
    text-transform: uppercase;
    margin-bottom: 15px; /* Reduced from 25px */
    border-bottom: 1px solid #dcd6ce;
    display: inline-block;
    padding-bottom: 4px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px; /* Reduced from 12px for tighter list */
}

.footer-links a {
    text-decoration: none;
    color: #555;
    font-size: 13.5px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #c95a3d;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px; /* Reduced from 15px */
    font-size: 13.5px;
    color: #555;
}

.contact-item i {
    font-size: 15px;
    color: #888;
}

.contact-item a {
    text-decoration: underline;
    color: #555;
    text-decoration-color: #ccc;
}

.contact-item {
    display: flex;
    align-items: flex-start; /* Align icon to top */
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13.5px;
    color: #555;
    line-height: 1.6;
}

.contact-item i {
    font-size: 15px;
    color: #888;
    min-width: 18px; /* Keeps icons aligned */
    margin-top: 3px;
}

.contact-item a,
.contact-item span {
    flex: 1;
    color: #555;
    word-break: break-word;
}

.contact-item a {
    text-decoration: underline;
    text-decoration-color: #ccc;
}


@media (max-width: 768px) {
    .vax-footer {
        flex-direction: column;
        padding: 40px 30px; /* Tighter mobile padding */
        gap: 30px;
    }
}

.top-bar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:52px;
    background:#2f6b63;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 28px;
    z-index:2000;
}

.top-left{
    flex:1;
    overflow:hidden;
    margin-right:20px;
}

.top-left marquee{
    color:white;
    font-size:14px;
    font-weight:400;
    width:100%;
}

.top-right{
    display:flex;
    align-items:center;
    gap:16px;
    flex-shrink:0;
}

/* =========================
DESKTOP
========================= */
@media (min-width: 769px) {

  /* Show desktop login/signup or user icon */
  #desktopAuth {
    display: flex !important;
    align-items: center;
    gap: 12px;
  }

  /* Hide floating icons */
  .floating-auth {
    display: none !important;
  }
}


/* =========================
MOBILE
========================= */
@media (max-width: 768px) {

  /* Hide desktop auth section */
  #desktopAuth {
    display: none !important;
  }

  /* Show floating auth icons */
  .floating-auth {
    display: flex !important;
  }
}

.blog-container{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    max-width:1400px;
    margin:50px auto;
}

@media(max-width:900px){
    .blog-container{
        grid-template-columns:1fr;
    }
}

.article-card{
    width:100%;
    max-width:none;
}

.article-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);
    z-index:99999;
    overflow:auto;
    padding:40px 20px;
}

.article-box{
    max-width:950px;
    margin:40px auto;
    background:#fff;
    border-radius:18px;
    padding:40px;
    line-height:1.9;
    box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.article-box h1{
    margin-bottom:20px;
}

.article-box h2{
    margin:30px 0 15px;
}

.close-btn{
    float:right;
    background:#d16d53;
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:30px;
    cursor:pointer;
}