/* ===================================
   CERTIFICATIONS PAGE STYLES
   =================================== */

/* Hero Section */
.cert-hero {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    padding: 120px 0 100px;
    overflow: hidden;
    color: white;
    text-align: center;
}

/* Animated Sun Flare */
.sun-flare {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: sunPulse 4s ease-in-out infinite;
}

@keyframes sunPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.cert-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cert-hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cert-hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cert-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    border: 2px solid white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
    transform: scale(1.05);
}

/* Certifications Section */
.certifications-section {
    padding: 100px 0;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    color: var(--accent-orange);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Certification Cards Grid */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.cert-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.cert-card:hover::before {
    transform: scaleX(1);
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

/* Inline icon + title row */
.cert-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.cert-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.35);
}

.cert-card:hover .cert-icon {
    transform: scale(1.1) rotate(5deg);
}

.cert-icon svg {
    width: 22px;
    height: 22px;
}

/* ── Logo-image variant for branded cert cards ── */
.cert-logo-frame {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8faff;
    border: 1px solid #e2e8f4;
    border-radius: 14px;
    margin-bottom: 10px;
    padding: 1px 2px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.cert-logo-frame--wide {
    padding: 0px 0px;
}

.cert-logo-img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-card:hover .cert-logo-frame {
    background: #f0f6ff;
}

.cert-card:hover .cert-logo-img {
    transform: scale(1.06);
}


.cert-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.cert-authority {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
}

.cert-details {
    background: #f0f6ff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.cert-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cert-detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.detail-value {
    font-size: 14px;
    color: var(--primary-dark);
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.cert-description {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 24px;
}

.cert-verify-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cert-verify-btn:hover {
    gap: 12px;
    color: var(--accent-orange);
}


/* Recognition Section */
.recognition-section {
    padding: 100px 0;
    background: white;
}
.recognition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    align-items: center;
}
.recognition-card {
    background: #f9fafb;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align: center;
}
.recognition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-blue);
}
.recognition-img-container {
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.recognition-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}
.recognition-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* ═══════════════════════════════════════
   AWARD SECTION
   ═══════════════════════════════════════ */
.award-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0c1a3a 0%, #1e3a8a 50%, #0c1a3a 100%);
    position: relative;
    overflow: hidden;
}

/* Animated starfield background dots */
.award-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 30% 60%, rgba(255,255,255,0.18) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 55% 15%, rgba(255,255,255,0.22) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 70% 75%, rgba(255,255,255,0.20) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 85% 35%, rgba(255,255,255,0.15) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 92% 55%, rgba(255,255,255,0.18) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 20% 85%, rgba(255,255,255,0.12) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 45% 90%, rgba(255,255,255,0.20) 0%, transparent 100%);
    animation: starTwinkle 4s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes starTwinkle {
    from { opacity: 0.6; }
    to   { opacity: 1; }
}

/* Spotlight glow behind award */
.award-spotlight {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center,
        rgba(251, 191, 36, 0.18) 0%,
        rgba(59, 130, 246, 0.12) 40%,
        transparent 70%);
    border-radius: 50%;
    animation: spotlightPulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes spotlightPulse {
    0%, 100% { transform: translateX(-50%) scale(1);   opacity: 0.8; }
    50%       { transform: translateX(-50%) scale(1.2); opacity: 1;   }
}

.award-section .container {
    position: relative;
    z-index: 2;
}

/* ── Header ── */
.award-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.award-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fbbf24;
    margin-bottom: 14px;
    animation: fadeInUp 0.7s ease 0.1s both;
}

.award-section-label svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.award-section-title {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 24px rgba(0,0,0,0.35);
    animation: fadeInUp 0.7s ease 0.25s both;
}

.award-section-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.72);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.7s ease 0.4s both;
}

/* ── Two-column layout ── */
.award-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

/* ── Plaque frame ── */
.award-plaque-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInLeft 0.9s ease 0.3s both;
}

.award-plaque-inner {
    position: relative;
    display: inline-block;
}

/* Glowing gold ring around plaque */
.award-plaque-inner::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #fde68a, #f59e0b, #fbbf24);
    background-size: 200% 200%;
    animation: goldShimmer 3s linear infinite, awarGlow 2s ease-in-out infinite alternate;
    z-index: -1;
    opacity: 0.85;
}

@keyframes goldShimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes awarGlow {
    from { box-shadow: 0 0 24px 6px rgba(251,191,36,0.45); }
    to   { box-shadow: 0 0 48px 16px rgba(251,191,36,0.75); }
}

.award-plaque-img {
    display: block;
    width: 100%;
    max-width: 280px;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 8px 24px rgba(0,0,0,0.3);
    animation: awardFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes awardFloat {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50%       { transform: translateY(-12px) rotate(1deg); }
}

/* Ribbon badge */
.award-ribbon {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(251,191,36,0.6);
    animation: badgeSpin 6s ease-in-out infinite, awarGlow 2s ease-in-out infinite alternate;
    z-index: 10;
    border: 3px solid rgba(255,255,255,0.4);
}

.award-ribbon-text {
    font-size: 8px;
    font-weight: 800;
    color: #1c1001;
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
}

.award-ribbon-num {
    font-size: 18px;
    font-weight: 900;
    color: #1c1001;
    line-height: 1;
}

@keyframes badgeSpin {
    0%, 100% { transform: rotate(-8deg) scale(1); }
    50%       { transform: rotate(8deg) scale(1.05); }
}

/* Shine sweep animation on img */
.award-plaque-shine {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.award-plaque-shine::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -60%;
    width: 50%;
    height: 300%;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
    animation: shineSweep 4s ease-in-out 1s infinite;
    transform: skewX(-20deg);
}

@keyframes shineSweep {
    0%   { left: -60%; }
    40%, 100% { left: 160%; }
}

/* ── Info panel ── */
.award-info {
    animation: fadeInRight 0.9s ease 0.4s both;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

.award-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(251,191,36,0.15);
    border: 1px solid rgba(251,191,36,0.4);
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.award-heading {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.award-heading span {
    background: linear-gradient(90deg, #fbbf24, #fde68a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.award-body {
    font-size: 16px;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Stat pills row */
.award-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.award-stat-pill {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 16px 22px;
    text-align: center;
    flex: 1;
    min-width: 100px;
    transition: background 0.3s, transform 0.3s;
}

.award-stat-pill:hover {
    background: rgba(251,191,36,0.12);
    border-color: rgba(251,191,36,0.35);
    transform: translateY(-3px);
}

.award-stat-val {
    font-size: 26px;
    font-weight: 800;
    color: #fbbf24;
    line-height: 1;
    margin-bottom: 4px;
}

.award-stat-lbl {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Feature bullets */
.award-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.award-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: rgba(255,255,255,0.82);
    line-height: 1.5;
    animation: fadeInUp 0.5s ease both;
}

.award-features li:nth-child(1) { animation-delay: 0.5s; }
.award-features li:nth-child(2) { animation-delay: 0.65s; }
.award-features li:nth-child(3) { animation-delay: 0.8s; }
.award-features li:nth-child(4) { animation-delay: 0.95s; }

.award-check {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1c1001;
    flex-shrink: 0;
    margin-top: 2px;
}

.award-check svg {
    width: 13px;
    height: 13px;
}

/* Responsive */
@media (max-width: 900px) {
    .award-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .award-plaque-wrap { order: -1; }
    .award-section-title { font-size: 30px; }
    .award-heading { font-size: 24px; }
}

@media (max-width: 480px) {
    .award-section { padding: 70px 0; }
    .award-section-title { font-size: 24px; }
    .award-stats { gap: 10px; }
    .award-stat-pill { padding: 12px 14px; }
}

/* Why Certifications Matter Section */

.why-certs-section {
    padding: 100px 0;
    background: white;
}

.why-certs-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.why-certs-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.why-certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-cert-card {
    text-align: center;
    padding: 40px 30px;
    background: #f9fafb;
    border-radius: 16px;
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.why-cert-card:nth-child(1) {
    animation-delay: 0.1s;
}

.why-cert-card:nth-child(2) {
    animation-delay: 0.2s;
}

.why-cert-card:nth-child(3) {
    animation-delay: 0.3s;
}

.why-cert-card:nth-child(4) {
    animation-delay: 0.4s;
}

.why-cert-card:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.why-cert-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.why-cert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-orange), #fbbf24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    transition: transform 0.3s ease;
}

.why-cert-card:hover .why-cert-icon {
    transform: scale(1.15) rotate(10deg);
}

.why-cert-icon svg {
    width: 40px;
    height: 40px;
}

.why-cert-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.why-cert-card p {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.6;
}

/* CTA Section */
.cert-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a8a 100%);
    text-align: center;
    color: white;
}

.cert-cta-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cert-cta-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.large-btn {
    font-size: 18px;
    padding: 18px 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cert-hero-title {
        font-size: 36px;
    }

    .cert-hero-subtitle {
        font-size: 16px;
    }

    .cert-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title,
    .why-certs-title,
    .cert-cta-title {
        font-size: 32px;
    }

    .cert-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-certs-grid {
        grid-template-columns: 1fr;
    }

    .cert-card {
        padding: 30px 24px;
    }

    .sun-flare {
        width: 400px;
        height: 400px;
        top: -30%;
        right: -20%;
    }
}

@media (max-width: 480px) {
    .cert-hero {
        padding: 80px 0 60px;
    }

    .cert-hero-title {
        font-size: 28px;
    }

    .cert-hero-subtitle {
        font-size: 15px;
    }

    .section-title,
    .why-certs-title,
    .cert-cta-title {
        font-size: 26px;
    }

    .cert-name {
        font-size: 20px;
    }

    .cert-icon {
        width: 60px;
        height: 60px;
    }

    .cert-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Icon Box Styling (for consistency with other pages) */
.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), #60a5fa);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 32px;
}