* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #FFFFFF;
    font-family: 'Inter', 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* Certifications Page Wrapper */
.cert-page {
    width: 100%;
}
.title-span {
    color: rgb(0, 132, 255);
}


/* ========== 1. HERO SECTION ========== */
.hero-cert {
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 480px;
    background: url('../img/certi-hero.jpg') center center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    isolation: isolate;
}
.hero-cert::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.88) 0%, rgba(2, 15, 35, 0.85) 100%);
    z-index: 1;
}
.hero-bg-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/certi-hero.jpg');
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.05);
    transition: transform 8s ease-out;
    z-index: 0;
}
.hero-cert:hover .hero-bg-zoom {
    transform: scale(1.12);
}
.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin: 40px auto;
    padding: 0 3rem;
    color: white;
}
.breadcrumb {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    display: flex;
    gap: 8px;
    align-items: center;
}
.breadcrumb a { color: #aad4ff; text-decoration: none; }
.breadcrumb a:hover { color: #00e0ff; }
.hero-content h1 {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    background: linear-gradient(125deg, #ffffff, #b6e4ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}
.hero-content p {
    font-size: 1.2rem;
    font-weight: 400;
    color: #e2ecff;
    margin-bottom: 2.2rem;
    max-width: 620px;
    line-height: 1.5;
}
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ========== 2. INTRODUCTION BLOCK ========== */
.intro-cert {
    background: #FFFFFF;
    padding: 2rem 2rem;
    text-align: center;
}
.container {
    width: 100%;
    margin: 0 auto;
}
.intro-text {
    max-width: 850px;
    margin: 0 auto;
}
.intro-text h2 {
    font-size: 2.2rem;
    color: #0A1F44;
    margin-bottom: 1rem;
    font-weight: 700;
}
.intro-text p {
    font-size: 1.1rem;
    color: #4a5b7a;
    line-height: 1.6;
}
.divider-light {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00ccff, #0077ff);
    margin: 1.5rem auto 0;
    border-radius: 4px;
}

/* ========== 3. CERTIFICATIONS SHOWCASE (GRID) ========== */
.certs-showcase {
    background: #F8FAFF;
    padding: 2rem 2rem;
}
.section-title {
    text-align: center;
    background: rgba(10, 31, 68, 0.55);
    backdrop-filter: blur(10px);
    padding: 10px 22px;
    margin: 20px auto;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    width: 200px;
}
.section-title h3 {
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}
.section-title .divider {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #00ccff, #0077ff);
    margin: 0 auto 0;
}
.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
/* Card Container */
.cert-card {
    margin-top: 3.5rem;
  position: relative;
  background: linear-gradient(180deg, #0A1F44, #07152e);
  border-radius: 22px;
  padding: 3.5rem 1.5rem 2rem;
  text-align: center;

  color: #fff;
  overflow: visible;

  border: 1px solid rgba(0, 200, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);

  transition: all 0.4s ease;
}

/* IMAGE CONTAINER (floating top) */
.cert-img {
  position: absolute;
  top: -35px; /* 🔥 overlap effect */
  left: 50%;
  transform: translateX(-50%);
  
  width: 110px;
  height: 70px;

  background: #fff;
  border-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 6px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  border: 2px solid rgba(0, 200, 255, 0.4);
}

/* IMAGE */
.cert-img img {
  width: 100%;
  height: 70%;
  object-fit: fill;
}

/* TEXT */
.cert-card h4 {
  margin-top: 2rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}

.cert-card p {
  font-size: 0.9rem;
  color: #c7d3e3;
  line-height: 1.5;
  margin: 0.8rem 0 1rem;
}

/* BADGE */
.cert-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #00ccff;
  background: rgba(0, 204, 255, 0.1);
  padding: 0.3rem 1rem;
  border-radius: 30px;
}

/* Optional Glow Effect */
.cert-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: radial-gradient(circle at top, rgba(0,255,255,0.15), transparent 10%);
  
  transition: 0.4s;
}

/* SECTION */
.qa-process {
    background: linear-gradient(135deg, #0A1F44, #0b2350);
    padding: 5rem 2rem;
    color: #fff;
}

/* TOP HEADER */
.qa-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3rem;
}
.qa-header h2 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.qa-header p {
    color: #cfe6ff;
    line-height: 1.6;
}

/* SPLIT LAYOUT */
.qa-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

/* LEFT */
.qa-left {
    flex: 1;
}

.cert-points h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cert-points ul {
    list-style: none;
    padding: 0;
}

.cert-points ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #cfe6ff;
    font-size: 0.95rem;
}

/* Tick Mark */
.cert-points ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #00e0ff;
    font-weight: bold;
}

.cert-points p{
    background: rgba(0, 224, 255, 0.08);
    padding: 1rem 1.2rem;
    border-radius: 10px;
    color: #d6ecff;
    line-height: 1.6;
}
/* RIGHT IMAGE */
.qa-right {
    flex: 1;
    width: 100px;
    height: 400px;
}

.qa-right img {
    width: 50%;
    height: 90%;
    display: block;
    transition: 0.4s;
    border-radius: 20px;
    overflow: hidden;
    margin: 10px auto;
    align-items: center;
}
.qa-right:hover img {
    border: 1px solid rgb(21, 163, 219);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .qa-content {
        flex-direction: column;
    }

    .qa-right {
        width: 100%;
    }

    .qa-right img {
        width: 100%;
        height: 100%;
    }
}

/* ========== 5. TRUST & COMPLIANCE HIGHLIGHT ========== */
.trust-section {
    background: linear-gradient(115deg, #F0F5FF, #FFFFFF);
    padding: 4rem 2rem;
    text-align: center;
}
.trust-content h3 {
    font-size: 1.8rem;
    color: #0A1F44;
    margin-bottom: 1rem;
}
.trust-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0 1rem;
}
.trust-stat {
    text-align: center;
}
.trust-stat .number {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0A1F44, #0077ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.trust-stat span {
    display: block;
    font-size: 0.9rem;
    color: #4a627a;
}

/* ========== 6. CALL TO ACTION ========== */
.cta-cert {
    background: linear-gradient(115deg, #0A1F44, #0d2a55);
    margin: 0 2rem 4rem 2rem;
    border-radius: 48px;
    padding: 3rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 25px 35px -12px rgba(0,0,0,0.2);
}
.cta-text h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
}
.cta-text p {
    color: #cae3ff;
}
.cta-btn {
    background: linear-gradient(95deg, #00aaff, #00e0ff);
    border: none;
    padding: 1rem 2.2rem;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    color: #0A1F44;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    box-shadow: 0 5px 12px rgba(0,160,255,0.4);
}
.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 28px rgba(0, 200, 255, 0.5);
    background: linear-gradient(95deg, #1ab0ff, #2ae5ff);
    color: #fff;
}

/* Scroll Reveal */
.reveal-card, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-card {
    transform: translateY(35px);
}
.reveal-left {
    transform: translateX(-35px);
}
.reveal-right {
    transform: translateX(35px);
}
.reveal-card.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .certs-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 3rem; }
}
@media (max-width: 768px) {
    .certs-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
    .hero-content { padding: 0 1.5rem; }
    .hero-content h1 { font-size: 2.3rem; }
    .hero-content p { font-size: 1rem; }
    .split-layout { flex-direction: column; }
    .cta-cert { flex-direction: column; text-align: center; margin: 2rem 1rem 3rem; }
    .qa-text h3 { font-size: 1.6rem; }
    .trust-stats { gap: 1.5rem; }
}
/* extra glow */
.cert-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(125deg, rgba(0, 224, 255, 0.2), rgba(0, 119, 255, 0.1));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}