html {
    scroll-behavior: smooth;
  }

body {
    background-color: #20374c;
}


/* -------------------------------------------------
   SKARN logo
   ------------------------------------------------- */
.navbar-brand-logo {
  height: 18px;
  width: auto;
}

.footer-brand-logo {
  height: 32px;
  width: auto;
}

/* -------------------------------------------------
   transparent textures
   ------------------------------------------------- */
.textured-section-buried {
  background-image: url("../img/buried.png");
  background-repeat: repeat;
  background-size: auto;
}

.textured-section-egg-shell {
  background-image: url("../img/egg-shell.png");
  background-repeat: repeat;
  background-size: auto;
}

.textured-section-use-your-illusion {
  background-image: url("../img/use-your-illusion.png");
  background-repeat: repeat;
  background-size: auto;
}

.textured-section-rocky-wall {
  background-image: url("../img/rocky-wall.png");
  background-repeat: repeat;
  background-size: auto;
}


/* -------------------------------------------------
   footer link effects
   ------------------------------------------------- */
footer a.text-white {
  transition: color 0.2s ease-in-out;
}

footer a.text-white:hover {
  color: #adb5bd !important;
  text-decoration: underline;
}

/* -------------------------------------------------
   line under heading 
   ------------------------------------------------- */
.heading-rule {
  width: 3rem;
  height: 2px;
  background-color: #ebebeb;
}

.heading-rule-longer {
  width: 6rem;
  height: 2px;
  background-color: #ebebeb;
}

.bg-home {
  width: 100%;
  background-image: url(../img/bg-home.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 80vh;
}

.bg-about {
  width: 100%;
  background-image: url(../img/about.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 60vh;
}

.bg-contact {
  width: 100%;
  background-image: url(../img/contact.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 60vh;
}

.bg-services {
  width: 100%;
  background-image: url(../img/services.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 60vh;
}

.bg-services {
  width: 100%;
  background-image: url(../img/services.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 60vh;
}

.bg-services-a {
  background-image: url('../img/contact.jpg'); 
  background-size: cover; 
  background-position: center; 
  min-height: 350px;
}
.bg-services-b {
  background-image: url('../img/L_1a.jpg'); 
  background-size: cover; 
  background-position: center; 
  min-height: 350px;
}

.py-6 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.py-7 {
  padding-top: 7rem !important;
  padding-bottom: 7rem !important;
}

.py-8 {
  padding-top: 8rem !important;
  padding-bottom: 8rem !important;
}

.container-svg {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 64px;
  width: 64px;
}

/* Optional: make sure images cover entire slide without distortion */
.carousel-item img {
  height: 60vh;
  /* Optional: full viewport height */
  object-fit: cover;
}

.readable-text {
  padding: 0.2em 0.4em;
  background-color: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
  color: white;
  border-radius: 3px; /* Optional: rounded corners */
  display: inline-block;
}

/* Center carousel text */
/* .carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  text-align: center;
  left: 0;
  right: 0;
  width: 100%;
} */

/* -------------------------------------------------
   Hover underline animation for navigation links
   ------------------------------------------------- */
.underline-hover {
  position: relative;
}

/* underline */
.underline-hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.25s ease;
}

/* hover underline */
.underline-hover:hover::after {
  width: 100%;
}

/* active page underline (persistent) */
.underline-hover.active::after {
  width: 100%;
}

/* optional active emphasis */
.navbar .nav-link.active {
  font-weight: 600;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.image-strip {
  width: 100%;
  height: 5vh;              /* screen height */
  overflow: hidden;
  display: flex;           /* hide overflow */
  align-items: center;
}

.scrolling-track {
  display: flex;
  gap: 4rem;                 /* spacing between images */
  animation: scroll-left 30s linear infinite;
  align-items: center;
  height: 100%;     
  flex-shrink: 0;         
}

.scrolling-track img {
  height: 100%;
  width: auto;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;  
}

/* keyframes to scroll left */
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* adjust to half track width */
}

/* Service container styling */
.service-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth hover effects */
}

/* Hover effect */
.service-container:hover {
    transform: translateY(-5px);      /* subtle lift on hover */
}


/* -------------------------------------------------
   Slide in effect for titles
   ------------------------------------------------- */
.slide-in-effect {
  opacity: 0;
  transform: translateY(20px);
  animation: slideIn 2s ease forwards;
}

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







