/* General Styles */
body, html {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
}


/* Top Header */
.top-header {
background: rgba(93, 139, 156, 0.7);
height: 70px;
width: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 1000;
display: flex;
align-items: center;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Inner Flex Row */
.top-header-inner {
max-width: 1400px;
margin: 0 auto;
padding: 0 30px;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
}

/* Logo */
.nav-logo {
font-size: 22px;
font-weight: bold;
color: white;
white-space: nowrap;
}

/* Search Bar */
.search-container {
flex: 1;
display: flex;
align-items: center;
background: rgba(255, 255, 255, 0.2);
border-radius: 20px;
padding: 5px 15px;
height: 40px;
backdrop-filter: blur(5px);
min-width: 250px;
margin: 0 20px;
}

.search-container input {
border: none;
background: none;
outline: none;
padding: 8px;
width: 100%;
font-size: 16px;
color: white;
}

.search-login-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
  flex: 1;
  max-width: 1250px;
  gap:20px;
}

/* Login & Register buttons */
.auth-buttons {
display: flex;
align-items: center;
gap: 12px;
}

.auth-button {
display: flex;
align-items: center;
justify-content: center;
min-width: 100px;
height: 40px;
background: #004080;
color: white;
font-size: 15px;
font-weight: bold;
text-decoration: none;
border: none;
border-radius: 8px;
transition: background-color 0.3s ease, transform 0.2s ease;
cursor: pointer;
padding: 0 12px;
}

.auth-button:hover {
background-color: #3a6fac;
transform: translateY(-2px);
}

.auth-icon {
  margin-left: 8px;
  font-size: 16px;
}

/* Ensuring Logo & Search Bar Alignment */
.top-header .nav-logo {
  position: relative;
  left: 0;
  margin-right: 90px;
}

.search-icon {
  margin-right: 10px;
  font-size: 18px;
  color: white;
}

/* Second Header */
.nav-header {
position: fixed;
top: 70px; 
left: 0;
width: 100%;
z-index: 999;
background: #004080;
display: flex;
justify-content: center;
padding: 10px 0;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 75px; 
  justify-content: center; 
  flex: 1;
  align-items: center;
  width: 100%; 
  text-align: center;
}

/* other Buttons */
.nav-button {
  text-decoration: none;
  background-color: transparent;
  color: white;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s;
  border-radius: 10px;
}

.nav-button:hover {
  background-color: #6aa5e3;
}

/* Ensure content is centered and visible */
.content {
  position: relative;
  text-align: center;
  color: white;
  font-family: Arial, sans-serif;
  margin-top: 20%;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

/* Chatbot Icon */
#chatbot-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #007bff;
  color: white;
  padding: 10px 15px;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

/* Chatbot Window */
#chatbot {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 20px;
  width: 300px;
  background: white;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 9998;
}

/* Chat Header */
.chat-header {
  background: #007bff;
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Chat Body */
.chat-body {
  height: 250px;
  padding: 10px;
  overflow-y: auto;
  background: #f8f9fa;
}

/* Chat Footer */
.chat-footer {
  display: flex;
  padding: 10px;
  background: white;
  border-top: 1px solid #ddd;
}

.chat-footer input {
  flex: 1;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.chat-footer button {
  margin-left: 5px;
  background: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
}

/* Chat Messages */
.bot-message, .user-message {
  padding: 5px 10px;
  border-radius: 5px;
  margin: 5px 0;
}

.bot-message {
  background: #d1ecf1;
  text-align: left;
}

.user-message {
  background: #c3e6cb;
  text-align: right;
}

/* Navigation Bar Styling */
.navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 15px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Centered Search Bar */
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 10px;
}

/* Search Bar Styling */
.search-container {
  display: flex;
  align-items: center;
  background: #f1f1f1;
  border-radius: 20px;
  padding: 5px 15px;
  width: 300px;
}

.search-container input {
  border: none;
  background: none;
  outline: none;
  padding: 5px;
  width: 100%;
}

.search-icon {
  margin-right: 10px;
}

#user-buttons {
display: flex;
flex-direction: row;   
gap: 12px;
align-items: center;
}


/* Login & Register Buttons
.nav-right {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}

/* About & Contact Buttons
.nav-links {
  display: flex;
  gap: 15px;
  margin-top: 5px;
} */

/* for the logo and 3 cards */
.hero-section {
margin-top: 140px; /* to push below fixed headers */
padding: 60px 40px;
background: rgba(180, 210, 220, 0.7);   
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-radius: 20px;
box-shadow: 0 8px 30px rgba(24, 20, 20, 0.2);
color: rgba(174, 46, 46, 0.872);
text-align: center;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}

:root {
  --header-height: 130px;
} 

.hero-content {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 2rem;
text-align: left;
position: relative;
}

.text-side {
flex: 1 1 400px;
flex: 1 1 400px;
position: relative;
top: -90px;  
left: 50px;  
}

.text-side h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #023E8A;
}

.text-side p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #6C757D;
}

.hero-section h1,
.hero-section p {
color: #003b6f; 
}

.cta-button {
background: #0077B6;
color: white;
border-radius: 25px;
padding: 12px 25px;
font-size: 1rem;
font-weight: bold;
border: none;
cursor: pointer;
transition: background 0.3s ease;
}

.cta-button:hover {
background: #005f94;
}

.cards-container {
  display: flex;
  justify-content: space-around;
  margin-top: -45px;
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
  gap: 30px;
}

.info-card {
  background: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  width: 27%;
  text-align: center;
  padding: 40px;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.info-card p {
  font-size: 1rem;
  color: #6C757D;
}

.info-card img {
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
}

/* styling the phelixAI logo */
.logo-container {
flex: 0 1 250px;
display: flex;
justify-content: flex-start;
margin-left: -100px;
margin-top: -70px;
}

.logo-container img.hospital-logo {
width: 400px;        
height: auto;
object-fit: contain;
margin-left: -50px; 
}

/* for the card-icon */ 
.card-icon {
font-size: 50px;
color: #0077B6;
margin-bottom: 20px;
}

.info-card:hover .card-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* disabling the register button */ 
.auth-button[href="register.html"] {
display: none;
}


