/* Navbar style */
.navbar {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px); 
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
}

/* Custom text style */
.neuro-text {
  color: #DAA521;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid black;
  width: 0;
  animation: typing 4s steps(40, end) forwards, blink-caret 0.75s step-end infinite; 
  animation-timing-function: ease-out;
}

/* Smooth typing effect for the text */
.neuro-text.typing-done {
  border-right: none;
  transition: border-right 0.5s ease-out;
}

/* WhatsApp buttons */
.whatsapp-a,
.whatsapp-b {
  border: 2px solid #000 !important;
}

.whatsapp-a {
  background-color: #3E88CC !important;
}

.whatsapp-a:hover {
  background-color: #28a745 !important; 
  color: #000 !important;
  border-color: #000 !important;
}

.whatsapp-b {
  background-color: #e0bb5d !important;
  color: #000 !important;
}

.whatsapp-b:hover {
  background-color: #28a745 !important;
  color: #fff !important;
  border-color: #000 !important;
}

/* Navigation links */
.nav-link {
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.instagram::after {
  content: none;
}

.instagram:hover {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  color: transparent; 
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px); 
  }
  to {
    opacity: 1;
    transform: translateY(0); 
  }
}

/* Animation for the hero container */
.hero-background {
  animation: fadeIn 1.5s ease-out;
}

/* Styles for titles in the Hero section */
h1.hero-title,
h2.hero-subtitle,
h3.hero-sub-subtitle {
  font-family: "Merriweather", sans-serif;
  color: #3B3B3B;
}

h1.hero-title {
  font-size: 45px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0);
}

h2.hero-subtitle {
  font-weight: 300;
}

h3.hero-sub-subtitle {
  font-weight: 300;
  font-size: 20px;
}

/* Styles for paragraphs in the Hero section */
p.lead {
  font-family: "Merriweather", sans-serif;
  text-align: justify;
  color: #3B3B3B;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 1px;
}

p {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.5px;
  color: #333333;
  text-decoration: none;
}

/* Style for the image in the "About" section */
.img-about {
  width: 100%;
  max-width: 300px;
}

/* Style for the text in the "About" section */
.about-description,
.mv-text {
  text-align: justify;
}

/* Style for service cards */
.card-service {
  cursor: pointer;
}

/* Style for images in service cards */
.img-service {
  height: 225px;
  object-fit: cover;
  opacity: 0.8;
  filter: grayscale(20%);
  transition: all 0.3s;
}

/* Style for titles in service cards */
.service-title {
  transition: all 0.3s;
}

/* Style for modal content */
.modal-content-custom {
  padding: 1rem;
  text-align: justify;
}

/* Style for contact images */
.contact-img-neurosul {
  width: 250px;
  height: auto;
}

.contact-img-cardiof {
  width: 200px;
  height: auto;
}

/* Style for map frames */
.map-frame {
  border: 0;
}

/* Style for descriptive text */
.description-hero {
  font-weight: 600;
  color: #333333;
}

/* Style for lists */
li {
  font-family: "Roboto", sans-serif;
  color: #333333;
  font-size: 16px;
  line-height: 2.5;
}

/* Style for accordion buttons */
.accordion-button {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 18px !important;
}

/* Style for modal body */
.modal-body {
  font-family: "Roboto", sans-serif;
  text-align: justify;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

#service {
  position: relative;
  padding: 20px;
  width: 100%;
  background: 
  linear-gradient(to bottom right, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2)),
  linear-gradient(to bottom, #f0f0f0, #e0f7ff);

  backdrop-filter: blur(8px);
}

/* Style for h5 and h6 titles */
h5,
h6 {
  font-family: "Roboto", sans-serif !important;
  font-weight: 600 !important;
}

h5 {
  font-size: 24px !important;
  color: #DAA521 !important;
}

h6 {
  font-size: 20px !important;
  color: #3E88CC !important;
}

/* Style for the objective text */
.objective {
  font-size: 20px;
  font-weight: 600;
  color: #DAA521;
}

/* Global styles for body and html */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Remove underline from tab buttons */
.nav-tabs {
  border-bottom: none !important;
}

#contactTab .nav-link {
  color: white;
  background-color: #20c997;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none; 
  border-radius: 10px; 
}

#contactTab .nav-link:not(.active) {
  background-color: #e4b69a; 
  border-radius: 10px; 
}

#contactTab .nav-link:hover {
  background-color: #6c757d; 
  color: white; 
  border-radius: 10px; 
}

#contactTab .nav-item {
  margin-right: 10px;
}

.icon-whatsapp {
  font-size: 35px !important;
  color: #25D366;
}


/* Footer style */
.footer {
  background: linear-gradient(135deg, #1a1f71, #243b6b, #1c4966);
  width: 100%;
  min-height: 80px;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  font-size: 15px;
}

/* Footer container style */
.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Footer copyright text style */
.copyright-text {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0;
  margin-right: 10px;
}

/* Footer image style */
.footer-image {
  max-width: 35px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}

/* Particle background style */
#particles-js {
  position: absolute;
  width: 100%;
  height: 85%;
  background: linear-gradient(to bottom, white, #d5e3f5, #d5e3f5, #d5e3f5, white);
  z-index: -1;
  top: 1;
  bottom: 50px;
}

/* Typing text animation */
@keyframes typing {
  0% { width: 0; }
  100% { width: 100%; }
}

/* Blinking caret animation */
@keyframes blink-caret {
  0%, 100% { border-color: transparent; }
  50% { border-color: black; }
}

/* Custom square icon style */
.icon-square-custom {
  background-color: #3E8BCC;
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

/* Custom icon style */
.custom-icon {
  color: #ffffff;
}

/* Heading color style */
.feature.col .heading-color {
  color: #DAA521 !important; 
  font-weight: 600;
}

/* Responsive styles for various screen sizes */
@media (max-width: 992px) { 
  .navbar {
    background-color: #fff;
    border-radius: 10px;
  }
  .navbar-nav {
    text-align: center;
    width: 100%;
  }
  .navbar-nav .nav-item {
    display: inline-block;
  }
  .instagram-link i {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 25px !important;
  }
}

@media (max-width: 768px) {
  #particles-js {
    height: 65%;
    top: 0;
    bottom: 0;
  }
  .company-logo {
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .nav-item {
    flex: 0 1 auto;
  }
  .nav-tabs {
    display: flex;
    justify-content: center;
    gap: 5px;
  }
  .text-center-mobile,
  h1.hero-title,
  h2.hero-subtitle,
  h3.hero-sub-subtitle,
  p.lead {
    text-align: center;
  }
  h1.hero-title {
    font-size: 25px;
  }
  h2.hero-subtitle {
    font-size: 20px;
  }
  h3.hero-sub-subtitle {
    font-size: 16px;
  }
  .custom-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .feature {
    text-align: center;
  }
  .border-bottom {
    text-align: center;
  }
}
