/* PKTTC official brand theme — cool blue with logo-derived orange accents */
:root {
    --brand-primary: #075b9e;
    --brand-secondary: #0e8edb;
    --brand-accent: #f5a623;
    --brand-accent-strong: #f07d16;
    --brand-accent-soft: #fff3d8;
    --brand-navy: #263449;
    --navy-950: #021a2d;
    --navy-900: #032842;
    --navy-800: #063a5d;
    --blue-700: #075b9e;
    --blue-500: #0e8edb;
    --teal-500: #087f5b;
    --ice-50: #f7fbfd;
    --ice-100: #eaf6fb;
    --ice-200: #d7edf5;
    --success: #087f5b;
    --warning: #b86b00;
    --shadow-sm: 0 9px 30px rgba(3, 40, 66, .08);
    --shadow-md: 0 22px 65px rgba(3, 40, 66, .14);
    --shadow-lg: 0 38px 100px rgba(0, 31, 55, .24);
}

body {
    background: #fff;
}

/* Typography and shared accents */
.section-kicker,
.eyebrow {
    color: var(--brand-accent-strong);
}

.section-kicker::before {
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-strong));
}

.light-kicker {
    color: #ffd680;
}

.text-link {
    color: var(--brand-primary);
}

.text-link:hover {
    color: var(--brand-accent-strong);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #075b9e 0%, #0e8edb 100%);
    box-shadow: 0 15px 34px rgba(7, 91, 158, .27);
}

.btn-primary:hover {
    box-shadow: 0 20px 44px rgba(7, 91, 158, .37);
}

.btn-accent {
    color: #fff;
    background: linear-gradient(135deg, #f5a623 0%, #f07d16 100%);
    border-color: transparent;
    box-shadow: 0 15px 34px rgba(240, 125, 22, .27);
}

.btn-accent:hover {
    color: #fff;
    background: linear-gradient(135deg, #f7b438 0%, #e96f0e 100%);
    box-shadow: 0 20px 44px rgba(240, 125, 22, .38);
}

.btn-outline {
    color: var(--brand-primary);
    border-color: rgba(7, 91, 158, .28);
}

.btn-outline:hover {
    color: #fff;
    background: linear-gradient(135deg, #075b9e, #0e8edb);
    border-color: transparent;
}

/* Header and navigation */
.topbar {
    background: linear-gradient(90deg, #021a2d 0%, #032842 55%, #063a5d 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.verify-mini {
    color: #c9efff;
}

.nsda-mini {
    color: #ffd27a;
}

.main-nav {
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid rgba(7, 91, 158, .09);
}

.brand {
    min-width: 305px;
}

.official-brand-logo {
    width: 72px;
    height: 72px;
    padding: 4px;
    object-fit: contain;
    background: #fff;
    border: 1px solid rgba(7, 91, 158, .13);
    border-radius: 17px;
    box-shadow: 0 12px 30px rgba(3, 40, 66, .12);
}

.brand-copy strong {
    color: var(--brand-primary);
    font-size: 1.32rem;
}

.brand-copy small {
    color: var(--brand-navy);
}

.nav-menu > a:not(.btn),
.nav-dropdown-toggle,
.search-toggle {
    position: relative;
}

.nav-menu > a.active:not(.btn)::after,
.nav-menu > a:not(.btn):hover::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 4px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-strong));
    border-radius: 99px;
}

.nav-dropdown-menu {
    border-top: 4px solid var(--brand-accent);
}

.nav-dropdown-menu a:hover {
    color: var(--brand-primary);
    background: linear-gradient(90deg, var(--brand-accent-soft), var(--ice-50));
}

.nav-cta {
    color: #fff !important;
}

.search-panel button[type="submit"] {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-strong));
}

/* Hero and page heroes */
.hero-section {
    background:
        radial-gradient(circle at 82% 22%, rgba(14, 142, 219, .52), transparent 31%),
        radial-gradient(circle at 13% 15%, rgba(245, 166, 35, .22), transparent 28%),
        linear-gradient(135deg, #021a2d 0%, #05395d 54%, #075b9e 100%);
}

.hero-kicker {
    color: #fff0ca;
    background: rgba(245, 166, 35, .11);
    border-color: rgba(255, 210, 122, .28);
}

.pulse-dot {
    background: #f5a623;
    box-shadow: 0 0 0 0 rgba(245, 166, 35, .62);
}

@keyframes pulse {
    70% { box-shadow: 0 0 0 11px rgba(245, 166, 35, 0); }
}

.play-icon {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-strong));
}

.sensor-card > span,
.feature-icon,
.process-icon span,
.benefit-grid article > span,
.form-section-title > span {
    background: linear-gradient(135deg, #075b9e, #0e8edb);
}

.batch-card .batch-icon {
    background: linear-gradient(135deg, #f5a623, #f07d16);
}

.hero-wave {
    filter: drop-shadow(0 -7px 14px rgba(3, 40, 66, .06));
}

.page-hero {
    background:
        radial-gradient(circle at 82% 25%, rgba(245, 166, 35, .24), transparent 25%),
        radial-gradient(circle at 65% 75%, rgba(59, 217, 255, .18), transparent 28%),
        linear-gradient(135deg, #021a2d 0%, #064267 58%, #075b9e 100%);
}

.page-hero-icon span {
    color: #fff;
    background: linear-gradient(135deg, #f5a623, #f07d16);
    box-shadow: 0 25px 65px rgba(0, 0, 0, .24), 0 0 0 10px rgba(245, 166, 35, .08);
}

/* Stats and common cards */
.stats-grid {
    position: relative;
    overflow: hidden;
}

.stats-grid::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #075b9e, #0e8edb 58%, #f5a623);
}

.stat-icon {
    color: var(--brand-primary);
    background: linear-gradient(145deg, #fff3d8, #e8f7fc);
}

.feature-card,
.course-card,
.trainer-card,
.post-card,
.values-grid article,
.steps-cards article,
.batch-list-card,
.testimonial-card {
    position: relative;
}

.feature-card::before,
.course-card::before,
.trainer-card::before,
.post-card::before,
.values-grid article::before,
.steps-cards article::before,
.batch-list-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #075b9e, #0e8edb 70%, #f5a623);
    opacity: .9;
}

.feature-card:hover,
.course-card:hover,
.trainer-card:hover,
.post-card:hover,
.values-grid article:hover,
.steps-cards article:hover {
    border-color: rgba(245, 166, 35, .3);
}

.feature-number,
.steps-cards article > span {
    color: rgba(245, 166, 35, .14);
}

.course-duration {
    background: linear-gradient(135deg, rgba(3, 40, 66, .94), rgba(7, 91, 158, .92));
}

.course-meta .price-highlight,
.enroll-pricing strong {
    color: #d8780b;
}

.status-pill.open,
.status-pill.approved,
.result-badge.approved,
.result-badge.enrolled {
    background: var(--success);
}

.process-line {
    background: repeating-linear-gradient(90deg, #0e8edb 0 8px, transparent 8px 16px);
}

.process-line span {
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-strong));
}

.verification-showcase,
.final-cta {
    background:
        radial-gradient(circle at 84% 25%, rgba(245, 166, 35, .24), transparent 25%),
        radial-gradient(circle at 18% 20%, rgba(59, 217, 255, .19), transparent 28%),
        linear-gradient(125deg, #021a2d, #075b9e);
}

.certificate-seal {
    background: linear-gradient(135deg, #f5a623, #f07d16);
}

.stars {
    color: #f5a623;
}

/* Forms */
.form-control:focus,
.verify-input-row input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(7, 91, 158, .1);
}

.submit-btn,
.application-id-box button {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-strong));
}

.support-card {
    background: linear-gradient(135deg, #075b9e, #0e8edb 68%, #f5a623 145%);
}

/* Homepage institutional trust strip */
.institution-trust-strip {
    position: relative;
    z-index: 8;
    padding: 34px 0 0;
}

.institution-trust-card {
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    padding: 24px 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 0%, rgba(245, 166, 35, .14), transparent 27%),
        linear-gradient(135deg, #ffffff, #f4fbfe);
    border: 1px solid rgba(7, 91, 158, .14);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.institution-trust-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #075b9e, #0e8edb 60%, #f5a623);
}

.institution-trust-logo {
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e0e9ed;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.institution-trust-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trust-eyebrow {
    color: var(--brand-accent-strong);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.institution-trust-copy h2 {
    margin: 5px 0 7px;
    color: var(--navy-950);
    font-size: clamp(1.35rem, 2.7vw, 2rem);
    line-height: 1.25;
}

.institution-trust-copy p {
    margin: 0;
    color: var(--muted);
}

.trust-document-link {
    white-space: nowrap;
}

/* About-page recognition */
.recognition-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 15%, rgba(245, 166, 35, .1), transparent 28%),
        linear-gradient(180deg, #fff, #f8fcfe);
}

.recognition-layout {
    display: grid;
    grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 70px;
}

.recognition-preview {
    position: relative;
    max-width: 470px;
    margin-inline: auto;
}

.recognition-preview-frame {
    padding: 17px;
    background: #fff;
    border: 1px solid #dce9ef;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
}

.recognition-preview-frame img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    object-position: top;
    border-radius: 14px;
}

.recognition-seal {
    position: absolute;
    right: -24px;
    bottom: 36px;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    color: #fff;
    background: linear-gradient(135deg, #075b9e, #0e8edb);
    border: 7px solid #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    font-size: 1.05rem;
    font-weight: 900;
}

.recognition-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 28px 0;
}

.recognition-facts > div {
    padding: 15px;
    background: #fff;
    border: 1px solid #dce9ef;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.recognition-facts small,
.recognition-facts strong {
    display: block;
}

.recognition-facts small {
    color: var(--muted);
    font-size: .68rem;
}

.recognition-facts strong {
    margin-top: 5px;
    color: var(--navy-950);
    font-size: .94rem;
}

.recognition-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Official registration page */
.official-registration-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(245, 166, 35, .1), transparent 25%),
        linear-gradient(180deg, #fff, #f8fcfe);
}

.registration-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    gap: 28px;
}

.registration-brand-panel,
.registration-fact-panel {
    background: #fff;
    border: 1px solid rgba(7, 91, 158, .14);
    border-radius: 26px;
    box-shadow: var(--shadow-md);
}

.registration-brand-panel {
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: center;
    gap: 28px;
    padding: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 95% 0%, rgba(245, 166, 35, .15), transparent 28%),
        linear-gradient(145deg, #fff, #f3fbfe);
}

.registration-brand-logo {
    display: grid;
    place-items: center;
    width: 180px;
    height: 180px;
    padding: 9px;
    background: #fff;
    border: 1px solid #e0e9ed;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.registration-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.registration-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 12px;
    color: #075b9e;
    background: #e8f7fc;
    border: 1px solid #cae8f2;
    border-radius: 99px;
    font-size: .78rem;
    font-weight: 900;
}

.registration-status-badge i {
    width: 9px;
    height: 9px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(8, 127, 91, .1);
}

.registration-brand-panel h2 {
    margin: 13px 0 10px;
    color: var(--navy-950);
    font-size: clamp(1.65rem, 3.2vw, 2.45rem);
    line-height: 1.2;
}

.registration-brand-panel p {
    margin: 0;
    color: var(--muted);
}

.registration-fact-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    padding: 28px;
}

.registration-fact {
    padding: 18px;
    background: linear-gradient(145deg, #f8fcfe, #eef8fb);
    border: 1px solid #dceaf0;
    border-radius: 16px;
}

.registration-fact:first-child {
    grid-column: 1 / -1;
}

.registration-fact span,
.registration-fact strong {
    display: block;
}

.registration-fact span {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.registration-fact strong {
    margin-top: 5px;
    color: var(--navy-950);
    font-size: 1.18rem;
}

.registration-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    padding-top: 5px;
}

.registration-preview-section {
    overflow: hidden;
}

.registration-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.registration-document-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce9ef;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.registration-document-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
}

.registration-document-image {
    height: 610px;
    padding: 17px;
    overflow: hidden;
    background: linear-gradient(145deg, #eaf6fb, #fff5df);
}

.registration-document-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 16px 40px rgba(3, 40, 66, .13);
}

.registration-document-caption {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 23px;
}

.registration-document-caption > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #fff;
    background: linear-gradient(135deg, #f5a623, #f07d16);
    border-radius: 13px;
    font-weight: 900;
}

.registration-document-caption div {
    display: flex;
    flex-direction: column;
}

.registration-document-caption strong {
    color: var(--navy-950);
}

.registration-document-caption small {
    color: var(--muted);
}

.pdf-viewer-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce9ef;
    border-radius: 27px;
    box-shadow: var(--shadow-lg);
}

.pdf-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 28px 30px;
    background:
        radial-gradient(circle at 90% 0%, rgba(245, 166, 35, .18), transparent 27%),
        linear-gradient(125deg, #021a2d, #075b9e);
}

.pdf-viewer-header h2 {
    margin: 7px 0 4px;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.pdf-viewer-header p {
    margin: 0;
    color: #c9e1eb;
}

.pdf-viewer-shell {
    position: relative;
    min-height: 790px;
    padding: 16px;
    background: #eaf3f7;
}

.pdf-viewer-shell iframe {
    display: block;
    width: 100%;
    height: 790px;
    background: #fff;
    border: 0;
    border-radius: 15px;
}

.pdf-viewer-fallback {
    display: none;
    padding: 20px;
    text-align: center;
}

.registration-transparency-note {
    padding: 0 0 90px;
}

.registration-transparency-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 25px;
    background: #fff7e7;
    border: 1px solid #f6d89e;
    border-left: 5px solid var(--brand-accent);
    border-radius: 18px;
}

.registration-transparency-inner > span {
    color: var(--brand-accent-strong);
    font-size: 1.45rem;
}

.registration-transparency-inner strong {
    display: block;
    color: var(--navy-950);
}

.registration-transparency-inner p {
    margin: 4px 0 0;
    color: #5f6470;
}

/* Footer */
.site-footer {
    background:
        radial-gradient(circle at 88% 10%, rgba(245, 166, 35, .13), transparent 26%),
        linear-gradient(135deg, #021a2d, #032842 62%, #063a5d);
}

.official-footer-logo {
    width: 92px !important;
    height: 92px !important;
    padding: 5px;
    object-fit: contain;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 13px 35px rgba(0, 0, 0, .25);
}

.brand-light .brand-copy strong {
    color: #ffd27a;
}

.footer-registration-badge {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 18px;
    padding: 12px 13px;
    color: #fff;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 210, 122, .2);
    border-radius: 14px;
}

.footer-registration-badge > span {
    color: #f5a623;
    font-size: 1.25rem;
}

.footer-registration-badge div {
    display: flex;
    flex-direction: column;
}

.footer-registration-badge strong {
    color: #fff;
    font-size: .79rem;
}

.footer-registration-badge small {
    color: #c5dce6;
    font-size: .68rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #ffd27a;
}

.social-row a:hover {
    color: #fff;
    background: linear-gradient(135deg, #f5a623, #f07d16);
}

.footer-bottom {
    border-top-color: rgba(255, 255, 255, .1);
}

/* Floating actions */
.floating-call {
    background: linear-gradient(135deg, #075b9e, #0e8edb);
}

.back-to-top {
    background: linear-gradient(135deg, #f5a623, #f07d16);
}

/* Responsive */
@media (max-width: 1080px) {
    .nsda-mini { display: none; }
    .brand { min-width: 270px; }
    .institution-trust-card { grid-template-columns: 110px minmax(0, 1fr); }
    .trust-document-link { grid-column: 2; justify-self: start; }
    .institution-trust-logo { width: 100px; height: 100px; }
    .recognition-layout { gap: 45px; }
}

@media (max-width: 900px) {
    .registration-summary-grid,
    .recognition-layout {
        grid-template-columns: 1fr;
    }
    .recognition-preview { max-width: 390px; }
    .registration-document-image { height: 520px; }
}

@media (max-width: 760px) {
    .official-brand-logo { width: 62px; height: 62px; }
    .brand { min-width: 0; }
    .institution-trust-card {
        grid-template-columns: 84px 1fr;
        gap: 17px;
        padding: 21px;
    }
    .institution-trust-logo { width: 82px; height: 82px; border-radius: 16px; }
    .trust-document-link { grid-column: 1 / -1; width: 100%; }
    .recognition-facts { grid-template-columns: 1fr; }
    .registration-brand-panel { grid-template-columns: 130px 1fr; padding: 22px; }
    .registration-brand-logo { width: 125px; height: 125px; }
    .registration-preview-grid { grid-template-columns: 1fr; }
    .pdf-viewer-header { flex-direction: column; align-items: flex-start; }
    .pdf-viewer-shell,
    .pdf-viewer-shell iframe { height: 650px; min-height: 650px; }
}

@media (max-width: 540px) {
    .institution-trust-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .institution-trust-logo { margin-inline: auto; }
    .trust-document-link { grid-column: 1; }
    .registration-brand-panel { grid-template-columns: 1fr; text-align: center; }
    .registration-brand-logo { margin-inline: auto; }
    .registration-fact-panel { grid-template-columns: 1fr; padding: 20px; }
    .registration-fact:first-child,
    .registration-actions { grid-column: auto; }
    .registration-actions .btn { width: 100%; }
    .registration-document-image { height: 440px; }
    .pdf-viewer-shell,
    .pdf-viewer-shell iframe { height: 540px; min-height: 540px; }
}

@media (prefers-reduced-motion: reduce) {
    .registration-document-card,
    .btn-accent,
    .btn-primary,
    .feature-card,
    .course-card,
    .post-card {
        transition: none !important;
    }
}
