/* =========================================
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{
position:fixed;
top:0;
left:0;
width:100%;
height:52px;
background:#2f6b63;
display:flex;
justify-content:space-between;
align-items:center;
padding:0 28px;
z-index:2000;
}

.top-left{
display:flex;
align-items:center;
gap:10px;
color:white;
font-size:14px;
font-weight:400;
}

.top-right{
display:flex;
align-items:center;
gap:16px;
}

.clinic-btn{
background:white;
padding:10px 20px;
border-radius:30px;
text-decoration:none;
color:#2f6b63;
font-size:14px;
font-weight:600;
display:flex;
align-items:center;
gap:8px;
transition:0.3s;
}

.clinic-btn:hover{
transform:translateY(-2px);
}

.privacy{
display:flex;
align-items:center;
gap:8px;
color:white;
font-size:14px;
}

.top-bar {
  height: 52px; /* Keep this consistent */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2000;
}

nav {
  position: fixed;
  top: 52px; /* This MUST match the height of the top-bar */
  height: 82px;
  width: 100%;
  z-index: 1500;
}

/* =========================================
SCROLLING ANNOUNCEMENT
========================================= */

.top-left{
    flex:1;
    overflow:hidden;
    white-space:nowrap;
    position:relative;
}

.announcement-scroll{
    display:inline-block;
    color:white;
    font-size:14px;
    font-weight:400;
    padding-left:100%;
    animation:scrollText 18s linear infinite;
}

@keyframes scrollText{
    0%{
        transform:translateX(0);
    }
    100%{
        transform:translateX(-100%);
    }
}


/* =========================================
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);
}

/* =========================================
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;
  }
}

/* =========================================
HERO
========================================= */

.hero{
height:100vh;
display:flex;
align-items:center;
padding:180px 8% 100px;
position:relative;
background:
linear-gradient(
rgba(255,255,255,0.82),
rgba(255,255,255,0.82)
),
url('https://images.unsplash.com/photo-1516549655169-df83a0774514?q=80&w=1974&auto=format&fit=crop');

background-size:cover;
background-position:center;
}

.hero-content{
max-width:720px;
}

.hero-sub{
font-size:13px;
letter-spacing:3px;
font-weight:700;
color:#6f95af;
margin-bottom:24px;
}

.hero-title{
font-family:'Cormorant Garamond',serif;
font-size:68px;
line-height:1.05;
font-weight:600;
margin-bottom:26px;
color:#222;
}

.hero-title span{
color:#d36b4b;
}

.badges{
display:flex;
gap:12px;
margin-bottom:30px;
flex-wrap:wrap;
}

.badge{
padding:9px 18px;
background:#f1ece6;
border-radius:30px;
font-size:12px;
font-weight:700;
color:#555;
}

.hero-desc{
font-family:'Cormorant Garamond',serif;
font-size:24px;
line-height:1.6;
color:#35545a;
margin-bottom:34px;
}

.hero-desc span{
color:#d36b4b;
font-style:italic;
}

.hero-buttons{
display:flex;
gap:18px;
flex-wrap:wrap;
}

.hero-btn{
padding:15px 28px;
border-radius:40px;
font-size:15px;
font-weight:600;
cursor:pointer;
border:none;
transition:0.3s;
}

.primary-btn{
background:#d36b4b;
color:white;
}

.secondary-btn{
background:white;
border:1px solid #ddd;
color:#222;
}

.hero-btn:hover{
transform:translateY(-2px);
}

/* =========================================
SECTIONS
========================================= */

.section{
padding:90px 8%;
}

.section-title{
font-family:'Cormorant Garamond',serif;
font-size:52px;
margin-bottom:50px;
color:#163d3d;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:28px;
}

.card{
background:white;
padding:32px;
border-radius:24px;
box-shadow:0 6px 24px rgba(0,0,0,0.05);
transition:0.3s;
}

.card:hover{
transform:translateY(-6px);
}

.card i{
font-size:30px;
color:#d36b4b;
margin-bottom:18px;
}

.card h3{
font-size:22px;
margin-bottom:14px;
}

.card p{
font-size:15px;
line-height:1.8;
color:#666;
}

/* =========================================
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;
}


/* =========================
LOGIN LAYOUT (FIXED UX)
========================= */

.login-page{
display:flex;
min-height:100vh;
padding-top:140px;
}

/* LEFT IMAGE */
.login-left{
flex:1;
position:relative;
overflow:hidden;
}

.login-left img{
width:100%;
height:100%;
object-fit:cover;
}

.overlay{
position:absolute;
inset:0;
background:linear-gradient(to top,rgba(0,0,0,0.6),transparent);
}

.left-text{
position:absolute;
bottom:50px;
left:50px;
color:#fff;
}

.left-text h2{
font-family:'Cormorant Garamond',serif;
font-size:42px;
}

/* RIGHT FORM */
.login-right{
flex:1;
display:flex;
justify-content:center;
align-items:center;
padding:60px;
}

.card{
width:100%;
max-width:420px;
}

.card h2{
font-family:'Cormorant Garamond',serif;
font-size:42px;
margin-bottom:10px;
}

.card p{
color:#666;
margin-bottom:30px;
}

input{
width:100%;
padding:14px;
margin-bottom:18px;
border:1px solid #ddd;
border-radius:12px;
}

button{
width:100%;
padding:14px;
border:none;
border-radius:30px;
background:#c95a3d;
color:#fff;
font-weight:600;
}

/* =========================
MOBILE FIX (MATCH HOME)
========================= */

@media(max-width:900px){

.login-page{
flex-direction:column;
}

.login-left{
height:260px;
}

.nav-links{
display:none;
position:absolute;
top:82px;
left:0;
width:100%;
background:#fff;
flex-direction:column;
padding:20px;
}

.nav-links.active{
display:flex;
}

.menu-toggle{
display:block;
}

.auth-buttons{
display:none;
}
}


/* 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;
}

@media (max-width: 768px) {
    .vax-footer {
        flex-direction: column;
        padding: 40px 30px; /* Tighter mobile padding */
        gap: 30px;
    }
}
/* 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;
}

