/* Updated CSS */
:root {
  --primary-color: black;
  --accent-color: #000000;
  --text-color: #FFFFFF;
  --button-hover: #0056b3;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

html {
  scroll-behavior: smooth;
}

main{
  flex-grow: 1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--primary-color);
  color: var(--text-color);
  line-height: 1.6;
}

.navbar {
  position: relative;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  background-color: rgba(0, 0, 0, 1);
  width: 70%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.logo img {
  width: 30px;
}

.logo :hover{
  cursor: pointer;
}

.nav-links {
  text-decoration: none;
  display: flex;
  gap: 2.5rem;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  /* color: rgb(134, 143, 151); */
  color: #b2b2b2;
  text-decoration: none;
  font-weight: 300;
  transition: all 0.2s ease;
  position: relative;
} 

.nav-links a:hover {
  color: rgb(230, 230, 230);
  text-shadow: 
    0px 1px 20px rgba(230, 230, 230, 0.7),  /* First layer */
    0px 2px 30px rgba(230, 230, 230, 0.6),  /* Second layer */
    0px 3px 40px rgba(230, 230, 230, 0.5); /* Third layer */
}

/* .nav-links a.active {

  color: rgb(230, 230, 230);
} */

.nav-links a:hover::after {
  width: 100%;
}

.demo-button {
  background-color: var(--accent-color);
  color: rgb(230, 230, 230);
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 7px rgb(134, 143, 151, 0.8);;
}

.demo-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 180px 1px rgba(230, 230, 230, 1);
}

footer {
  background-color: #0d0d0d;
  padding: 10rem 10% 10rem;
  margin-top: 5rem;
}

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

.footer-contact ul{
  list-style: none;
}


.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col {
  padding: 0 1rem;
}

.footer-heading {
  color: rgb(230, 230, 230);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-text {
  color: rgb(134, 143, 151);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links li,
.footer-contact li,
.footer-contact a {
  text-decoration: none;
  margin-bottom: 0.8rem;
  color: rgb(134, 143, 151);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  list-style: none;
}

.footer-links a {
  color: rgb(134, 143, 151);
  text-decoration: none;
  transition: all 0.3s ease;
}



.footer-links a:hover,
.footer-contact li:hover,
.footer-contact a:hover {
  color: rgb(230, 230, 230);
  text-shadow: 0 0 10px rgba(230, 230, 230, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgb(134, 143, 151);
  font-size: 0.85rem;
}

#Lastnosti{
  cursor: pointer;
}

/* INDEX.HTML */
.hero {
  margin-top: 25px;
  padding: 4rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
}

.hero-content {
  max-width: 800px;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgb(134, 143, 151);
  margin-bottom: 2rem;
}

.cta-button {
  background-color: black;
  color: rgb(230, 230, 230);
  padding: 0.6rem 2rem;
  border-radius: 25px;
  border:  rgb(134, 143, 151, 1);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 7px rgb(134, 143, 151, 0.8);
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 180px 1px rgba(230, 230, 230, 1);
  
}

#laptoppic-open {
  opacity: 1;
  width: 50%;
  max-width: 2000px;
  margin-top: 2rem;
  filter: drop-shadow(0 10px 20px rgba(249, 249, 249, 0.3));
}
.laptop {
  padding-bottom: 30%;
  position: relative;
  width: 50%;
  max-width: 2000px;
  margin: 2rem auto 0;
}

.laptop-img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.5s ease-out;
  /* filter: drop-shadow(0 10px 20px rgba(249, 249, 249, 0.3)); */
  /* -webkit-filter: drop-shadow(0 10px 20px rgba(249, 249, 249, 0.3)); */
  filter: drop-shadow(0 10px 20px rgba(249, 249, 249, 0.3));
  transform: translateZ(0);
}

#laptop-closed {
  opacity: 0;
}

.laptop.active #laptop-open {
  opacity: 0;
  transform: scale(0.9) translateY(-100px);
}

.laptop.active #laptop-closed {
  opacity: 1;
  transform: scale(0.9) translateY(-100px);
}

#laptop-mobile{
  opacity: 0;
}

#GIF{
  border-radius: 20px;
  transform: scale(0.90);
  transition: transform 0.5s ease-out;
  width: 45%;
  margin-top: 5rem;
  filter: drop-shadow(0 10px 20px rgba(249, 249, 249, 0.3));
  margin: 0 auto;
  display: block;
}

.GIFShowcase {
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease-out;
  will-change: transform;
  margin-top: 2rem;
  position: relative;
  z-index: 2; 
  margin-bottom: 0px;
}

.GIFShowcase.active {
  opacity: 1;
  transform: translateY(0);
}

.GIFShowcase.active #GIF{
  transform: scale(1); 
  transition-delay: 0.1s;
}

.gif-subtitle{
  transform: scale(0.90);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
  color: rgb(134, 143, 151);
  font-size: 1rem;
  margin-bottom: 5rem;
  text-align: center;
  max-width: 800px; 
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.GIFShowcase.active .gif-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s; 
}

.GIFShowcase.active .gif-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}


.GIFShowcase.active #GIF {
  transform: scale(1);
  transition-delay: 0.1s; 
}

.gif-title{
  transform: scale(0.90);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
  color: rgb(230, 230, 230);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.AtributesShowcase {
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.5s ease-out;
  will-change: transform;
  margin-top: 5rem;
  position: relative;
  text-align: center;
  z-index: 1; /* Lower than GIFShowcase */
}

.AtributesShowcase.active {
  opacity: 1;
  transform: translateY(0);
}

#Atributes{
  display: block;
  margin: 0 auto;
  position: relative;
  width: 50%;
  filter: drop-shadow(0 10px 20px rgba(249, 249, 249, 0.3));
  transform: translateZ(0);
}

/* .lists-container {
  display: flex;
  justify-content: center;
  gap: 5rem; 
  margin-top: 5rem; 
}

.list h2{
  color:white;
}

.list {
  list-style-type: circle; 
  text-align: left;
  padding: 0;
  font-size: 1rem;
  color: rgb(134, 143, 151);
  margin-bottom: 2rem;
}

.list li {
  margin-bottom: 0.5rem; 
} */

.lists-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 3rem; /* Space between columns */
  justify-content: center;
  align-items: start; /* Align all lists from the top */
}

.list {
  list-style-type: disc;
  text-align: left;
  padding-left: 1.5rem; /* Align bullets */
  font-size: 1rem;
  color: rgb(134, 143, 151);
  margin: 0;
}

.list h2 {
  color: white;
  margin-bottom: 0.5rem;
  min-height: 2.5rem; /* Ensures uniform height for headings */
}

.list li {
  margin-bottom: 0.5rem;
}

/* CHATBOT.HTML */
/* .ChatBot-hero {
  margin-top: 25px;
  padding: 4rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
}

.ChatBot-hero-content{
  max-width: 800px;
  margin-bottom: 3rem;
}

.ChatBot-hero h1{
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.AIChatBotSection {
  position: relative;
  width: 100%;
  flex-grow: 1;
  min-height: 100vh; 
  overflow: hidden;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgb(134, 143, 151);
  margin-bottom: 2rem;
}

.main-image-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  pointer-events: none; 

.graphic-container {
  position: relative;
  bottom: -10%; 
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  opacity: 1;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.graphic-container.visible {
  opacity: 1;
  bottom: 2%; 
}

#AIChatBotImg {
  border-radius: 10px;
  width: 20%;
  max-width: 2000px;
  filter: drop-shadow(0 10px 20px rgba(249, 249, 249, 0.3));
  pointer-events: auto; 
}


#AIChatBotGraphic {
  width: 73%;
  max-width: 2000px;
  filter: drop-shadow(0 10px 20px rgba(249, 249, 249, 0.3));
}

.text-columns {
  text-align: center;
  display: flex; 
  justify-content: space-between; 
  margin-top: 1rem; 
  padding: 0 5%;
  
}

.text-columns .column {
  background-color: transparent; 
  padding: 0; 
  flex: 1;
  max-width: 30%; 
}

.text-columns ul {
  list-style-type: none;
  padding-left: 20px;
}

.text-columns li {
  font-size: 1rem;
  color: rgb(134, 143, 151); 
  line-height: 1.6;
  margin-bottom: 1rem; 
} */


/* CONTACT.HTML */
.popup {
  display: none;  /* Hidden by default */
  background-color: #0a0a0a;
  padding: 2rem;
  border-radius: 10px;
  height: fit-content;
  color: white;
  text-align: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);  /* Center the popup */
  /* width: auto; */
  max-width: 90%;
  box-sizing: border-box;
  font-size: 16px;
  transition: opacity 0.5s ease-in-out;  /* Smooth fade-in/fade-out transition */
  box-shadow: 0 1px 7px rgb(134, 143, 151, 0.8);
  bottom: 20px; /* Adjust the bottom value to position the popup just below the form */
  margin: 0 auto;
  width: 100%; /* Ensure the popup spans the entire width */
  max-width: 600px; /* Optional: set a max width */
  z-index: 9999; /* Make sure the popup is on top */
}

.contact-section {
  padding: 4rem 5%;
  min-height: auto;
}

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

.contact-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: rgb(134, 143, 151);
  text-align: center;
  margin-bottom: 3rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  height: fit-content;
}

.contact-info a{
  transition: all 0.3s ease;
  color: inherit;
}

.info-item {
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.info-item h3 {
  transition: all 0.3s ease;
  color: rgb(230, 230, 230);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.info-item p {
  color: rgb(134, 143, 151);
  font-size: 0.9rem;
}

.contact-info a:hover,
.info-item a:hover{
  color: rgb(230, 230, 230);
  text-shadow: 0 0 10px rgba(230, 230, 230, 0.3);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: white;
  font-size: 0.9rem;
}

.form-group textarea {
  resize: vertical;
}

.form-button{
  background-color: black;
  color: rgb(230, 230, 230);
  padding: 0.9rem 2rem;
  border-radius: 25px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 7px rgb(134, 143, 151, 0.8);
}

.form-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 150px 1px rgba(230, 230, 230, 0.6);
}

/* MOBILE VIEW */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.bar {
  width: 30px;
  height: 2px;
  background-color: white;
  margin: 6px 0;
  transition: all 0.3s ease;
  border-radius: 20px;
}



/* CHATBOT SECTION */
.ChatBot-hero {
  margin-top: 25px;
  padding: 4rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
}

.ChatBot-hero-content {
  max-width: 800px;
  margin-bottom: 3rem;
}

.ChatBot-hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgb(134, 143, 151);
  margin-bottom: 2rem;
}

.main-image-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

#AIChatBotImg {
  border-radius: 10px;
  width: 45%;
  max-width: 2000px;
  filter: drop-shadow(0 10px 20px rgba(249, 249, 249, 0.3));
  transform: translateZ(0);
}

.text-columns {
  text-align: left;
  display: flex;
  justify-content: space-between;
  margin-top: 5rem;
  padding: 0 5%;
}

.text-columns .column {
  flex: 1;
  max-width: 30%;
}

.text-columns h2 {
  color: rgb(230, 230, 230);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.text-columns ul {
  list-style-type: none;
  padding-left: 0;
}

.text-columns li {
  font-size: 1rem;
  color: rgb(134, 143, 151);
  line-height: 1.6;
  margin-bottom: 1rem;
}


.outer-circle {
  margin-top: 100px;
  margin-bottom: 200px;
  position: relative;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgb(134, 143, 151);
  box-shadow: 0 0px 20px rgb(134, 143, 151, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-item img {
  width: 85px;
  height: 85px;
}

.circle-item {
  font-size: 14px;
  position: absolute;
  width: 150px;
  height: 150px;
  background: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid rgb(134, 143, 151);
  transition: transform 0.5s ease;
  
}

.circle-item::after {
  content: attr(data-text);
  position: absolute;
  white-space: nowrap;
  /* background: rgba(0, 0, 0, 0.8); */
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.circle-container {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0px 20px rgb(134, 143, 151, 1);
  transition: all 0.5s ease;
  overflow: hidden; /* Ensures nothing spills outside the circle */
}

.center-image {
  position: absolute;
  width: 300px; /* Adjust as needed */
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; /* Ensures image is placed correctly */
  cursor: pointer;
}

.center-text {
  position: absolute;
  text-align: center;
  width: 80%;
  z-index: 2; /* Ensure text appears above the image */
  background: rgba(255, 255, 255, 0.7); /* Optional: makes text more readable */
  padding: 5px;
  border-radius: 5px;
}

/* Updated positions for the circles */
.circle-item:nth-child(1) { top: -10%; left: 10%; }  /* Top left */
.circle-item:nth-child(2) { top: -10%; right: 10%; } /* Top right */
/* .circle-item:nth-child(3) { top: 39%; left: -15%; } 
.circle-item:nth-child(4) { top: 39%; right: -15%; }  */
.circle-item:nth-child(3) { top: 50%; left: -15%; transform: translateY(-50%); } /* Middle left */
.circle-item:nth-child(4) { top: 50%; right: -15%; transform: translateY(-50%); } /* Middle right */
.circle-item:nth-child(5) { bottom: -10%; left: 10%; } /* Bottom left */
.circle-item:nth-child(6) { bottom: -10%; right: 10%; } /* Bottom right */

/* Keep original hover animations */
.circle-item:nth-child(1):hover { transform: translate(-30%, -15%) scale(1.2); box-shadow: 0 2px 150px 1px rgba(230, 230, 230, 0.8); cursor: pointer;}
.circle-item:nth-child(2):hover { transform: translate(30%, -15%) scale(1.2); box-shadow: 0 2px 150px 1px rgba(230, 230, 230, 0.8); cursor: pointer;}
.circle-item:nth-child(3):hover { transform: translate(-35%, -50%) scale(1.2); box-shadow: 0 2px 150px 1px rgba(230, 230, 230, 0.8); cursor: pointer;}
.circle-item:nth-child(4):hover { transform: translate(35%, -50%) scale(1.2); box-shadow: 0 2px 150px 1px rgba(230, 230, 230, 0.8); cursor: pointer;}
.circle-item:nth-child(5):hover { transform: translate(-30%, 15%) scale(1.2); box-shadow: 0 2px 150px 1px rgba(230, 230, 230, 0.8); cursor: pointer;}
.circle-item:nth-child(6):hover { transform: translate(30%, 15%) scale(1.2); box-shadow: 0 2px 150px 1px rgba(230, 230, 230, 0.8); cursor: pointer;}


.outer-circle:has(.circle-container:hover) .circle-item:nth-child(1) { transform: translate(-30%, -15%) scale(1.2); }
.outer-circle:has(.circle-container:hover) .circle-item:nth-child(2) { transform: translate(30%, -15%) scale(1.2); }
.outer-circle:has(.circle-container:hover) .circle-item:nth-child(3) { transform: translate(-35%, -50%) scale(1.2); }
.outer-circle:has(.circle-container:hover) .circle-item:nth-child(4) { transform: translate(35%, -50%) scale(1.2); }
.outer-circle:has(.circle-container:hover) .circle-item:nth-child(5) { transform: translate(-30%, 15%) scale(1.2); }
.outer-circle:has(.circle-container:hover) .circle-item:nth-child(6) { transform: translate(30%, 15%) scale(1.2); }



.outer-circle:has(.circle-container:hover) .circle-container { box-shadow: 0 2px 150px 1px rgba(230, 230, 230, 0.8); }



/* Left side circles: text appears on the left */
.circle-item:nth-child(1)::after,
.circle-item:nth-child(3)::after,
.circle-item:nth-child(5)::after {
  right: 110%;
  transform: translateX(10px);
}

/* Right side circles: text appears on the right */
.circle-item:nth-child(2)::after,
.circle-item:nth-child(4)::after,
.circle-item:nth-child(6)::after {
  left: 110%;
  transform: translateX(-10px);
}

/* Show text on hover */
.circle-item:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Show all text when hovering over the center image */
.outer-circle:has(.circle-container:hover) .circle-item::after {
  opacity: 1;
  transform: translateX(0);
}

.outer-circle:has(.circle-container:hover) .circle-item img {transform: scale(1.2);}



.circle-item:hover img {
  transform: scale(1.2);
}
/* Ensure a smooth transition */
.circle-item,
.circle-item img {
  transition: transform 0.3s ease;
}

/* .highlight { 
  text-shadow: 0 0 20px rgb(255, 255, 255), 
               0 0 40px rgba(255, 255, 255, 0.8); 
  transition: all 0.5s ease-in-out;
}

.highlight2{
  color: rgb(255, 255, 255);
  transition: all 0.5s ease-in-out;
} */



/* CHATBOT ANALYTICS SECTION */
.ChatBot-analytics {
  padding: 4rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  background-color: var(--primary-color);
}

.analytics-hero-content {
  max-width: 800px;
  margin-bottom: 3rem;
}

.ChatBot-analytics h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: rgb(230, 230, 230);
  line-height: 1.2;
}

.analytics-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  width: 100%;
  max-width: 1200px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  grid-template-rows: repeat(3, auto); /* 3 rows */
  gap: 2rem;
  width: 100%;
  max-width: 800px; /* Matches your analytics-container max-width */
}

.stat-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 20px rgba(230, 230, 230, 0.4);
}

.stat-item h3 {
  color: rgb(230, 230, 230);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(230, 230, 230, 0.3);
}

.stat-item p {
  color: rgb(134, 143, 151);
  font-size: 1rem;
}

.case-study {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  text-align: left;
  width: 100%;
  max-width: 800px;
}

.case-study h2 {
  color: rgb(230, 230, 230);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.case-study p {
  color: rgb(134, 143, 151);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.case-study ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.case-study li {
  color: rgb(134, 143, 151);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.case-study .highlight {
  color: rgb(230, 230, 230);
  text-shadow: 0 0 10px rgba(230, 230, 230, 0.3);
}

.drek{
  transform: translateY(-10px);
  box-shadow: 0 5px 20px rgba(230, 230, 230, 0.4);
  color: white;
}


@media (max-width: 768px) {
  .ChatBot-analytics {
      padding: 2rem 15px;
  }

  .ChatBot-analytics h1 {
      font-size: 2rem;
  }

  .stats-grid {
      grid-template-columns: 1fr;
  }

  .case-study {
      padding: 1.5rem;
  }

  .case-study h2 {
      font-size: 1.5rem;
  }
  .case-study-with-image {
    flex-direction: column !important; /* Stack vertically on mobile */
    align-items: center;
    padding: 1.5rem;
  }

    .case-study-image {
      flex: none;
      width: 100%;
      height: 200px; /* Fixed height on mobile for consistency */
  }

  .case-study-text {
      text-align: center;
  }

  .case-study-text ul {
      padding-left: 1rem;
  }
}

/* Case Study with Image */
.case-study-with-image {
  display: flex;
  align-items: stretch; /* Ensures both text and image stretch to full height */
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  overflow: hidden; /* Prevents overflow outside the container */
}

/* .case-study-with-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 20px rgba(230, 230, 230, 0.2);
} */

.case-study-text {
  flex: 1;
  text-align: left;
}

.case-study-text h2 {
  color: rgb(230, 230, 230);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.case-study-text p {
  color: rgb(134, 143, 151);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.case-study-text ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.case-study-text li {
  color: rgb(134, 143, 151);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.case-study-image {
  flex: 0 0 300px; /* Fixed width, but height will stretch */
  position: relative;
  overflow: hidden; /* Crops any excess image */
}

.case-study-image img {
  width: 100%;
  height: 100%; /* Fills the full height of the container */
  object-fit: cover; /* Scales image to cover the area, cropping as needed */
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 10px;
  /* filter: drop-shadow(0 5px 10px rgba(249, 249, 249, 0.3)); */
  transition: transform 0.3s ease;
}

/* .case-study-with-image:hover .case-study-image img {
  transform: scale(1.05);
  border-radius: 10px;
} */

/* Image Positioning */
.right-image {
  flex-direction: row; /* Text on left, image on right */
}

.left-image {
  flex-direction: row-reverse; /* Image on left, text on right */
}


/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* ChatBot Hero Section */
  .ChatBot-hero {
    /* padding: 2rem 5%; */
    min-height: auto;
  }

  .ChatBot-hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .main-image-container {
    margin-top: 0.5rem;
  }

  #AIChatBotImg {
    width: 80%;
    max-width: 400px;
  }

  /* Text Columns */
  .text-columns {
    flex-direction: column;
    margin-top: 2rem;
    padding: 0 15px;
  }

  .text-columns .column {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  /* Circle Feature */
  .outer-circle {
    width: 200px;
    height: 200px;
    margin: 50px auto;
  }

  .circle-container {
    width: 120px;
    height: 120px;
  }

  .center-image {
    width: 120px;
    height: 120px;
  }

  .circle-item {
    width: 80px;
    height: 80px;
  }

  .circle-item img {
    width: 40px;
    height: 40px;
  }

  /* Adjust circle positions for mobile */
  .circle-item:nth-child(1) { top: -5%; left: 5%; }
  .circle-item:nth-child(2) { top: -5%; right: 5%; }
  .circle-item:nth-child(3) { top: 50%; left: -10%; }
  .circle-item:nth-child(4) { top: 50%; right: -10%; }
  .circle-item:nth-child(5) { bottom: -5%; left: 5%; }
  .circle-item:nth-child(6) { bottom: -5%; right: 5%; }

  /* Adjust hover transforms for smaller screens */
  .circle-item:nth-child(1):hover,
  .outer-circle:has(.circle-container:hover) .circle-item:nth-child(1) {
    transform: scale(1);
  }
  .circle-item:nth-child(2):hover,
  .outer-circle:has(.circle-container:hover) .circle-item:nth-child(2) {
    transform: translate(15%, -10%) scale(1.1);
  }
  .circle-item:nth-child(3):hover,
  .outer-circle:has(.circle-container:hover) .circle-item:nth-child(3) {
    transform: translate(-20%, -50%) scale(1.1);
  }
  .circle-item:nth-child(4):hover,
  .outer-circle:has(.circle-container:hover) .circle-item:nth-child(4) {
    transform: translate(20%, -50%) scale(1.1);
  }
  .circle-item:nth-child(5):hover,
  .outer-circle:has(.circle-container:hover) .circle-item:nth-child(5) {
    transform: translate(-15%, 10%) scale(1.1);
  }
  .circle-item:nth-child(6):hover,
  .outer-circle:has(.circle-container:hover) .circle-item:nth-child(6) {
    transform: translate(15%, 10%) scale(1.1);
  }

  /* Make data-text always visible on mobile */
  .circle-item::after {
    display: block; /* Ensure it's visible */
    opacity: 1; /* Always fully opaque */
    transform: translateX(0); /* Remove any hover-based transform */
    font-size: 12px; /* Adjust size for mobile readability */
    white-space: normal; /* Allow text wrapping */
    width: 100px; /* Fixed width to control layout */

  }

  /* Adjust positioning for left-side items */
  .circle-item:nth-child(1)::after,
  .circle-item:nth-child(3)::after,
  .circle-item:nth-child(5)::after {
    right: 100%;
    margin-right: 5px;
  }

  /* Adjust positioning for right-side items */
  .circle-item:nth-child(2)::after,
  .circle-item:nth-child(4)::after,
  .circle-item:nth-child(6)::after {
    left: 100%;
    margin-left: 5px;
  }

  /* Disable hover effects for text visibility since it's always shown */
  .circle-item:hover::after,
  .outer-circle:has(.circle-container:hover) .circle-item::after {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 480px) {
  /* Further adjustments for smaller screens */
  .ChatBot-hero {
    padding: 1.5rem 5%;
  }

  .ChatBot-hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  #AIChatBotImg {
    width: 100%;
    max-width: 300px;
  }

  /* Circle Feature */
  .outer-circle {
    width: 170px;
    height: 170px;
    margin: 30px auto;
  }

  .circle-container {
    width: 90px;
    height: 90px;
  }

  .center-image {
    width: 90px;
    height: 90px;
  }

  .circle-item {
    width: 50px;
    height: 50px;
  }

  .circle-item img {
    width: 25px;
    height: 25px;
  }

  /* Adjust data-text for smaller screens */
  .circle-item::after {
    font-size: 10px;
    width: 80px;
  }
}

@media (max-width: 768px) {
  header, main {
    padding: 0 15px; 
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 1rem;
    z-index: 1000;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease-out;
    pointer-events: none;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }

  .nav-right {
    display: none;
    margin-left: auto;
    padding-right: 15px;
  }

  .nav-links.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    padding: 1rem;
  }

  .nav-links a {
    text-align: center;
    padding: 0.8rem 10%;
    margin: 5px 0;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-out;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
  }

  .nav-links.active a {
    opacity: 1;
    transform: translateY(0);
  }

  .hamburger {
    display: block;
    z-index: 1100;
    cursor: pointer;
    margin-left: auto;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .nav-links.active a:nth-child(1) { transition-delay: 0.15s; }
  .nav-links.active a:nth-child(2) { transition-delay: 0.25s; }
  .nav-links.active a:nth-child(3) { transition-delay: 0.35s; }

  .hero {
    margin-top: 0;
    padding: 0;
  }

  .hero h1 {
    font-size: 2rem;
    margin-top: 0;
    padding-top: 0;
  }

  .ChatBot-hero {
    margin-top: 0;
    padding: 0;
  }

  .ChatBot-hero h1 {
    font-size: 2rem;
    margin-top: 0;
    padding-top: 0;
  }

  .laptop {
    width: 100%; /* Increase size for mobile */
    padding-bottom: 60%; /* Adjust height to match */
  }

  .laptop-img {
    opacity: 0;
    width: 100%;
    height: auto;
  }

  #laptop-mobile{
    opacity: 1;
  }

  #laptop-open, #laptop-closed {
    width: 100%; /* Make both images take full width */
    max-width: none; /* Remove any max width limit */
    display: none;
  }

  .laptop.active #laptop-open {
    opacity: 0;
    display: none;
  }

  .laptop.active #laptop-closed {
    opacity: 0;
    display: none;
  }

  #GIF {
    width: 100%;
    border-radius: 20px;
  }

  #AIChatBotImg{
    width: 94%;
    border-radius: 20px;
  }

  .GIFShowcase{
    margin-bottom: -10px; /* Space for attributes */
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }

  a[href^="tel"] {
    color: inherit; /* Prevzemi barvo besedila od nadrejenega elementa */
  }

  a[href^="mailto"] {
    color: inherit;
  }


  .footer-col {
    padding: 0;
    margin-bottom: 2rem;
  }

  .contact-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-info {
    margin-bottom: 0;
  }

  .contact-content h1 {
    font-size: 2rem;
  }

  /* Ensure proper alignment of logo and hamburger */
  .navbar {
    display: flex;
    justify-content: space-between; /* Space out logo and hamburger */
    align-items: center; /* Center vertically */
    width: 100%; /* Full width */
    padding: 1rem;
  }

  .logo {
    display: block;
    max-width: 100%;
    flex: 1; /* This will make sure the logo is on the far left */
  }

  .hamburger {
    display: block;
    margin-left: 20px; /* Adjust space between logo and hamburger */
  }

  .AtributesShowcase {
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s ease-out;
    will-change: transform;
    margin-top: -2rem; /* Pull it up closer */
    position: relative;
    text-align: center;
    z-index: 1;
    width: 100%;
    margin-left: -15px; /* Cancel out the main padding */
    margin-right: -15px; /* Cancel out the main padding */
    width: calc(100% + 30px);
  }

  .AtributesShowcase.active {
    opacity: 1;
    transform: translateY(0);
  }

  #Atributes {
    padding: 0;
    display: block;
    margin: 0 auto;
    position: relative;
    width: 90%;
    filter: drop-shadow(0 5px 10px rgba(249, 249, 249, 0.3));
    transform: translateZ(0);
  }

  .lists-container {
    flex-direction: column; /* Stack lists vertically */
    align-items: center; /* Center them */
    gap: 1rem; /* Reduce gap between lists */
  }

  .list {
    width: 100%; /* Make lists take full width */
    max-width: 400px; /* Optional: Limit max width for better readability */
    text-align: left; /* Center text */
  }

  .list h2 {
    text-align: center; /* Center headings */
  }
}


/* FAQ Section */
.faq-hero {
  margin-top: 25px;
  padding: 4rem 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
}

.faq-hero-content {
  max-width: 800px;
  margin-bottom: 3rem;
}

.faq-hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: rgb(230, 230, 230);
}

.faq-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-size: 1.2rem;
  color: rgb(230, 230, 230);
  cursor: pointer;
  position: relative;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.faq-question.active {
  background: rgba(255, 255, 255, 0.15);
}

.faq-question::after {
  content: '\25BC'; /* Down arrow */
  position: absolute;
  right: 1.5rem;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(180deg); /* Up arrow when active */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 1.5rem 1.5rem 0rem 1.5rem;
  /* padding: 0 1.5rem; */
  color: rgb(134, 143, 151);
  font-size: 1rem;
  line-height: 1.6;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 1.5rem;
}

.faq-answer a {
  color: rgb(230, 230, 230);
  text-decoration: none;
  transition: all 0.3s ease;
}

.faq-answer a:hover {
  text-shadow: 0 0 10px rgba(230, 230, 230, 0.3);
}

#try-it-now{
  cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .faq-hero {
    padding: 2rem 15px;
    min-height: auto;
  }

  .faq-hero h1 {
    font-size: 2rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 1rem;
  }

  .faq-answer {
    font-size: 0.9rem;
    padding: 1.5rem 1.5rem 0rem 1.5rem;
    padding: 1rem 1rem 0rem 1rem;
  }

  .faq-answer p {
    padding-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .faq-hero h1 {
    font-size: 1.8rem;
  }

  .faq-question {
    font-size: 0.9rem;
  }

  .faq-answer {
    font-size: 0.85rem;
  }
}

.companies-showcase {
  text-align: center;
  padding: 2rem 5%;
  margin: 3rem 0;
}

.companies-title {
  color: rgb(134, 143, 151);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.companies-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.company-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.company-logo {
  height: 75px; /* Adjust based on your logo sizes */
  width: auto;
  filter: grayscale(100%) opacity(1);
  transition: all 0.3s ease;
}

.belo {
  color: white;
}

/* .company-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
} */

/* Responsive Design */
@media (max-width: 768px) {
  .companies-showcase {
      padding: 1.5rem 15px;
      margin: 2rem 0;
  }

  .companies-title {
      font-size: 1rem;
  }

  .companies-container {
      gap: 2rem;
  }

  .company-logo {
      height: 50px;
  }
}

@media (max-width: 480px) {
  .companies-title {
      font-size: 0.9rem;
  }

  .company-logo {
      height: 50px;
  }
}


.error-page {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.error-content {
  text-align: center;
  /* max-width: 600px; */
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.error-img{
  width: 25%;
}

.fade-in1 {
  opacity: 0;
  animation: fadeIn 3s ease-out forwards;
}

.fade-in2 {
  opacity: 0;
  animation: fadeIn 3s ease-out forwards;
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}