:root {
  --color1: #F4F4F4;
  --color2: #E8E8E8;
  --color3: #D6DBE7;
  --color4: #CBD1E1;
  --logoColor: #2f2484;
  --navabar: #c1c5cf;
}

.logo-background-color{
  background-color: var(--logoColor);
}

body {
  /* font-family: Orbitron, Arial, sans-serif; */
  font-family: Roboto, Arial, sans-serif;
  background-color: #121212; /* Dark background */
  color: white; /* Default text color */
  margin: 0;
}

.orbitron{
  font-family: Orbitron, Arial, sans-serif !important;
}

.navbar-brand {
  color: #85C1E9 !important; /* Light blue for emphasis */
}

.landing {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo {
  width: 50px;
  animation: logoGlow 2s infinite;
}

@keyframes logoGlow {
  0%, 100% {
      filter: drop-shadow(0 0 10px var(--logoColor));
  }
  50% {
      filter: drop-shadow(0 0 30px #978afc);
  }
}

footer{
  background-color: var(--color4);
  color: black;
}

#footer-logo{
  width: 30%;
}

.navbar{
  background-color: var(--color3);
  color: #000;
  font-weight: bold !important;
}

.border-top{
  border-color: var(--logoColor) !important;
}

/* ######################################################################################## */
.service-card {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(50px);
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card {
  background: var(--color4);
  border: none;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.card-body {
  position: relative;
  padding: 30px;
}

.image-container {
  position: relative;
  overflow: hidden;
  height: 300px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.text-container {
  flex: 1;
  margin-left: 20px;
  text-align: left;
  padding: 15px;
}

.title {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: slideIn 1s forwards 0.5s;
}

.description {
  font-size: 1.1rem;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(30px);
  animation: slideIn 1s forwards 1s;
}

@keyframes slideIn {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .title {
      font-size: 1.5rem;
  }

  .description {
      font-size: 1rem;
  }

  .card-body {
      padding: 20px;
  }

  .image-container {
      height: 200px;
      width: 300px;
  }

  .text-container {
      margin-left: 0;
      margin-top: 20px;
  }
}

.hero-section {
  position: relative;
  height: 100vh;
  background: var(--color2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000000;
  overflow: hidden;
  text-align: center;
}

.content-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo-container {
  position: relative;
  width: 40%;
  height: 50%;
  display: flex;
  justify-content: space-between;
}

.logo-half {
  width: 25%;
  height: 100%;
  position: absolute;
  top: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;  /* Start as invisible */
}

#logo-left {
  opacity: 0;
  /* margin-left: 200%; */
  background-image: url('../assets/logo-main-left.png'); 
  /* background-color: red; */
}

#logo-right {
  opacity: 0;
  /* margin-left: -100%; */
  background-image: url('../assets/logo-main-right.png');
  /* background-color: green; */
}

/* Hero text styling */
.landing-title {
  font-size: 3rem;
  font-weight: bold;
  margin-top: 40px;
  opacity: 0;
}

.hero-subtitle {
  font-size: 1.5rem;
  opacity: 0;
  margin-top: 10px;
}

/* Logo splitting and coming together */
@keyframes logoLeftMove {
  0% {margin-left: -100%; opacity: 0; }
  /* 25% {margin-left: -75%; opacity: 0.25; }
  50% { margin-left: -50%; opacity: 0.5; }
  75% { margin-left: -25%; opacity: 0.75; } */
  100% { margin-left: 16.64%; opacity: 1; } 
}

@keyframes logoRightMove {
  0% { margin-left: 150%; opacity: 0; }
  /* 25% { margin-left: 125%; opacity: 0.25; }
  50% { margin-left: 100%; opacity: 0.5; } 
  75% { margin-left: 75%; opacity: 0.75; } */
  100% { margin-left: 41.35%;opacity: 1; } 
}

#logo-left {
  animation: logoLeftMove 2s forwards ease-out;
}

#logo-right {
  animation: logoRightMove 2s forwards ease-out;
}

/* Show text after logo animation */
@keyframes textFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

#landing-text, #landing-subtitle {
  animation-name: textFadeIn;
  animation-duration: 2s;
  animation-delay: 2s;
  animation-fill-mode: forwards;
}

.section-one{
  background-color: var(--color1);
  color: #000000;
  padding: 80px 0;
}

.section-two{
  background-color: var(--color2);
  color: #000000;
  padding: 80px 0;
}

/* Style for the reference section */
#references {
  background-color: #2c3e50;  /* Dark background */
  color: #fff;
  padding: 60px 0;
}

#references h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #00aaff; /* Light blue for accent */
}

.reference-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateX(-100%);
  animation: referenceSlideIn 1s forwards ease-out;
}

.reference-text {
  width: 60%;
}

.reference-text h4 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #00aaff; /* Accent color */
}

.reference-text p {
  font-size: 1rem;
  line-height: 1.6;
}

.reference-image {
  width: 35%;
}

.reference-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Slide-in animation */
@keyframes referenceSlideIn {
  0% { opacity: 0; transform: translateX(-101%); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Add margin for subsequent items */
.reference-item + .reference-item {
  margin-top: 40px;
}

/* Media query for responsiveness */
@media (max-width: 768px) {
  .reference-item {
      flex-direction: column;
  }

  .reference-text, .reference-image {
      width: 100%;
      margin-bottom: 20px;
  }
}

/* Initial hidden state */
.reference-item {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 1s, transform 1s;
}

/* State when item is in the viewport */
.reference-item.show {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-carousel::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

.testimonial-carousel::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

@media (min-width: 768px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
      width: 200px;
  }
}

@media (min-width: 992px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
      width: 300px;
  }
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 350px;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transition: .5s;
  z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
  width: 300px;
  opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  color: var(--primary);
  font-size: 45px;
  transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
  width: 100px;
  height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
  position: absolute;
  bottom: -19px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
  margin-bottom: 30px;
  box-shadow: 0 0 45px rgba(0, 0, 0, .08);
  transform: scale(.8);
  transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  transform: scale(1);
}

.rounded-circle{
  width: 25px;
}

@keyframes mainLogoGlow {
  0% {
      filter: drop-shadow(0 0 40px var(--logoColor)) drop-shadow(0 0 80px #978afc);
  }
  100% {
      filter: none;
  }
}

#logo-landing{
  height: 100%;
  width: 100%;
  animation: mainLogoGlow 3.5s ease-out forwards;
}

