:root {
  --primary-color: #0a192f;
  --secondary-color: #112240;
  --accent-color: #f59e0b;
  --text-light: #ccd6f6;
  --text-dark: #8892b0;
  --white: #ffffff;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: #f8f9fa;
  overflow-x: hidden;
}

/* Navbar Glassmorphism */
.navbar-glass {
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.text-accent {
  color: var(--accent-color) !important;
}
.navbar-brand {
  font-weight: 700;
  color: var(--white) !important;
  font-size: 1.5rem;
}
.navbar-brand span {
  color: var(--accent-color);
}
.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: var(--accent-color) !important;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-carousel {
  height: 100vh;
  min-height: 600px;
}
.hero-carousel .carousel-item {
  height: 100vh;
  min-height: 600px;
}
.hero-carousel .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  filter: brightness(0.4);
}
.carousel-caption {
  bottom: 30%;
  z-index: 10;
  left: 5%;
  right: 5%;
  text-align: left;
}
.carousel-caption h1 {
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  animation: fadeInUp 1s ease;
}
.carousel-caption p {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 25px;
  animation: fadeInUp 1.2s ease;
}
@media (max-width: 767.98px) {
  .carousel-caption {
    bottom: 15%;
    left: 3%;
    right: 3%;
  }
  .carousel-caption h1 {
    font-size: 1.6rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }
  .carousel-caption p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  .btn-accent {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
}
.btn-accent {
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 5px;
  border: none;
  transition: all 0.3s ease;
  animation: fadeInUp 1.4s ease;
}
.btn-accent:hover {
  background-color: #d97706;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

/* Services Section */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
}
.section-title::after {
  content: '';
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  display: block;
  margin: 10px auto 0;
}
.service-card-dark {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  background-color: #0b1d3a;
  background-image: linear-gradient(135deg, #0b1d3a 0%, #050d18 100%);
  height: 100%;
}
.service-card-dark:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  border-bottom: 3px solid var(--accent-color);
}
.service-card-dark .card-body {
  padding: 25px;
}
.service-card-dark li {
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 5px;
}
.service-card-dark li:last-child {
  border-bottom: none;
}

/* Foundry Supplies Accordion */
.supplies-btn {
  background-color: #b05c0d !important;
  color: white !important;
  font-weight: bold;
  border-radius: 0 !important;
  padding: 15px 20px;
}
.supplies-btn:not(.collapsed) {
  background-color: #8c4808 !important;
  box-shadow: none;
}
.supplies-btn::after {
  filter: brightness(0) invert(1);
}
.supplies-body {
  background-color: #fff6eb;
  color: #333;
  border: 1px solid #f2e2ce;
  border-top: none;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.supplies-body li {
  margin-bottom: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.supplies-body li:hover {
  font-weight: bold;
  color: #8c4808;
  transform: translateX(5px);
}
.supplies-img-wrapper {
  overflow: hidden;
  height: 300px;
}
.supplies-img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.supplies-wrapper:hover .supplies-img {
  transform: scale(1.08);
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #d97706;
}

/* Testimonials */
.testimonials {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 50px 0 40px;
}
.testimonials .section-title {
  color: var(--white);
}
.testimonial-card {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  margin: 10px 20px 20px;
  position: relative;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.quote-icon {
  color: var(--accent-color);
  font-size: 2rem;
  position: absolute;
  top: -15px;
  left: 20px;
  opacity: 0.5;
}

.testimonial-inner {
  overflow: hidden !important;
}


/* Footer */
.footer {
  background-color: #050d18;
  color: var(--text-light);
  padding: 60px 0 20px;
}
.footer h5 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer .text-muted {
  color: var(--text-light) !important;
}
.footer-links a:hover {
  color: var(--accent-color);
}
.social-icons a {
  color: var(--white);
  background-color: rgba(255,255,255,0.1);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}
.social-icons a:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* WhatsApp Button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  background-color: #25D366;
  color: var(--white);
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 5px;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-whatsapp:hover {
  background-color: #1ebe5d;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* DigiShift Custom Link */
.digishift-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #ff8c00 100%);
  color: var(--primary-color) !important;
  text-decoration: none !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
  margin-top: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.digishift-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, #ff8c00 0%, var(--accent-color) 100%);
  color: var(--white) !important;
}

.digishift-badge:hover i {
  transform: rotate(15deg);
}

.digishift-badge i {
  margin-right: 8px;
  font-size: 0.9rem;
}

@keyframes badge-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

.digishift-badge {
  animation: badge-pulse 2s infinite;
}
