/* Global Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

/* Hero Carousel Styles */
.hero-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 75vh;
  position: relative;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 30, 0.7);
}

.min-vh-75 {
  min-height: 75vh;
}

/* Navigation Styles */
.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #0d6efd !important;
}

/* Active navigation styles */
.navbar-nav .nav-link.active {
  font-weight: 600;
  position: relative;
}

.navbar-nav .nav-link.active:after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0d6efd;
}

/* Button Styles */
.btn {
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.btn-outline-light:hover {
  color: #0d6efd;
  background-color: #fff;
}

.btn.active {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-danger.active {
  box-shadow: 0 0 0 0.25rem rgba(226, 41, 41, 0.25);
}

/* Section Styles */
section {
  padding: 5rem 0;
}

section h2 {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Footer Styles */
footer {
  background-color: #121826;
}

footer h5 {
  font-weight: 600;
  margin-bottom: 1.25rem;
}

footer .text-muted {
  color: #adb5bd !important;
}

footer a.text-muted:hover {
  color: #fff !important;
  text-decoration: none !important;
}

footer a {
  text-decoration: none;
}

/* Social Media Icons in the Footer */

/* Social Media Icons Styling */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white; /* Default icon color */
    transition: all 0.3s ease;
    filter: grayscale(0%); /* Start with full color */
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    filter: grayscale(100%); /* Turn monochrome on hover */
}

/* Specific background colors for each social icon */
.social-icon.facebook {
    background-color: #3b5998;
}

.social-icon.twitter {
    background-color: #1da1f2;
}

.social-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-icon.linkedin {
    background-color: #0077b5;
}

.social-icon.youtube {
    background-color: #FF0000; /* YouTube red */
}

.social-icon.snapchat {
    background-color: #FFFC00; /* Snapchat yellow */
    color: #333; /* Adjust icon color for better contrast on yellow */
}

.social-icon.tiktok {
    background-color: #000; /* TikTok black */
}

.social-icon i {
    font-size: 16px;
}


/* Databricks Tabs Styles */
#databricksTabs .nav-link {
  color: #495057;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  padding: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

#databricksTabs .nav-link.active {
  color: #0d6efd;
  background-color: #fff;
  border-bottom-color: #fff;
}

#databricksTabs .nav-link:hover:not(.active) {
  background-color: #e9ecef;
}

.tab-content {
  padding: 2rem 0;
}

.tab-pane h3 {
  color: #212529;
  font-weight: 700;
}

.tab-pane .rounded-circle {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-pane .fas.fa-check {
  font-size: 14px;
}

/* Contact Page Styles */
.contact-image-container {
  height: 100%;
  min-height: 400px;
}

.contact-image {
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  position: relative;
}

.contact-image .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  padding: 2rem;
}

.email-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Location Cards Styles */
.locations-section {
  background-color: #f8f9fa;
}

.location-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.location-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.location-image-container {
  overflow: hidden;
  height: 200px;
}

.location-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.location-card:hover .location-image {
  transform: scale(1.1);
}

.location-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.location-link:hover .location-icon {
  background-color: #0d6efd;
  transform: scale(1.1);
}

.location-link:hover .location-icon i {
  color: white;
}

.location-card .card-body {
  position: relative;
}

/* Add this to your existing CSS file */

/* Legal Pages Styles */
.toc-list a {
  color: #495057;
  transition: color 0.3s ease;
}

.toc-list a:hover {
  color: #0d6efd;
}

.toc-list a.active {
  color: #0d6efd;
  font-weight: 500;
}

/* Make the sidebar sticky */
.position-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
}

/* Add smooth scrolling to the whole page */
html {
  scroll-behavior: smooth;
}

/* Add padding to sections to account for fixed header */
section[id] {
  scroll-margin-top: 100px;
}

/* Add these styles to your existing CSS file */

/* Demos Section Styles */
.demos-section {
  position: relative;
}

.demo-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.demo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.demo-image-container {
  height: 200px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.demo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.demo-card:hover .demo-image {
  transform: scale(1.1);
}

.demo-card .card-body {
  background: rgba(0, 0, 30, 0.7);
  border-radius: 0 0 10px 10px;
}

.demo-card .btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
  transition: all 0.3s ease;
}

.demo-card .btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
  transform: scale(1.05);
}

.demos-section .btn-outline-light {
  border-width: 2px;
  font-weight: 500;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}

.demos-section .btn-outline-light:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Solutions Section Styles */
.solutions-section {
  position: relative;
}

.solution-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.solution-image-container {
  height: 220px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.solution-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.solution-card:hover .solution-image {
  transform: scale(1.1);
}

.solution-card .card-body {
  background: rgba(0, 0, 30, 0.7);
  border-radius: 0 0 10px 10px;
  padding: 1.5rem;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0d6efd;
  font-weight: bold;
}

.solution-card .btn-outline-light {
  border-width: 2px;
  transition: all 0.3s ease;
}

.solution-card .btn-outline-light:hover {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.1);
}

/* solutions page */

.hero-section {
  padding: 100px 0;
  position: relative;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.bg-light {
  background-color: #f8f9fa !important;
}

.text-primary {
  color: #0d6efd !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.min-vh-75 {
  min-height: 75vh;
}

/* about us page */

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.bg-light {
  background-color: #f8f9fa !important;
}

.text-primary {
  color: #0d6efd !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.min-vh-50 {
  min-height: 50vh;
}



/* Add these styles to the end of your CSS file */

/* Active navigation styles */
.navbar .nav-link.active {
  font-weight: 600;
  position: relative;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0.5rem;
  right: 0.5rem;
  height: 2px;
  background-color: currentColor;
}

/* Active button styles */
.navbar .btn.active {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.navbar .btn-danger.active {
  box-shadow: 0 0 0 0.2rem rgba(226, 41, 41, 0.25);
}

/* Add these styles to your existing CSS file */

/* Feature Icon Styles */
.feature-icon-wrapper {
  position: relative;
  display: inline-block;
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.feature-line {
  position: absolute;
  height: 3px;
  width: 50px;
  bottom: 35px;
  left: 60px;
  z-index: 1;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.4s ease;
}

.hover-card {
  overflow: visible;
  transition: all 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.hover-card:hover .feature-icon {
  background-color: rgba(13, 110, 253, 0.2) !important;
  transform: scale(1.1);
}

.hover-card:hover .feature-line {
  opacity: 1;
  transform: scaleX(1);
}

/* Badge Styles */
.badge {
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* List Item Styles */
.list-unstyled li {
  padding: 0.5rem 0;
}

.list-unstyled .fas.fa-check-circle {
  font-size: 1rem;
}

/* Button Hover Effect */
.btn-outline-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
  transition: all 0.3s ease;
}

/* Section Heading Styles */
.display-5 {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Add animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeInUp 0.6s ease-out forwards;
}

.card:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3) {
  animation-delay: 0.4s;
}
