/* =========================================
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;
}


.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);
}

/* =========================================
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 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;
  }
}

/* =========================================
NUTRITION SECTION
========================================= */

.nutrition-section{
  width:100%;
  padding:140px 8% 80px;
  display:flex;
  justify-content:center;
}

.nutrition-container{
  width:100%;
  max-width:1300px;
  display:flex;
  gap:60px;
  align-items:flex-start;
}

/* LEFT MAIN */

.nutrition-main{
  flex:2;
}

.sub-tag{
  font-size:12px;
  letter-spacing:3px;
  color:#7b95a5;
  font-weight:600;
  text-transform:uppercase;
  display:block;
  margin-bottom:18px;
}

.nutrition-title{
  font-family:'Cormorant Garamond',serif;
  font-size:54px;
  line-height:1.2;
  margin-bottom:20px;
  color:#1f1f1f;
}

.nutrition-desc{
  font-size:16px;
  line-height:1.8;
  color:#666;
  max-width:650px;
  margin-bottom:40px;
}

.accent-text{
  color:#d36b4b;
  font-style:italic;
}

/* =========================================
TOGGLE BUTTONS
========================================= */

.toggle-group{
  display:flex;
  gap:14px;
  margin-bottom:30px;
}

.btn-toggle{
  padding:12px 20px;
  border-radius:40px;
  border:1px solid #ddd;
  background:#fff;
  cursor:pointer;
  font-weight:500;
  display:flex;
  align-items:center;
  gap:8px;
  transition:0.3s;
}

.btn-toggle.active{
  background:#2f6b63;
  color:#fff;
  border-color:#2f6b63;
}

.btn-toggle:hover{
  transform:translateY(-2px);
}

/* =========================================
FORMS
========================================= */

.step-label{
  font-size:11px;
  letter-spacing:2px;
  color:#888;
  margin:18px 0 10px;
  text-transform:uppercase;
}

.full-select,
.half-select,
input,
select,
textarea{
  width:100%;
  padding:14px 16px;
  border-radius:12px;
  border:1px solid #ddd;
  outline:none;
  font-size:14px;
  background:#fff;
}

textarea{
  min-height:110px;
  resize:none;
}

.form-row,
.form-row-two,
.form-row-three{
  display:flex;
  gap:16px;
  margin-bottom:16px;
}

.form-col,
.input-col{
  flex:1;
}

.pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 14px;
    border-radius:20px;
    background:#f4f1ec;
    border:1px solid #ddd;
    cursor:pointer;
    transition:0.3s;
    font-size:13px;
    user-select:none;
}

.pill:hover{
    background:#d36b4b;
    color:#fff;
}

/* Selected state */
input[type="checkbox"]:checked + .pill{
    background:#2f6b63;
    color:#fff;
    border-color:#2f6b63;
}

/* ADD ALLERGY */

.add-custom-allergy{
  display:flex;
  gap:10px;
  margin-bottom:25px;
}

.btn-add{
  padding:12px 16px;
  border:none;
  background:#2f6b63;
  color:#fff;
  border-radius:10px;
  cursor:pointer;
}

/* =========================================
LAB BOX
========================================= */

.lab-reports-box{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#fff;
  padding:16px;
  border-radius:14px;
  border:1px solid #e5e5e5;
  margin-bottom:20px;
}

.lab-content{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  color:#555;
}

.show-link{
  background:none;
  border:none;
  color:#d36b4b;
  font-weight:600;
  cursor:pointer;
}

/* =========================================
BUTTON
========================================= */

.btn-generate{
  width:100%;
  padding:16px;
  border:none;
  border-radius:40px;
  background:#d36b4b;
  color:#fff;
  font-size:16px;
  cursor:pointer;
  margin-top:20px;
  transition:0.3s;
}

.btn-generate:hover{
  transform:translateY(-3px);
}

/* =========================================
DISCLAIMER
========================================= */

.disclaimer-box{
  display:flex;
  gap:14px;
  margin-top:25px;
  background:#fff7f3;
  padding:16px;
  border-radius:14px;
  border:1px solid #ffd7c7;
}

.disclaimer-text p{
  font-size:13px;
  color:#666;
  line-height:1.6;
}

/* =========================================
SIDEBAR
========================================= */

.nutrition-sidebar{
  flex:1;
}

.dark-info-card{
  background:#1f3d3a;
  color:#fff;
  padding:24px;
  border-radius:18px;
}

.sidebar-label{
  font-size:12px;
  letter-spacing:2px;
  margin-bottom:18px;
  color:#cfe3df;
}

.dark-info-card ul{
  list-style:none;
  padding:0;
}

.dark-info-card li{
  font-size:14px;
  margin-bottom:14px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  line-height:1.5;
}

.btn-expert{
  width:100%;
  margin-top:18px;
  padding:12px;
  border:none;
  border-radius:30px;
  background:#d36b4b;
  color:#fff;
  cursor:pointer;
}

.exp-tag{
  display:block;
  margin-top:12px;
  font-size:11px;
  color:#b7d1cc;
  text-align:center;
}

/* Saved Plans */
.saved-plans-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 20px;
    margin-top: 30px;
}


.saved-header { font-size: 11px; font-weight: 700; color: #6b8a99; margin-bottom: 20px; }

.plan-card {
    background: #f2eee8;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-info strong { display: block; font-size: 14px; }
.plan-info span { font-size: 11px; color: #666; display: block; }
.plan-info .date { color: #aaa; margin-top: 5px; }

.plan-actions { text-align: right; }

.btn-download {
    background: #d4ede2;
    color: #2f5d57;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: block;
    margin-bottom: 5px;
}

.btn-delete { background: none; border: none; font-size: 10px; color: #aaa; cursor: pointer; }

@media (max-width: 768px) {
    .nutrition-container { grid-template-columns: 1fr; }
}



/* =========================================
CHATBOT FIX
========================================= */

#chatbotBox{
  font-family:'Inter',sans-serif;
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:992px){

  .nutrition-container{
    flex-direction:column;
  }

  .nutrition-title{
    font-size:42px;
  }

  .form-row,
  .form-row-two,
  .form-row-three{
    flex-direction:column;
  }

  .nutrition-sidebar{
    width:100%;
  }

}

@media(max-width:600px){

  .nutrition-section{
    padding:120px 5% 60px;
  }

  .nutrition-title{
    font-size:34px;
  }

}

/* =========================================
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:none;
}

.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;
    }
}

@media(max-width:768px){

  .nutrition-section{
    padding-top: 200px; /* FIX: prevents overlap with fixed nav */
  }

}

.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;
}
.lab-content{
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.lab-input{
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: #333;
    font-family: inherit;
}

.lab-input::placeholder{
    color: #666;
}