/* Global Styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  height: 100%;
  overflow-x: hidden;
  background-color: #000;
  color: #fff;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

body {
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) rgba(0, 0, 0, 0.5);
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.5);
}

body::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  border: 2px solid rgba(0, 0, 0, 0.5);
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  color: #000;
  padding-top: 60px;
  padding-bottom: 4rem;
}

/* Video Background Styles */
.background-video,
.video-background,
#video-background {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: blur(5px) brightness(0.7);
  transform: scale(1.1);
}

.video-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

/* Navigation Styles */
nav {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  white-space: nowrap;
}

nav ul li a:hover {
  color: #3498DB;
}

nav ul li.logo {
  margin: 0 1rem;
}

nav ul li.logo img {
  vertical-align: middle;
  height: 40px;
  width: auto;
}

/* Heading Styles */
h1 {
  text-align: center;
  font-size: 3em;
  margin-bottom: 20px;
  margin-top: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

h2 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

h3 {
  margin-top: 0;
  color: #3498db;
}

/* Roadmap Styles */
.roadmap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.roadmap-item {
  display: flex;
  width: 100%;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.roadmap-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.roadmap-content {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: 10px;
  width: 70%;
  color: #fff;
  margin-left: 30px;
  position: relative;
  transition: all 0.3s ease;
}

.roadmap-content:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(52, 152, 219, 0.7);
}

.roadmap-content::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 50%;
  width: 40px;
  height: 2px;
  background-color: #3498db;
}

.roadmap-icon {
  width: 60px;
  height: 60px;
  background-color: #3498db;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: white;
}

/* Blog Styles */
#blog-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blogBox {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1rem;
  max-width: 800px;
  width: 100%;
  text-align: left;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blogBox img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.blogBox h2 {
  margin-top: 0;
  color: black;
}

.blogBox .date {
  font-style: italic;
  color: #333;
  margin-bottom: 1rem;
}

.blogBox .contentBlogBox {
  text-align: left;
  color: black;
  
}

/* Service Styles */
.intro, .summary h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.summary, .intro {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1rem;
  max-width: 800px;
  text-align: center;
}

.summary, .intro p {
  color: #34495e;
  line-height: 1.6;
}

.tile-container,
.service-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.tile,
.service-tile {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1rem;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tile:hover,
.service-tile:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(52, 152, 219, 0.8);
}

.tile i,
.service-tile i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #3498db;
}

.tile h3,
.service-tile h3 {
  margin: 0;
  color: #2c3e50;
}

.tile p,
.service-tile p {
  font-size: 0.8rem;
  color: #7f8c8d;
  margin-top: 0.5rem;
}

/* Form Styles */
form {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #fff;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #3498DB;
}

.error {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

#register-btn {
  background-color: #3498DB;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  transition: background-color 0.3s ease;
}

#register-btn:hover {
  background-color: #0064D8;
}

.registration-tile {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.registration-tile h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.registration-tile > p {
  text-align: center;
  margin-bottom: 2rem;
}

.plan-details {
  text-align: center;
}

.plan-details h3 {
  margin-bottom: 0.5rem;
}

.plan-details p {
  margin-bottom: 1.5rem;
}

#paypal-button-container {
  max-width: 250px;
  margin: 0 auto;
}

.form-footer {
  text-align: center;
  margin-top: 1rem;
}

.form-footer a {
  color: #3498DB;
  text-decoration: none;
}

.form-footer a:hover {
  text-decoration: underline;
}

.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  text-align: center;
}

.alert-error {
  background-color: rgba(255, 0, 0, 0.2);
  border: 1px solid rgba(255, 0, 0, 0.5);
  color: #ff6b6b;
}

.alert-success {
  background-color: rgba(0, 100, 255, 0.2);
  border: 1px solid rgba(0, 100, 255, 0.5);
  color: #3498DB;
}

/* Blog Post Styles */
.blog-post {
  margin-bottom: 30px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.blog-post img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

/* Metrics Dashboard Styles */
#metrics-dashboard {
  font-family: Arial, sans-serif;
  margin: 2rem 0;
  padding: 20px;
  color: #2c3e50;
  border-radius: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

#status, #lastUpdate {
  text-align: center;
  margin-bottom: 10px;
  color: #7f8c8d;
}

.agent-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 1rem auto;
}

.agent-tile {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1rem;
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.agent-tile:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(52, 152, 219, 0.7);
  background-color: rgba(255, 255, 255, 1);
}

.agent-tile i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #3498db;
}

.agent-tile h3 {
  margin: 0;
  color: #2c3e50;
}

.agent-tile p {
  font-size: 0.9rem;
  color: #333;
  margin-top: 0.5rem;
}

#graphContainer {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  background-color: rgba(230, 230, 230, 0.9);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
}

#metricsChart {
  width: 100%;
  height: 400px;
}

/* Footer Styles */
footer,
.copyright {
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1rem;
  position: relative;
  width: 100%;
  z-index: 1000;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Service Details Styles */
.service-details {
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem;
  max-width: 800px;
  text-align: left;
}

.service-details h1 {
  color: #2c3e50;
  margin-bottom: 1rem;
  text-align: center;
}

.service-details h2,
.service-details h3,
.service-details h4 {
  color: #2c3e50;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.service-details p {
  color: #34495e;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-details ul,
.service-details ol {
  color: #000000;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.service-details li {
  margin-bottom: 0.5rem;
}

.cta-button, .contactInfo {
  display: inline-block;
  background-color: #3498db;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover, .contactInfo {
  background-color: #2980b9;
}

/* Pricing Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  color: black;
}

thead {
  background-color: #3498db;
  color: white;
}

th, td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  nav ul li.logo {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .content {
    padding: 1rem;
  }

  .service-tile {
    width: 100%;
  }

  .registration-tile {
    padding: 1.5rem;
  }
}

.logo-video {
  width: 80px;
  height: 45px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.6;
}

.logo-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* New styles for the infographic */
.infographic-container {
  text-align: center;
  margin-top: 20px;
  width: 100%;
}

.infographic {
  max-width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.infographic:hover {
  transform: scale(1.05);
}

.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.fullscreen img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.referenceLogo {
  vertical-align: middle;
  margin-right: 20px;
  height: 25px;
  width: 25px;
}