/* =========================================
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;
  }
}


/* =========================================
VACCINE CATALOG REPLICA STYLES
========================================= */

/* =========================================
IMMUNIZATION SECTION FIX
========================================= */

.immunization-section{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:180px 24px 35px;

    font-family:'Inter',sans-serif;

    display:flex;
    flex-direction:column;
    align-items:flex-start;

    position:relative;
    z-index:1;
}

/* HEADER TEXT */
.catalog-tag{
    display:inline-block;
    font-size:11px;
    letter-spacing:2px;
    font-weight:700;
    color:#6b8a99;
    border-bottom:1px solid #d8d2ca;
    padding-bottom:4px;
    margin-bottom:20px;
}

.catalog-title{
    font-family:'Cormorant Garamond',serif;
    font-size:56px;
    font-weight:500;
    color:#1a1a1a;
    line-height:1.1;
    margin-bottom:18px;

    max-width:800px;
}

.catalog-subtitle{
    font-size:16px;
    color:#666;
    line-height:1.6;
    max-width:650px;
    margin-bottom:48px;
}

/* =========================================
TABLET
========================================= */

@media(max-width:992px){

.immunization-section{
    padding:190px 24px 70px;
}

.catalog-title{
    font-size:42px;
}

}

/* =========================================
MOBILE
========================================= */

@media(max-width:768px){

.immunization-section{

    /* EXTRA SPACE because top bar becomes taller */
    padding:240px 20px 60px;
}

.catalog-tag{
    font-size:10px;
    letter-spacing:1.5px;
}

.catalog-title{
    font-size:34px;
    line-height:1.2;
}

.catalog-subtitle{
    font-size:15px;
    line-height:1.7;
}

}

/* Catalog Header Text */
.catalog-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #6b8a99;
    border-bottom: 1px solid #d8d2ca;
    padding-bottom: 4px;
    margin-bottom: 20px;
}

.catalog-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 18px;
}

.catalog-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 650px;
    margin-bottom: 48px;
}

/* White Recommender Card */
.recommender-card-replica {
    background: #fff;
    border: 1.5px solid #f0f0f0;
    border-radius: 32px;
    padding: 45px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.02);
}

.recommender-tag-blue {
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #6b8a99;
    border-bottom: 1px solid #d8d2ca;
    padding-bottom: 3px;
    margin-bottom: 20px;
    display: inline-block;
}

.recommender-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 44px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.recommender-heading .italic-accent {
    color: #c95a3d;
    font-style: italic;
}

.recommender-reference {
    font-size: 13px;
    color: #888;
    margin-bottom: 35px;
}

/* Form Controls */
.recommender-controls {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 20px;
    align-items: flex-end;
}

.input-field-group label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.input-field-group input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e2e2e2;
    border-radius: 14px;
    background: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.input-field-group input:focus {
    border-color: #c95a3d;
}

.btn-recommend-replica {
    background: #c95a3d;
    color: #fff;
    border: none;
    height: 58px;
    border-radius: 29px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-recommend-replica:hover {
    background: #b54d32;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 992px) {
    .recommender-controls {
        grid-template-columns: 1fr;
    }
    .catalog-title {
        font-size: 42px;
    }
    .recommender-heading {
        font-size: 34px;
    }
}


/* =========================================
SCHEDULE DASHBOARD REPLICA STYLES
========================================= */

.schedule-dashboard {
    width: 100%;
    max-width: 1100px;
    margin: 10px auto 40px;
}

/* Filter Row */
.filter-row {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.filter-pill {
    padding: 8px 18px;
    background: #f3f3f0;
    border-radius: 20px;
    font-size: 13px;
    color: #444;
    font-weight: 500;
}

.filter-pill.active {
    background: #eef3f3;
    color: #4a6b6b;
}

/* General Box Styling */
.schedule-box {
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 24px;
    border: 1px solid transparent;
}

.box-header {
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Specific Section Colors */
.due-now-box {
    background-color: #f8faf9;
    border-color: #d1dfd9;
}
.due-now-box .box-header { color: #6b8a81; }

.upcoming-box {
    background-color: #fff9f8;
    border-color: #eee0dd;
}
.upcoming-box .box-header { color: #997e7a; }

/* Timeline Content */
.timeline-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: #4a6b6b;
    margin-bottom: 15px;
}

.timeline-row {
    margin-bottom: 20px;
}

.timeline-label {
    font-size: 14px;
    font-weight: 600;
    color: #4a6b6b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Vaccine Pills */
.pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vaccine-pill {
    background: #f1eee6;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.box-note {
    font-size: 11px;
    font-style: italic;
    color: #888;
    margin-top: 15px;
}

.disclaimer-text {
    font-size: 11px;
    font-style: italic;
    color: #999;
    text-align: center;
    margin-top: 30px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .filter-row { flex-wrap: wrap; }
    .schedule-box { padding: 20px; }
    .timeline-title { font-size: 20px; }
}

/* =========================================
VACCINE GRID REPLICA STYLES
========================================= */

.vaccine-grid-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
}

.age-group {
    margin-bottom: 50px;
}

/* Section Header (e.g., 0-6 months) */
.age-header {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.age-header i {
    color: #c95a3d; /* Soft terracotta color from image */
    font-size: 24px;
}

/* Grid Layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Individual Card Styling */
.vaccine-info-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s ease;
}

.vaccine-info-card:hover {
    transform: translateY(-3px);
}

/* Dose Tag (Blue header in card) */
.dose-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #6b8a99;
    border-bottom: 1px solid #d8e2e7;
    padding-bottom: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.vax-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: #1a1a1a;
    margin: 0 0 5px 0;
}

.vax-disease {
    font-size: 13px;
    color: #c95a3d; /* Terracotta highlight */
    margin: 0 0 15px 0;
    font-weight: 500;
}

.vax-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Grid for Tablets/Phones */
@media (max-width: 992px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .card-grid { grid-template-columns: 1fr; }
    .age-header { font-size: 26px; }
}

/* =========================================
EXTRA VACCINE DETAILS
========================================= */

.vaccine-extra-details{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-top:18px;

}

.detail-pill{

    display:flex;

    align-items:center;

    gap:8px;

    background:#f5f5f5;

    padding:10px 14px;

    border-radius:12px;

    font-size:13px;

    color:#444;

    font-weight:600;

}

.detail-pill i{

    color:#c95a3d;

}

/* =========================================
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;
  }
}
