/* =========================================
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;
}

/* 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;
    }
}



/* Signup Page Layout */
.signup-page {
    display: flex;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
}

/* Left Section: Signup Form */
.signup-form-side {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 60px 40px;
    background-color: #fdfdfd;
}

.signup-card {
    width: 100%;
    max-width: 420px;
}

.signup-page {
    display: flex;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;

    margin-top: 110px; /* ✅ FIX: pushes content below navbar + topbar */
}

.form-header {
    margin-bottom: 10px;
    text-align: left;   /* FIX */
}

.form-header .create-tag {
    font-size: 10px;
    letter-spacing: 2px;
    color: #6b8a99;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.form-header h2 {
    font-family: 'Georgia', serif;
    font-size: 42px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 13px;
    color: #666;
}

.form-header a {
    color: #c95a3d;
    text-decoration: underline;
}

/* Form Styling */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group label span {
    font-weight: 400;
    color: #888;
    font-style: italic;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Checkbox Section */
.checkbox-group {
    display: flex;
    gap: 12px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-bottom: 25px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.checkbox-group label {
    font-size: 11px;
    line-height: 1.5;
    color: #777;
    margin: 0;
}

.btn-create {
    width: 100%;
    background-color: #c95a3d;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.signup-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;  /* ensures perfect centering */
}

/* Container for the image side */
.signup-visual-side {
    flex: 1.2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Keeps text at the bottom */
    padding: 60px;
    overflow: hidden;
}

/* Image styling to cover the section */
.signup-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image isn't stretched */
    z-index: 0;
}

/* Dark gradient overlay for text readability */
.signup-visual-side::after {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
    z-index: 1;
}

/* Text overlay positioning */
.visual-overlay-text {
    position: relative;
    z-index: 2; /* Sits above the image and gradient */
    color: #fff;
    text-align: right; /* Aligns text to the right as per image */
    max-width: 450px;
    margin-left: auto; /* Pushes the block to the right */
}

.visual-overlay-text .tagline {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.visual-overlay-text h1 {
    font-family: 'Georgia', serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* Soft shadow for better legibility */
}

@media(max-width:768px){

  .signup-page {
    margin-top: 0; /* ✅ REMOVE EXTRA GAP ON MOBILE */
    flex-direction: column; /* ✅ STACK PROPERLY */
  }

  .signup-form-side {
    padding: 30px 20px; /* better spacing */
  }

  .signup-card {
    max-width: 100%;
  }

  .signup-visual-side {
    order: -1; /* ✅ move image to top (professional look) */
    height: 250px;
    padding: 20px;
  }

  .visual-overlay-text {
    text-align: left; /* looks better on mobile */
    margin-left: 0;
  }

  .form-header h2 {
    font-size: 32px; /* better scaling */
  }
}

.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;
}

@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;
}


@media (max-width: 768px) {
    .vax-footer {
        flex-direction: column;
        padding: 40px 30px; /* Tighter mobile padding */
        gap: 30px;
    }
}