body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f8fafc;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar{
  position:fixed;
  top:0;
  width:100%;
  padding:20px 0;
  z-index:1000;
}

.container-nav{
  width:90%;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo-nav img{
  height:50px;
}

/* NAV LINKS */

.nav-links-nav{
  display:flex;
  align-items:center;
  gap:25px;
  background:#f5f5f5;
  padding:18px 40px;
  border-radius:40px;
}

.nav-links-nav a,
.dropbtn-nav{
  text-decoration:none;
  color:#64748b;
  font-size:15px;
  background:none;
  border:none;
  cursor:pointer;
}

.nav-links-nav a:hover,
.dropbtn-nav:hover{
  color:#0284c7;
}

/* MAIN DROPDOWN */

.dropdown-nav{
  position:relative;
}

.dropdown-content-nav{
  position:absolute;
  top:20px;
  left:0;

  width:260px;
  background:white;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);

  display:none;
  flex-direction:column;
  padding:10px 0;
}

.dropdown-nav:hover .dropdown-content-nav{
  display:flex;
}

/* MENU ITEM */

.menu-item{
  position:relative;
}

.menu-item > a{
  display:block;
  padding:10px 18px;
  color:#475569;
}

.menu-item > a:hover{
  background:#f1f5f9;
  color:#0284c7;
}

/* SUBMENU RIGHT SIDE */

.submenu{
  position:absolute;
  top:0;
  left:100%;

  width:260px;
  background:white;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);

  display:none;
  flex-direction:column;
  padding:10px 0;
}

/* SHOW SUBMENU */

.menu-item:hover .submenu{
  display:flex;
}

/* SUBMENU LINKS */

.submenu a{
  padding:10px 18px;
  color:#475569;
  font-size:14px;
}

.submenu a:hover{
  background:#f1f5f9;
  color:#0284c7;
}

/* BUTTON */

.btn-nav{
  padding:10px 20px;
  border-radius:30px;
  background:linear-gradient(to right,#0284c7,#2563eb);
  color:white;
  text-decoration:none;
  font-size:14px;
}

.btn-nav:hover{
  box-shadow:0 0 20px rgba(2,132,199,0.4);
}

/* MOBILE TOGGLE BUTTON */

.menu-toggle-nav{
  display:none;
  font-size:28px;
  cursor:pointer;
  color:#0284c7;

}


/* MOBILE RESPONSIVE */

@media(max-width:1024px){

  .menu-toggle-nav{
    display:block;
  }

  .nav-btn-nav{
    display:none;
  }
  
  .nav-links-nav{
    position:absolute;
    top:90px;
    left:0;
    width:100%;

    flex-direction:column;
    align-items:flex-start;

    background:white;
    padding:25px;

    border-radius:0;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);

    display:none;
  }

  /* show menu */

  .nav-links-nav.mobile-active-nav{
    display:flex;
  }

  /* show toggle */

  .menu-toggle-nav{
    display:block;
  }

  /* dropdown full width */

  .dropdown-content-nav{
    position:static;
    width:100%;
    box-shadow:none;
    display:none;
    padding-left:15px;
  }

  .dropdown-nav.active-nav .dropdown-content-nav{
    display:flex;
  }

  /* submenu mobile */

  .submenu{
    position:static;
    width:100%;
    box-shadow:none;
    display:none;
    padding-left:20px;
  }

  .menu-item.active-submenu .submenu{
    display:flex;
  }

  /* nav items full width */

  .nav-links-nav a,
  .dropbtn-nav{
    width:100%;
    padding:12px 0;
    text-align:left;
  }

}


/* ----------------------------------------- */

/* HERO */
.cert-hero {
  position: relative;
  height: 65vh;
  min-height: 500px;
  background: url("/DWI/Projects/VidaFinal/public/images/certificatebgimg.avif") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay-cert {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,23,42,0.7), rgba(15,23,42,0.6));
}

.hero-content-cert {
  position: relative;
  color: white;
  max-width: 800px;
  padding: 20px;
}

.badge-cert {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #38bdf8;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.cert-hero-cert h1 {
  font-size: 56px;
  margin: 0 0 20px;
}

.gradient-text-cert {
  background: linear-gradient(to right, #38bdf8, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cert-hero-cert p {
  color: #cbd5e1;
  font-size: 18px;
}

/* CAROUSEL */
.carousel-wrapper-cert {
  overflow: hidden;
  padding: 60px 0;
  position: relative;
}

.carousel-cert {
  display: flex;
  gap: 30px;
  animation: scroll 40s linear infinite;
}

/* CARD */
.card-cert {
  width: 320px;
  height: 240px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  cursor: pointer;
}

.card-cert img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

/* Shine effect */
.card-cert::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );
  transform: skewX(-20deg);
}

.card-cert:hover::before {
  animation: shine 1s forwards;
}

/* Hover overlay */
.card-overlay-cert {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.85);
  color: white;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
  text-align: center;
  padding: 20px;
}

.card-cert:hover .card-overlay-cert {
  opacity: 1;
}

.card-overlay-cert h4 {
  margin: 10px 0 5px;
}

.card-overlay-cert p {
  font-size: 12px;
  color: #38bdf8;
  letter-spacing: 2px;
}

/* Animations */
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes shine {
  100% { left: 150%; }
}

/* ---------------------------------- */
.footer{
  position:relative;
  background:#020617;
  color:#94a3b8;
  padding:100px 20px 40px;
  overflow:hidden;
  background:#0f172a;

}

/* Top Scan Border */
.scan-border{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:1px;
  background:#1e293b;
  overflow:hidden;
}
.scan-border::after{
  content:"";
  position:absolute;
  top:0;
  width:120px;
  height:2px;
  background:linear-gradient(to right,transparent,#0ea5e9,transparent);
  animation:scan 4s linear infinite;
}
@keyframes scan{
  from{left:-10%;}
  to{left:110%;}
}

/* Background Glow */
.footer::before{
  content:"";
  position:absolute;
  top:-200px;
  right:-200px;
  width:500px;
  height:500px;
  background:rgba(14,165,233,0.08);
  filter:blur(120px);
  border-radius:50%;
}

/* Layout */
.container1{
  max-width:1200px;
  margin:auto;
  position:relative;
  z-index:1;
}

.grid1{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:50px;
  margin-bottom:60px;
}

/* Headings */
.footer h3{
  color:white;
  margin-bottom:20px;
}

/* Links */
.footer a{
  text-decoration:none;
  color:#94a3b8;
  transition:0.3s;
}
.footer a:hover{
  color:#0ea5e9;
  transform:translateX(4px);
}

/* List */
.footer ul{
  list-style:none;
  padding:0;
  margin:0;
}
.footer ul li{
  margin-bottom:12px;
  font-size:14px;
}

/* Status Badge */
.status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#0f172a;
  border:1px solid #1e293b;
  padding:6px 12px;
  border-radius:20px;
  margin-top:20px;
  font-size:12px;
  color:#10b981;
}
.dot{
  width:8px;
  height:8px;
  background:#10b981;
  border-radius:50%;
  position:relative;
}
.dot::after{
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  border-radius:50%;
  background:#10b981;
  animation:pulse 1.5s infinite;
}
@keyframes pulse{
  0%{transform:scale(1);opacity:0.6;}
  100%{transform:scale(2);opacity:0;}
}

/* Bottom Bar */
.bottom{
  border-top:1px solid #0f172a;
  padding-top:20px;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  font-size:13px;
  color:#64748b;
}

.socials{
  display:flex;
  gap:15px;
}
.socials a{
  background:#0f172a;
  padding:10px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.socials a:hover{
  background:#0ea5e9;
  color:white;
}

/* Scroll Animation */
.fade-up{
  opacity:0;
  transform:translateY(30px);
  transition:0.8s ease;
}
.fade-up.show{
  opacity:1;
  transform:translateY(0);
}

/* -------------------------- */
/* -------------------------- */

/* Scroll To Top Button */

#scrollTopBtn{
  position:fixed;
  bottom:30px;
  right:30px;
  width:50px;
  height:50px;
  border:none;
  border-radius:50%;
  background:#0ea5e9;
  color:white;
  font-size:22px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 25px rgba(0,0,0,0.2);
  opacity:0;
  visibility:hidden;
  transform:translateY(20px);
  transition:all .3s ease;
  z-index:999;
}

/* Show button */

#scrollTopBtn.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* Hover */

#scrollTopBtn:hover{
  background:#0284c7;
  transform:translateY(-3px);
}

/* =========================================
   DYNAMIC BREADCRUMBS CSS
========================================= */
.breadcrumb-wrapper {
    width: 90%;
    margin: 120px auto 20px; /* 120px top margin clears a fixed navbar */
    padding: 15px 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

#dynamic-breadcrumbs ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    margin: 0;
    padding: 0;
}

#dynamic-breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

#dynamic-breadcrumbs a {
    text-decoration: none;
    color: #0284c7;
    transition: color 0.2s ease;
}

#dynamic-breadcrumbs a:hover {
    color: #1e40af;
    text-decoration: underline;
}

#dynamic-breadcrumbs .separator {
    color: #cbd5e1;
    margin: 0 4px;
}

#dynamic-breadcrumbs .active {
    color: #334155;
    font-weight: 600;
}

/* Mobile Adjustments */
@media(max-width: 1024px) {
    .breadcrumb-wrapper {
        margin-top: 100px; 
    }
}

        /* Circular container styling */
        .whatsapp-float {
            position: fixed;
            bottom: 100px;
            right: 20px;
            background-color: #25d366;
            width: 60px;  /* Set a fixed width */
            height: 60px; /* Set a fixed height equal to width */
            border-radius: 50%; /* This makes it a perfect circle */
            display: flex;
            align-items: center;
            justify-content: center; /* Centers the icon perfectly */
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            transition: transform 0.3s ease, background-color 0.3s ease;
        }

        /* Icon size inside the circle */
        .whatsapp-icon {
            width: 35px;
            height: 35px;
        }

        /* Hover effect */
        .whatsapp-float:hover {
            background-color: #128c7e;
            transform: translateY(-5px);
        }

        /* Slightly smaller circle on mobile screens */
        @media screen and (max-width: 480px) {
            .whatsapp-float {
                width: 50px;
                height: 50px;
                bottom: 15px;
                right: 15px;
            }
            .whatsapp-icon {
                width: 30px;
                height: 30px;
            }
        }