/* Sly Pig Digital Custom Styles */

/* General Styles */
  body {
    font-family: 'Work Sans';
    color: #333;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: "Abril Fatface", Sans-serif;
  }

  @font-face {
    font-family: "Abril Fatface";
    src: url("fonts/AbrilFatface-Regular.ttf");
    font-family: "Work Sans";
    src: url("fonts/WorkSans-VariableFont_wght.ttf");
  }

    /* Responsive Typography */
    /* @media (max-width: 768px) {
      h1 {
        font-size: 2.5rem;
      }
    } */

  /* Navigation Styles */
  .navbar-brand {
    font-weight: bold;
  }
  .navbar-collapse {
    display: flex;
    justify-content: center;
  }

  .navbar-nav .nav-link:hover {
    color:  #FFC40C;
  }

  .navbar-nav .nav-link.active {
    color:  #FFC40C;
  }

  /* Custom Styles for Animation */
  .navbar-nav .nav-link {
    position: relative;
    overflow: hidden;
  }

  .navbar-nav .nav-link.active::before,
  .navbar-nav .nav-link.active::after {
    content: "";
    display: block;
    width: 100%;
    height:2px;
    background-color: #ED604C;
    position: absolute;
  }

  .navbar-nav .nav-link.active::before {
    top: 0; /* Line above */
  }

  .navbar-nav .nav-link.active::after {
    bottom: 0; /* Line below */
  }

  .navbar-nav .nav-link::before,
  .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%; /* Start with the line not visible */
    height: 2px; /* Thickness of the line */
    background: #ED604C; /* Color of the line */
    transition: right 0.3s ease; /* Smooth transition for animation */
  }

  .navbar-nav .nav-link::before {
    top: 0; /* Line above */
  }

  .navbar-nav .nav-link::after {
    bottom: 0; /* Line below */
  }

  .navbar-nav .nav-link:hover::before,
  .navbar-nav .nav-link:hover::after {
    right: 0; /* Full line on hover */
  }
  
  /* Hero Section Styles */
  .jumbotron {
    position: relative;
    background: url('media/analytics.webp') no-repeat center center;
    background-size: cover;
    background-position: 50% 25%;
    color: white;
  }
  
  .jumbotron::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(36, 36, 36, 0.85);
    z-index: 0;
  }
  
  /* Ensure content is above the overlay */
  .jumbotron .container {
    position: relative;
    z-index: 1;
  }
  

  /* About Page Hero */
  .about-hero {
    position: relative;
    background: url('media/road.webp') no-repeat center center;
    background-size: cover;
    background-position: 50% 75%;
    color: rgb(255, 255, 255);
    z-index: 0;
  }
  
  .about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(36, 36, 36, 0.75);
    z-index: -1;
  }
  /* Services hero */
  .services-hero {
    position: relative;
    background: url('media/abstract.webp') no-repeat center center;
    background-size: cover;
    background-position: 0% 0%;
    color: rgb(255, 255, 255);
    z-index: 0;
  }
  
  .services-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(36, 36, 36, 0.5);
    z-index: -1;
  }
  /* Animation Classes */
    @keyframes fadeInLeft {
        from {
            opacity: 0;
            transform: translateX(-50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes fadeInRight {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .animate {
      opacity: 0;
    }
    .start-left {
        animation: fadeInLeft 1s ease-out forwards;
    }

    .start-right {
        animation: fadeInRight 1s ease-out forwards;
    }


  /* Modify Utility Classes */
  .bg-dark {
    background-color: #343a40 !important;
  }
  
  .text-white {
    color: white !important;
  }
  
  .bg-light {
    background-color: #f8f9fa !important;
  }
  
  .btn-primary {
    background-color: #ED604C;
    border-color: #ED604C;
  }
  
  .btn-primary:hover {
    background-color: #e6b507;
    border-color: #d4a306;
  }

  .accordion-button {
    background-color: #ED604C;
    font-size: 2rem;
  }

  .accordion-button:not(.collapsed) {
    background-color: #ED604C; /* Active color */
    color: #333;
}

  /* Social Icons */
  .social-links {
    text-align: left;
  }

  .social-links a {
    margin: 0 10px;
    color: #333;
    font-size: 50px;
  }

  .social-links a:hover {
    color: #ED604C;
  }
  
  /* Footer Styles */
  footer {
    background-color: #343a40;
    color: #fff;
    padding: 1rem 0;
  }
  