/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f9fbfd;
  color: #333;
  line-height: 1.6;
}

/* Container */
.container { width: 90%; max-width: 1200px; margin: auto; }

/* Navbar container */
.navbar {
    background: #007bff;
    padding: 15px 0;
    color: #fff;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo block: logo left, text right */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.logo-img {
  max-height: 80px;   /* consistent size across header & footer */
  width: auto;
  height: auto;
  margin-right: 12px;
  display: inline-block;
  vertical-align: middle;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* keeps tagline under company name */
}

.site-name {
    font-size: 25px;
    font-weight: bold;
    color: #fff;
}

.tagline {
    font-size: 12px;
    color: #e0e0e0;
    margin-top: 3px;
}

/* Navigation links */
.nav-links a {
    margin-left: 16px;
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffdd57;
}

/* ===== Admin Dashboard ===== */
.dashboard-container {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin: 30px auto;
  max-width: 1200px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.dashboard-header {
  display:flex; 
  justify-content:space-between; 
  align-items:center; 
  background:#046edf; 
  color:white; 
  padding:10px 20px; 
  border-radius:4px; 
  margin-bottom:20px;
}
.dashboard-header h1 { font-size: 24px; }
.logout-btn {
  color:white; 
  text-decoration:none; 
  font-weight:bold;
}
.logout-btn:hover { text-decoration:underline; }

.dashboard-section h2 {
  background:#046edf; 
  color:white; 
  padding:10px; 
  border-radius:4px; 
  margin-top:30px;
}
.dashboard-section form { margin-top:15px; }
.dashboard-section input, 
.dashboard-section select, 
.dashboard-section button {
  margin:8px 0;
  padding:8px;
  border-radius:4px;
  border:1px solid #ccc;
}
.dashboard-section button {
  background:#046edf; 
  color:white; 
  border:none; 
  cursor:pointer;
}
.dashboard-section button:hover { background:#0056b3; }

.dashboard-table {
  border-collapse: collapse; 
  width: 100%; 
  margin-top: 15px; 
  background:white;
}
.dashboard-table th, 
.dashboard-table td {
  border: 1px solid #ddd; 
  padding: 10px; 
  text-align: left;
}
.dashboard-table th {
  background: #046edf; 
  color: white;
}
.dashboard-table tr:nth-child(even) { background: #f9f9f9; }
.dashboard-table img {
  max-width:100px; 
  border:1px solid #ccc; 
  border-radius:4px;
}

/* Alerts */
.alert { padding:10px; margin:10px 0; border-radius:4px; }
.success { background:#d4edda; color:#155724; }
.error { background:#f8d7da; color:#721c24; }
.warning { background:#fff3cd; color:#856404; }

/* Footer */
.footer { background: #046edf; color: #fff; text-align: center; padding: 20px; margin-top: 40px; }
.footer a { color: #fff; margin: 0 10px; text-decoration: none; }

/* ============================
   Hero Section with Slideshow
   ============================ */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.slideshow img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: slideShow 48s infinite; /* 6 images x 8s each */
}

/* Animate each image in sequence */
.slideshow img:nth-child(1) { animation-delay: 0s; }
.slideshow img:nth-child(2) { animation-delay: 8s; }
.slideshow img:nth-child(3) { animation-delay: 16s; }
.slideshow img:nth-child(4) { animation-delay: 24s; }
.slideshow img:nth-child(5) { animation-delay: 32s; }
.slideshow img:nth-child(6) { animation-delay: 40s; }

@keyframes slideShow {
    0% { opacity: 0; }
    5% { opacity: 1; }
    20% { opacity: 1; }
    25% { opacity: 0; }
    100% { opacity: 0; }
}

/* Overlay Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
}

.hero-content h1,
.hero-content p {
    color: #ffffff; /* keep white for contrast */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7); /* dark shadow for readability */
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

.hero-buttons a {
    display: inline-block;
    margin: 0 10px;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn-primary {
    background: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #ffc107;
    color: #333;
}

.btn-secondary:hover {
    background: #e0a800;
}

/* Services */
.services { padding: 60px 20px; text-align: center; }
.services h2 { font-size: 32px; margin-bottom: 30px; color: #046edf; }
.service-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }

.card {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

/* Stats */
.stats {
  background: #fff;
  padding: 50px 20px;
  text-align: center;
}
.stats .stat {
  display: inline-block;
  width: 22%;
  margin: 20px 0;
}
.stats .stat h3 {
  font-size: 34px;
  color: #046edf;
  margin-bottom: 8px;
}
.stats .stat p {
  font-size: 16px;
  color: #333;
}

/* Booking Forms */
.booking { padding: 60px 20px; }
.booking h2 { text-align: center; margin-bottom: 30px; color: #046edf; }
.booking-form {
  background: #fff; padding: 30px; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); max-width: 600px; margin: auto;
}
.booking-form label { display: block; margin-top: 15px; font-weight: bold; }
.booking-form input, .booking-form textarea, .booking-form select {
  width: 100%; padding: 12px; margin-top: 5px;
  border: 1px solid #ccc; border-radius: 6px;
}
.booking-form button {
  margin-top: 20px; width: 100%; padding: 14px;
  background: #046edf; color: #fff; border: none;
  border-radius: 30px; font-size: 16px; cursor: pointer;
}
.booking-form button:hover { background: #0056b3; }

/* Contact Page */
.contact {
  padding: 40px 0;
  background: #fff;
}
.contact h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #046edf;
}
.contact p {
  text-align: center;
  margin-bottom: 20px;
  font-size: 16px;
}
.contact-details {
  margin-bottom: 50px;
}
.contact-details h3 {
  text-align: center;
  color: #046edf;
  margin-bottom: 20px;
}
.contact-box {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.contact-box .address,
.contact-box .map {
  flex: 1;
}
.contact-box iframe {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}
.contact-form {
  max-width: 500px;
  margin: 0 auto 40px auto;
  background: #f9f9f9;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #046edf;
}
.contact-form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contact-form button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: #057df6;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
}
.contact-form button:hover {
  background: #0056b3;
}

/* Popup */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  text-align: center;
  z-index: 9999;
}
.popup h3 {
  color: green;
  margin-bottom: 10px;
}
.popup button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #046edf;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  z-index: 999;
}

/* Unified Footer */
.footer {
  background: #046edf;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
.footer a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}
.footer .logo-img {
  max-height: 80px;
  width: auto;
  height: auto;
  margin-bottom: 10px;
}

/* Global logo consistency */
.logo-img {
  max-height: 80px;
  width: auto;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

/* About Page */
.about { 
  padding: 60px 20px; 
}

.about h2 { 
  font-size: 28px; 
  margin-bottom: 20px; 
  color: #046edf; 
  text-align: center; 
}

.about h3 { 
  margin-top: 30px; 
  color: #046edf; 
}

.about p { 
  margin: 15px 0; 
  font-size: 16px; 
}

.about ul { 
  margin: 15px 0 30px 20px; 
  text-align: left; 
}

.about li { 
  margin-bottom: 8px; 
}

.about-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin: 20px 0;
}

.icon-img {
  width: 60px;
  height: 60px;
  margin: 10px 0;
  display: block;
}
/* ===== Industrial Health Check-up images ===== */
.industrial-images {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.industrial-images figure {
  text-align: center;
}

.industrial-images img {
  height: 220px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.industrial-images img:hover {
  transform: scale(1.05);
}

.industrial-images figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* ===== Industrial Health Checkups Page Styles (SEO Optimized) ===== */

/* Hero Section */
#industrial-health-checkups-hero {
  background: #007BFF;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}
#industrial-health-checkups-hero h1 {
  font-size: 36px;
  margin: 0;
  font-weight: 700;
}
#industrial-health-checkups-hero p {
  font-size: 18px;
  margin-top: 10px;
}

/* Section Headings */
section h2 {
  font-size: 24px;
  color: #007BFF;
  margin-bottom: 15px;
  text-align: center;
}

/* Services & Why Choose Us */
#industrial-services,
#industrial-why-choose,
#industrial-objective {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
#industrial-services ul,
#industrial-why-choose ul {
  list-style: none;
  padding: 0;
}
#industrial-services li,
#industrial-why-choose li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
#industrial-services li:last-child,
#industrial-why-choose li:last-child {
  border-bottom: none;
}

/* Industrial Images */
#industrial-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  max-width: 1000px;
}
#industrial-images figure {
  text-align: center;
}
#industrial-images img {
  width: 280px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
#industrial-images figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}

/* Inquiry Form */
#industrial-inquiry-form {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
#industrial-inquiry-form h2 {
  text-align: center;
  margin-bottom: 20px;
}
#industrial-inquiry-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#industrial-inquiry-form input,
#industrial-inquiry-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
}
#industrial-inquiry-form textarea {
  min-height: 120px;
}
#industrial-inquiry-form button {
  background: #007BFF;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}
#industrial-inquiry-form button:hover {
  background: #0056b3;
}

/* Two-column layout for Services and Why Choose Us */
#industrial-services-why {
  display: flex;
  flex-wrap: wrap;       /* allows wrapping if space is tight */
  gap: 40px;
  justify-content: center;
  margin: 60px auto;
  max-width: 1200px;     /* keeps content centered */
  padding: 20px;
}

/* Each column styled like a card */
#industrial-services-why .services-column,
#industrial-services-why .why-column {
  flex: 1;
  min-width: 320px;
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Headings */
#industrial-services-why h2 {
  color: #0056b3;
  margin-bottom: 15px;
  font-size: 1.4rem;
  border-bottom: 2px solid #0056b3;
  padding-bottom: 8px;
}

/* Lists */
#industrial-services-why ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}
#industrial-services-why li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1rem;
}

/* Responsive: stack neatly on mobile */
@media (max-width: 768px) {
  #industrial-services-why {
    flex-direction: column;
    gap: 20px;
  }
}

/* Objective Section */
#industrial-objective {
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  background: #eef6fb; /* light blue background */
  border-left: 5px solid #0056b3;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
#industrial-objective h2 {
  color: #0056b3;
  margin-bottom: 15px;
  font-size: 1.5rem;
}
#industrial-objective p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

/* Global logo consistency */
.logo-img {
  max-height: 80px;
  width: auto;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

/* ============================
   Login Dropdown Button Styles
   ============================ */

.login-dropdown {
  position: relative;
  display: inline-block;
}

.login-btn {
  background: #007BFF;
  color: #fff;
  padding: 8px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.login-menu {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 160px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  border-radius: 4px;
  z-index: 1000;
}

.login-menu a {
  display: block;
  padding: 10px;
  color: #333;
  text-decoration: none;
}

.login-menu a:hover {
  background: #f1f1f1;
}

/* Show dropdown on hover */
.login-dropdown:hover .login-menu {
  display: block;
}
/* ==============================
   Employee Dashboard Page Styles
   ============================== */

.dashboard-wrapper {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
}

.dashboard-links {
  margin-top: 20px;
}

.dashboard-btn {
  display: inline-block;
  margin: 10px;
  padding: 12px 20px;
  background: #007BFF;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
}

.dashboard-btn:hover {
  background: #0056b3;
}

/* ================================
   About Us Page – Vision & Mission
   ================================ */

.info-table {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.info-cell {
  flex: 1;
  background-color: #e6f2ff;   /* light blue background */
  border-left: 5px solid #004080; /* dark blue border */
  padding: 20px;
  border-radius: 6px;
}

.info-cell h3 {
  color: #004080;
  margin-bottom: 10px;
  font-size: 20px;
}

.info-cell p {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

/* ================================
   About Us Page – FIT INDIA Section
   ================================ */
.fit-india-title {
  text-align: center;
  font-size: 26px;
  color: #004080;
  margin-bottom: 15px;
}

.fit-india-img {
  width: 1200px;
  height: 400px;
  object-fit: cover;   /* keeps proportions neat */
  display: block;
  margin: 0 auto 20px; /* centers image */
  border: 4px solid #004080; /* adds border */
  border-radius: 8px;  /* smooth corners */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* subtle shadow */
}

@media (max-width: 768px) {
  .fit-india-img {
    width: 100%;
    height: auto; /* responsive on mobile */
  }
}

/* ================================
   About Us Page – Initiatives Section
   ================================ */
.initiatives-title {
  text-align: center;
  font-size: 26px;
  color: #004080;
  margin-bottom: 15px;
}

.initiatives-img {
  width: 1200px;       /* same size as FIT INDIA */
  height: 400px;       /* fixed height */
  object-fit: cover;   /* crops neatly if aspect ratio differs */
  display: block;
  margin: 0 auto 20px; /* centers image */
  border: 4px solid #004080; /* adds border */
  border-radius: 8px;  /* smooth corners */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* subtle shadow */
}

@media (max-width: 768px) {
  .initiatives-img {
    width: 100%;
    height: auto; /* responsive on mobile */
  }
}