body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
  }

  /* Headings & Navigation */
h1, h2, h3, h4, h5, h6,
.nav-link-custom {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.nav-link-custom {
  color: #333 !important;
  font-weight: 500;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 6px;
}
  

  .nav-link-custom:hover {
    color: #0d6efd !important;
    background-color: rgba(13,110,253,0.08); /* soft blue highlight */
  }
  
  .nav-link-custom.active {
    color: #0d6efd !important;
    font-weight: 600;
    border-bottom: 2px solid #0d6efd;
  }
  
/* About Us Featured Section with Background Image */
.about-featured {
  background: url('../Image/factory_gallery/ragama_branch.png') no-repeat center center/cover;
  position: relative;
}

/* Overlay effect for readability */
.about-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6); /* dark overlay */
  z-index: 0;
}

.featured-card {
  position: relative;
  z-index: 1; /* ensures text is above overlay */
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(4px); /* subtle blur for premium look */
  background: rgba(255,255,255,0.05); /* transparent card background */
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.4);
}

.featured-card h2 {
  font-size: 2rem;
  letter-spacing: 1px;
  position: relative;
}
.featured-card h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #0d6efd;
  margin: 10px auto 0;
  border-radius: 2px;
}
  
  /* Animations */
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Timeline Base */
  .timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
  }
  .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(#0d6efd, #6610f2);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    animation: pulseLine 4s infinite alternate;
  }
  @keyframes pulseLine {
    from { opacity: 0.6; }
    to { opacity: 1; }
  }
  .timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
  }
  .timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
  }
  .timeline-item.left { left: 0; }
  .timeline-item.right { left: 50%; }
  
  /* Timeline Content */
  .timeline-content {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  }
  
  /* Timeline Images */
  .timeline-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid transparent;
    background-image: linear-gradient(white, white),
                      linear-gradient(45deg, #0d6efd, #6610f2);
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  .timeline-content:hover .timeline-img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(13,110,253,0.4);
  }
  
  /* Timeline Dots */
  .timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #0d6efd 40%, #6610f2 100%);
    border-radius: 50%;
    top: 20px;
    box-shadow: 0 0 10px rgba(13,110,253,0.6);
    animation: pulseDot 2s infinite;
  }
  .timeline-item.left::before { right: -10px; }
  .timeline-item.right::before { left: -10px; }
  @keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
  }
  
  /* Cards (Mission, Directors, Counters) */
  .about-card, .director-card, .counter-box {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .about-card:hover, .director-card:hover, .counter-box:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  }
  
  /* Director Images */
.director-img {
  width: 150px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover effect on image */
.director-card:hover .director-img {
  transform: rotate(5deg) scale(1.12);
  box-shadow: 0 0 25px rgba(13,110,253,0.3);
}

/* Card hover scale */
.hover-scale {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* Fade-in upward animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
  
  /* Counter Numbers */
  .counter-box h2 {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 10px;
    transition: color 0.3s ease;
  }
  .counter-box:hover h2 {
    color: #6610f2;
  }
  
  /* Animations */
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }



  /* Fade-in upward animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Hover scale effect */
.hover-scale {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
/* Hub styling */
.hub {
  fill: #ffc107;
  stroke: #ff9800;
  stroke-width: 3;
  filter: drop-shadow(0 0 10px rgba(255,193,7,0.6));
  animation: pulseHub 2s infinite;
}
.hub-label {
  font-size: 14px;
  font-weight: bold;
  fill: #333;
}

/* Node styling */
.node {
  fill: #0d6efd;
  stroke: #004085;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(13,110,253,0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.node:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(102,16,242,0.6));
  cursor: pointer;
}
.node-label {
  font-size: 12px;
  font-weight: 600;
  fill: #444;
}

/* Connection lines */
.connection {
  stroke: #0d6efd;
  stroke-width: 2;
  stroke-dasharray: 6;
  animation: dashmove 3s linear infinite;
  opacity: 0.8;
}

/* Animations */
@keyframes dashmove {
  to { stroke-dashoffset: -12; }
}
@keyframes pulseHub {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

  /* Responsive Adjustments */
@media (max-width: 768px) {
    .about-hero { height: 40vh; }
    .timeline::after { left: 20px; }
    .timeline-item {
      width: 100%;
      padding-left: 60px;
      padding-right: 25px;
    }
    .timeline-item.right { left: 0; }
    .timeline-img { width: 80px; height: 80px; }
    .director-img { width: 120px; height: 120px; }
  }
  @media (max-width: 576px) {
    .hero-overlay h1 { font-size: 2rem; }
    .hero-overlay p { font-size: 1rem; }
    .counter-box h2 { font-size: 2rem; }
  }
  .round-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
  }
  
  .round-track {
    display: flex;
    gap: 40px;
    animation: scrollSquare 40s linear infinite;
  }
  
  .round-item {
    flex: 0 0 auto;
    position: relative;
    animation: floatWave 6s ease-in-out infinite;
  }
  
  .round-item:nth-child(odd) {
    animation-delay: 2s;
  }
  .round-item:nth-child(even) {
    animation-delay: 4s;
  }
  
  .round-item img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px; /* square with slightly rounded corners */
    transition: transform 0.6s ease, box-shadow 0.6s ease, filter 0.6s ease;
  }
  
  /* Hover effect: zoom + tilt + glow */
  .round-item img:hover {
    transform: scale(1.15) rotateY(8deg) rotateX(4deg);
    box-shadow: 0 0 30px rgba(13, 110, 253, 0.4);
    filter: brightness(1.1) saturate(1.2);
  }
  
  /* Continuous scrolling */
  @keyframes scrollSquare {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  
  /* Floating wave effect */
  @keyframes floatWave {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
  }
  * Footer Styling */
.footer {
  background: #111;
  color: #eee;
}

/* Footer Logo Styling */
.footer-logo {
  width: 100px;        /* adjust size */
  height: 100px;       /* make it square for perfect circle */
  object-fit: cover;   /* crop nicely inside circle */
  border-radius: 50%;  /* makes it round */
  box-shadow: 0 0 12px rgba(0,0,0,0.2); /* subtle glow */
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-link {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #0d6efd;
}

/* Social Icons */
.social-icon {
  font-size: 1.4rem;
  margin: 0 8px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
}

/* Individual Colors */
.social-icon.whatsapp { color: #25D366; }
.social-icon.facebook { color: #1877f2; }
.social-icon.tiktok { color: #000; }
.social-icon.instagram { color: #e1306c; }
.social-icon.linkedin { color: #0a66c2; }

.social-icon.whatsapp:hover { color: #1ebe5d; }
.social-icon.facebook:hover { color: #0a58ca; }
.social-icon.tiktok:hover { color: #444; }
.social-icon.instagram:hover { color: #c13584; }
.social-icon.linkedin:hover { color: #004182; }

.footer-link {
  color: #ccc;
  text-decoration: none;
}

.footer-link:hover {
  color: #0d6efd;
}

.small.text-muted {
  color: #aaa !important; /* ensure visibility */
  font-size: 0.9rem;
}

/* Footer Credit Styling */
.footer-credit {
  color: #aaa;
  font-size: 0.85rem;
  margin-top: 8px;
}

.jvdev {
  font-family: 'Poppins', sans-serif; /* modern font */
  font-weight: 600;
  color: #0d6efd; /* primary blue */
  letter-spacing: 1px;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.jvdev:hover {
  color: #ffd700; /* gold accent on hover */
  text-shadow: 0 0 10px rgba(255,215,0,0.6);
  transform: scale(1.05);
  cursor: pointer;
}



/* Footer Credit Styling */
.footer-credit {
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 8px;
}

/* JV Developers Mark */
.jvdev-mark {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #0d6efd; /* primary blue */
  letter-spacing: 1px;
  padding: 4px 10px;
  border: 2px solid #0d6efd;
  border-radius: 20px; /* pill shape badge */
  background: rgba(13,110,253,0.1);
  transition: all 0.3s ease;
}

/* Highlight Developers word */
.dev-highlight {
  color: #ffd700; /* gold accent */
}

/* Hover Effect */
.jvdev-mark:hover {
  background: rgba(13,110,253,0.2);
  color: #ffd700;
  border-color: #ffd700;
  text-shadow: 0 0 10px rgba(255,215,0,0.6);
  transform: scale(1.05);
  cursor: pointer;
}

/* Footer Credit Styling */
.footer-credit {
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 8px;
}

/* JVDevelopers Logo */
.jvdev-logo img.jv-logo {
  width: 100px;
  height: auto;
  border-radius: 100%; /* makes it round */
  box-shadow: 0 0 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.jvdev-logo img.jv-logo:hover {
  transform: scale(1.05);
}