/* Root Variables for Colors and General Styles */
:root {
  --primary-color: #fb5805;
  --secondary-color: #112836;
  --tertiary-color: #413737;
  --backgrnd-color: #9ca3af;
  --hover-color: #d186046c;
  --background-color: rgba(255, 255, 255, 0.6);
  --font-family: 'Arial', sans-serif;
  --transition-speed: 0.3s;
  --border-radius: 8px;
}

/* Global Styles */
body {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, var(--secondary-color), var(--backgrnd-color));
  color: white;
  backdrop-filter: blur(10px);
  overflow: hidden;
  /* Prevent scrollbar during preloader */
}

/* Preloader Styles */
#preloader {
  position: fixed;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, var(--secondary-color), var(--backgrnd-color), var(--tertiary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

#preloader img {
  width: 100px;
  animation: fadeInOut 1.5s ease-in-out infinite alternate;
}

@keyframes fadeInOut {
  from {
    opacity: 0.2;
  }

  to {
    opacity: 1;
  }
}

/* Navigation Styles */
nav {
  background-color: rgba(17, 40, 54, 0.9);
  padding: 16px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 40px;
}

.brand-name {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.highlight {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  align-self: center;
  gap: 24px;
}

.nav-links a {
  color: white;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition-speed);
}

.nav-links a:hover {
  color: white;
}

.demo-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  transition: var(--transition-speed);
}

.demo-btn:hover {
  color: black;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.toggle-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom, var(--secondary-color), var(--backgrnd-color));
  text-align: center;
  padding: 60px 20px;
  color: white;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 32px;
}

.cta-buttons a {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  margin: 8px;
  text-decoration: none;
  transition: var(--transition-speed);
}

.cta-buttons a:hover {
  /* background-color: var(--hover-color); */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.cta-btn.demo-btn {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

/* Section Styles */
.transforming-ai,
.proctored-testing,
.industries,
.ai-technology,
.contact,
.custom-chatbots {
  padding: 60px 20px;
  background-color: var(--background-color);
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.item_box {
  color: black;
}

h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  font-family: "Roboto", serif;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.service-item,
.feature-item,
.tech-item {
  background-color: white;
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-item h3,
.feature-item h3,
.tech-item h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

footer {
  background-color: var(--secondary-color);
  text-align: center;
  padding: 20px;
  color: white;
}

footer p {
  font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: rgba(17, 40, 54, 0.9);
    padding: 20px;
    border-radius: var(--border-radius);
  }

  .nav-links.active {
    display: flex;
  }

  .toggle-btn {
    display: block;
  }
}

/* Section 4: Industries */
.industries {
  padding: 60px 20px;
  background-color: #f5f5f5e4;
  text-align: center;
  border: 5px #793d20 dashed;
  border-radius: 20px;
  margin: 50px 10px;
}

.industries .container {
  max-width: 1200px;
  margin: 0 auto;
}

.industries h2 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-family: "Roboto", serif;
  font-weight: 700;
  font-style: normal;
}

.industries-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.industries-img {
  flex: 1;
  text-align: left;
}

.industries-img img {
  max-width: 100%;
  zoom: 2fr;
  filter: contrast(50);
  filter: invert(1);
}

.industries-info {
  flex: 1;
}

.industries-info .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 columns */
  gap: 20px;
}

.industry-item {
  background-color: white;
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.281);
  color: black;
}

.industry-item h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.industry-item p {
  font-size: 1rem;
  color: var(--tertiary-color);
}

.industry-item.full-width {
  grid-column: span 2;
  /* Span full width */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .industries-content {
    flex-direction: column;
    /* Stack image and content vertically on smaller screens */
  }

  .industries-img {
    text-align: center;
    /* Center the image on smaller screens */
  }

  .industries-info .grid {
    grid-template-columns: 1fr;
    /* Single column for items on smaller screens */
  }

  .industry-item.full-width {
    grid-column: span 1;
    /* Reset full width on smaller screens */
  }
}

/* Add these CSS styles */
.section-transition {
  height: 100px;
  background: linear-gradient(to bottom, var(--backgrnd-color),
      /* Hero section color */
      #abb3b9
      /* Section 2 color with transparency */
    );
  box-shadow: none;

}


/* Add smooth transition to all sections */
section {
  transition: background-color 0.5s ease;
}

/* About Page Specific Styles */
.about-section {
  padding: 60px 20px;
  background-color: var(--background-color);
  text-align: center;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.about-section p {
  font-size: 1rem;
  color: var(--tertiary-color);
  margin-bottom: 20px;
  font-family: "Roboto", serif;
  font-optical-sizing: auto;
}

.aboutimg {
  filter: contrast(50%);
  filter: invert(1);
  width: 248px;
  height: auto;
  box-shadow: none;
}

.about-section img {
  max-width: 100%;
  border-radius: var(--border-radius);
  height: 400px;

}

.team-member,
.tech-item {
  background-color: white;
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: black;
  border: 2px var(--background-color) solid;

}

.team-member img {
  margin: 8px;
  border: 2px black solid;
  border-radius: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.667);
}

.team-member h3,
.tech-item h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--primary-color);
  padding-top: 7px;
}

.team-member p,
.tech-item p {
  font-size: 1rem;
  color: var(--tertiary-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}