/*
    Allied Certification Services Limited
    Fully responsive HTML template styles
*/

:root {
    --navy: #062350;
    --navy-deep: #031936;
    --navy-dark: #021329;
    --blue: #0d4f9c;
    --blue-soft: #eaf3ff;
    --gold: #f3a52d;
    --gold-dark: #d98512;
    --text: #0a1f44;
    --muted: #53647c;
    --border: #d7e2f2;
    --border-light: #e8eef8;
    --white: #ffffff;
    --section-bg: #f7fbff;
    --shadow-sm: 0 8px 20px rgba(4, 31, 70, 0.08);
    --shadow-md: 0 15px 35px rgba(4, 31, 70, 0.12);
    --radius: 10px;
    --transition: all 0.28s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    font-size: 14px;
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container-xxl {
    max-width: 1188px;
}

.section-padding {
    padding: 72px 0 64px;
}

.section-padding-sm {
    padding: 56px 0;
}

.section-eyebrow {
    display: block;
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 6px;
}

.section-title {
    margin-bottom: 40px;
}

.section-title h2,
.about-section h2,
.documents-panel h2,
.verification-panel h2,
.cta-text h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.5px;
}

.section-title h2 {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 0;
}

.btn {
    border-radius: 4px;
    font-weight: 800;
    font-size: 13px;
    padding: 12px 22px;
    line-height: 1;
    transition: var(--transition);
    border-width: 1px;
}

.btn-primary {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    box-shadow: 0 8px 16px rgba(6, 35, 80, 0.16);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #0a3474;
    border-color: #0a3474;
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(6, 35, 80, 0.22);
}

.btn-outline-primary {
    color: var(--navy);
    border-color: #9db2cc;
    background: var(--white);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
    transform: translateY(-2px);
}

.btn-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.65);
    background: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: var(--navy);
    background: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #e58d19);
    color: var(--white);
    border: none;
    box-shadow: 0 10px 22px rgba(243, 165, 45, 0.28);
}

.btn-gold:hover,
.btn-gold:focus {
    background: linear-gradient(135deg, #f6b44a, var(--gold-dark));
    color: var(--white);
    transform: translateY(-2px);
}

.btn-arrow i,
.btn-shield i {
    margin-left: 10px;
    font-size: 12px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(4, 31, 70, 0.04);
}

.top-bar {
    background: var(--navy);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
}

.top-bar-inner {
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 22px;
    white-space: nowrap;
}

.top-bar a,
.top-bar span {
    color: rgba(255, 255, 255, 0.95);
}

.top-bar i {
    color: var(--gold);
    margin-right: 7px;
    font-size: 11px;
}

.top-bar a:hover {
    color: var(--gold);
}

.main-nav {
    min-height: 68px;
    padding: 0;
    border-bottom: 1px solid #edf1f7;
}

.site-header.scrolled .main-nav {
    box-shadow: 0 12px 24px rgba(4, 31, 70, 0.08);
}

.navbar-brand {
    padding: 0;
    margin-right: 16px;
}

.navbar-brand img {
    width: 176px;
    height: auto;
}

.main-nav .navbar-nav {
    flex-wrap: nowrap;
}

.main-nav .nav-item {
    flex: 0 0 auto;
}

.main-nav .nav-link {
    position: relative;
    color: var(--text);
    font-size: 11.5px;
    font-weight: 800;
    padding: 28px 8px 25px;
    white-space: nowrap;
}

.main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 13px;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: var(--transition);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--blue);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    transform: scaleX(1);
}

.nav-cta {
    padding: 12px 16px;
    font-size: 11.5px;
    border-radius: 4px;
    white-space: nowrap;
    margin-left: 12px;
}

.navbar-toggler {
    border: 1px solid var(--border);
    padding: 7px 9px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(13, 79, 156, 0.15);
}

/* Hero */
.hero-section {
    position: relative;
    background:
        radial-gradient(circle at 43% 33%, rgba(255, 255, 255, 0.86) 0 3px, transparent 4px),
        linear-gradient(90deg, #f7fbff 0%, #f2f8ff 41%, #d8e9fa 72%, #b9d4eb 100%);
    border-bottom: 1px solid #dce7f5;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.7) 1px, transparent 2px),
        radial-gradient(circle at 58% 40%, rgba(34, 93, 159, 0.09), transparent 28%);
    background-size: 38px 38px, auto;
    pointer-events: none;
}

.hero-row {
    min-height: 365px;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding: 34px 0 28px 32px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 79, 156, 0.08);
    border: 1px solid rgba(13, 79, 156, 0.18);
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.hero-eyebrow i {
    color: var(--gold-dark);
    font-size: 12px;
}

.hero-content h1 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(34px, 3.9vw, 46px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.4px;
    color: var(--navy);
    margin-bottom: 26px;
}

.hero-text {
    max-width: 590px;
    color: #18365c;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.65;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.hero-actions .btn {
    min-width: 172px;
}

.hero-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: 560px;
}

.mini-card {
    min-height: 82px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #cbd9eb;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--navy);
    font-weight: 800;
    font-size: 12px;
    line-height: 1.2;
    box-shadow: 0 8px 18px rgba(8, 47, 94, 0.04);
    transition: var(--transition);
}

.mini-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-bottom: 9px;
    background: linear-gradient(145deg, var(--navy) 0%, var(--blue) 100%);
    box-shadow: 0 6px 14px rgba(13, 79, 156, 0.28);
    transition: var(--transition);
}

.mini-card-icon i {
    font-size: 18px;
    color: var(--white);
}

.mini-card:hover {
    transform: translateY(-6px);
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
}

.mini-card:hover .mini-card-icon {
    background: linear-gradient(145deg, var(--gold) 0%, var(--gold-dark) 100%);
    box-shadow: 0 6px 14px rgba(217, 133, 18, 0.35);
}

.hero-visual-col {
    align-self: stretch;
    position: relative;
    display: flex;
    justify-content: flex-end;
    padding-right: 0;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 365px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(4, 25, 54, 0.22);
}

.hero-visual-glow {
    position: absolute;
    inset: -20px -20px auto auto;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(243, 165, 45, 0.45), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Trust Strip */
.trust-strip {
    background: var(--white);
    border-bottom: 1px solid #d8e2ef;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 82px;
    align-items: center;
}

.trust-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--navy);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 800;
    min-height: 70px;
}

.trust-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15px;
    right: 0;
    width: 1px;
    height: 42px;
    background: #cbd6e6;
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    margin-bottom: 8px;
    background: var(--blue-soft);
    border: 1px solid #d8e7fb;
    transition: var(--transition);
}

.trust-icon i {
    font-size: 19px;
    color: #1a4586;
}

.trust-item:hover .trust-icon {
    background: var(--navy);
    border-color: var(--navy);
    transform: translateY(-4px);
}

.trust-item:hover .trust-icon i {
    color: var(--white);
}

/* About */
.about-section {
    background: var(--white);
}

.about-image {
    border-radius: 9px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.about-image img {
    width: 100%;
    min-height: 275px;
    object-fit: cover;
}

.about-section h2 {
    font-size: clamp(27px, 2.7vw, 36px);
    line-height: 1.15;
    margin-bottom: 14px;
}

.about-section p {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    max-width: 630px;
}

.check-list {
    display: grid;
    gap: 9px 30px;
}

.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-list span {
    color: var(--text);
    font-size: 12.5px;
    font-weight: 700;
}

.check-list i {
    color: #29a65a;
    margin-right: 8px;
}

/* Services */
.services-section {
    background: #fbfdff;
    border-top: 1px solid #edf2f9;
}

.service-card {
    height: 100%;
    min-height: 118px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--white);
    border: 1px solid #d3dfef;
    border-radius: 8px;
    padding: 20px 18px;
    box-shadow: 0 7px 18px rgba(6, 35, 80, 0.03);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: #a9c6e9;
    box-shadow: var(--shadow-md);
}

.service-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--blue-soft) 0%, #dce9fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 22px;
    box-shadow: 0 6px 14px rgba(13, 79, 156, 0.1);
    transition: var(--transition);
}

.service-card.featured .service-icon {
    background: linear-gradient(145deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    box-shadow: 0 6px 14px rgba(217, 133, 18, 0.3);
}

.service-card:hover .service-icon {
    background: linear-gradient(145deg, var(--navy) 0%, var(--blue) 100%);
    color: var(--white);
    box-shadow: 0 8px 18px rgba(4, 31, 70, 0.25);
}

.service-icon.service-seal,
.service-card.featured .service-icon.service-seal,
.service-card:hover .service-icon.service-seal {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

.service-icon.service-seal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.service-icon.service-seal-dark {
    background: linear-gradient(145deg, var(--navy) 0%, var(--blue) 100%) !important;
    border-radius: 50% !important;
    box-shadow: 0 6px 14px rgba(4, 31, 70, 0.22) !important;
}

.service-icon.service-seal-dark img {
    padding: 12px;
}

.service-card:hover .service-icon.service-seal img {
    transform: scale(1.08);
}

.service-card h3 {
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
    line-height: 1.35;
}

.service-card p {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.45;
    margin-bottom: 10px;
}

.service-card a {
    color: var(--navy);
    font-size: 11.5px;
    font-weight: 800;
}

.service-card a i {
    margin-left: 5px;
    font-size: 10px;
}

.service-card a:hover {
    color: var(--gold-dark);
}

/* Process */
.process-section {
    background: var(--white);
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding-top: 19px;
}

.process-timeline::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 0;
    right: 0;
    border-top: 1px dashed #a9b9cc;
}

.process-card {
    position: relative;
    min-height: 131px;
    background: var(--white);
    border: 1px solid #d6e0ee;
    border-radius: 7px;
    padding: 28px 14px 14px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(6, 35, 80, 0.03);
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: #a8c2e5;
}

.process-number {
    position: absolute;
    top: -31px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 0 0 4px var(--white);
    z-index: 2;
}

.process-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background: var(--blue-soft);
    transition: var(--transition);
}

.process-icon i {
    color: var(--navy);
    font-size: 20px;
}

.process-card:hover .process-icon {
    background: linear-gradient(145deg, var(--navy) 0%, var(--blue) 100%);
}

.process-card:hover .process-icon i {
    color: var(--white);
}

.process-card h3 {
    color: var(--navy);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 7px;
}

.process-card p {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.45;
    margin-bottom: 0;
}

/* Documents */
.documents-section {
    background: #fbfdff;
    border-top: 1px solid #eef4fb;
}

.documents-panel {
    height: 100%;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid #dbe4f1;
    padding: 18px;
    box-shadow: 0 7px 18px rgba(6, 35, 80, 0.04);
}

.documents-panel h2 {
    font-size: 21px;
    line-height: 1.25;
    margin-bottom: 17px;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.document-card {
    min-height: 83px;
    background: #fbfdff;
    border: 1px solid #dbe5f3;
    border-radius: 6px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 7px;
    transition: var(--transition);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    border-color: #a8c4e7;
}

.document-card > i {
    color: #6f89ad;
    font-size: 20px;
}

.document-card span {
    color: var(--navy);
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.25;
}

.document-card button {
    width: 100%;
    border: 1px solid #a9bde0;
    background: var(--white);
    color: var(--navy);
    border-radius: 3px;
    font-size: 10.5px;
    font-weight: 800;
    padding: 6px 5px;
    transition: var(--transition);
}

.document-card button:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.document-card button i {
    margin-left: 5px;
}

.verification-panel {
    position: relative;
    height: 100%;
    min-height: 205px;
    overflow: hidden;
    border-radius: 8px;
    padding: 34px 36px 28px;
    color: var(--white);
    background:
        radial-gradient(circle at 86% 26%, rgba(255, 255, 255, 0.16), transparent 19%),
        linear-gradient(135deg, #072a62 0%, #041b3f 100%);
    box-shadow: 0 14px 30px rgba(6, 35, 80, 0.15);
}

.verification-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(35deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 45px 45px, 60px 60px;
    opacity: 0.55;
}

.verification-panel > * {
    position: relative;
    z-index: 1;
}

.verification-panel span {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 14px;
}

.verification-panel h2 {
    color: var(--white);
    font-size: 22px;
    line-height: 1.25;
    max-width: 380px;
    margin-bottom: 22px;
}

.verification-form {
    display: flex;
    gap: 8px;
    max-width: 440px;
}

.input-wrap {
    position: relative;
    flex: 1;
}

.input-wrap input {
    width: 100%;
    height: 43px;
    border: none;
    border-radius: 4px;
    padding: 0 42px 0 16px;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
}

.input-wrap i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a9bb2;
}

.verification-form .btn {
    min-width: 120px;
    padding: 14px 18px;
}

.verification-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 18px;
}

.verification-meta small {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 800;
    font-size: 11px;
}

.verification-meta i {
    color: var(--gold);
    margin-right: 6px;
}

.verification-lock {
    position: absolute !important;
    top: 30px;
    right: 48px;
    width: 92px;
    height: 92px;
    border-radius: 16px;
    border: 3px solid rgba(255, 255, 255, 0.33);
    color: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    transform: rotate(5deg);
}

/* Industries */
.industries-section {
    background: var(--white);
}

.industries-section .section-title {
    margin-bottom: 40px;
}

.industries-section .section-title h2 {
    font-size: 22px;
    text-transform: uppercase;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 22px;
}

.industry-card {
    min-height: 110px;
    background: var(--white);
    border: 1px solid #dce5f2;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 10px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    transition: var(--transition);
}

.industry-card i {
    font-size: 34px;
    margin-bottom: 12px;
    color: var(--navy);
}

.industry-card:hover {
    transform: translateY(-7px);
    border-color: #a7c0e3;
    box-shadow: var(--shadow-md);
}

/* Why choose */
.why-section {
    background: #fbfdff;
}

.why-panel {
    display: grid;
    grid-template-columns: minmax(340px, 1.65fr) 190px repeat(4, 1fr);
    gap: 18px;
    align-items: stretch;
    background: var(--white);
    border: 1px solid #dbe4f1;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 8px 22px rgba(6, 35, 80, 0.04);
}

.why-list {
    padding: 4px 0;
}

.why-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
}

.commit-card,
.stat-card {
    background: var(--white);
    border: 1px solid #d9e2ef;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 7px 18px rgba(6, 35, 80, 0.03);
    transition: var(--transition);
}

.commit-card:hover,
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.commit-card {
    padding: 16px 14px;
}

.commit-card > i {
    color: var(--gold);
    font-size: 34px;
    margin-bottom: 10px;
}

.commit-card h3 {
    color: var(--navy);
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 10px;
}

.commit-card p {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 8px;
}

.stars {
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 14px;
}

.stat-card {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
}

.stat-card i {
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 10px;
}

.stat-card strong {
    display: block;
    color: var(--navy);
    font-family: "Poppins", sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card span {
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

/* CTA */
.cta-section {
    background:
        linear-gradient(rgba(3, 23, 52, 0.94), rgba(3, 23, 52, 0.94)),
        linear-gradient(120deg, #0b397a, #041b3f);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(35deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 55px 55px, 78px 78px;
    opacity: 0.55;
}

.cta-inner {
    position: relative;
    z-index: 1;
    min-height: 105px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 18px 40px;
}

.cta-badge {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: inset 0 0 0 8px rgba(243, 165, 45, 0.18);
}

.cta-text {
    flex: 1;
}

.cta-text h2 {
    color: var(--white);
    font-size: 31px;
    line-height: 1.15;
    margin-bottom: 4px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-actions .btn {
    min-width: 165px;
}

/* Footer */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.45fr 0.9fr 1.35fr 1.1fr 1.5fr;
    gap: 40px;
    padding: 30px 35px 25px;
}

.footer-brand img {
    width: 190px;
    height: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 14px;
}

.footer-brand p {
    max-width: 250px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 9px;
}

.social-links a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.footer-column,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-main h3 {
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 2px 0 7px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.76);
    font-weight: 500;
}

.footer-column a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact p {
    position: relative;
    margin-bottom: 3px;
    padding-left: 24px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

.footer-contact p i {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--white);
    font-size: 13px;
}

.newsletter-title {
    margin-top: 6px !important;
}

.newsletter-form {
    display: flex;
    max-width: 280px;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    height: 34px;
    border: none;
    border-radius: 3px 0 0 3px;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 600;
}

.newsletter-form button {
    width: 43px;
    height: 34px;
    border: none;
    border-radius: 0 3px 3px 0;
    background: #234e91;
    color: var(--white);
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--gold);
}

.footer-bottom {
    min-height: 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 35px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom a:hover {
    color: var(--gold);
}

.footer-bottom span {
    margin: 0 10px;
    opacity: 0.5;
}

/* Interactions */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal cascade for card grids */
.hero-feature-grid > :nth-child(1),
.trust-grid > :nth-child(1),
.process-timeline > :nth-child(1),
.document-grid > :nth-child(4n+1),
.industry-grid > :nth-child(4n+1) { transition-delay: 0s; }

.hero-feature-grid > :nth-child(2),
.trust-grid > :nth-child(2),
.process-timeline > :nth-child(2),
.document-grid > :nth-child(4n+2),
.industry-grid > :nth-child(4n+2) { transition-delay: .08s; }

.hero-feature-grid > :nth-child(3),
.trust-grid > :nth-child(3),
.process-timeline > :nth-child(3),
.document-grid > :nth-child(4n+3),
.industry-grid > :nth-child(4n+3) { transition-delay: .16s; }

.hero-feature-grid > :nth-child(4),
.trust-grid > :nth-child(4),
.process-timeline > :nth-child(4),
.document-grid > :nth-child(4n),
.industry-grid > :nth-child(4n) { transition-delay: .24s; }

.trust-grid > :nth-child(5),
.process-timeline > :nth-child(5) { transition-delay: .32s; }

.process-timeline > :nth-child(6) { transition-delay: .4s; }

.service-grid > .col-md-6:nth-child(3n+1) .service-card { transition-delay: 0s; }
.service-grid > .col-md-6:nth-child(3n+2) .service-card { transition-delay: .08s; }
.service-grid > .col-md-6:nth-child(3n) .service-card { transition-delay: .16s; }

/* Reveal stagger must not delay hover feedback */
.mini-card:hover,
.trust-item:hover,
.service-card:hover,
.process-card:hover,
.document-card:hover,
.industry-card:hover {
    transition-delay: 0s;
}

/* Hero entrance animation (runs on load, not scroll-gated) */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    opacity: 0;
    animation: heroFadeUp 0.7s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: .05s; }
.hero-content > *:nth-child(2) { animation-delay: .15s; }
.hero-content > *:nth-child(3) { animation-delay: .25s; }
.hero-content > *:nth-child(4) { animation-delay: .35s; }
.hero-content > *:nth-child(5) { animation-delay: .45s; }

.hero-visual-col {
    opacity: 0;
    animation: heroFadeUp 0.8s ease .3s forwards;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.6;
    }
}

.hero-visual-glow {
    animation: glowPulse 4.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll,
    .hero-content > *,
    .hero-visual-col,
    .hero-visual-glow {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Responsive */
@media (max-width: 1399px) {
    .container-xxl {
        max-width: 1140px;
    }

    .main-nav .nav-link {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 11px;
    }

    .hero-content {
        padding-left: 22px;
    }
}

@media (max-width: 1199px) {
    .main-nav {
        padding: 10px 0;
    }

    .navbar-brand img {
        width: 190px;
    }

    .navbar-collapse {
        background: var(--white);
        border-top: 1px solid var(--border-light);
        margin-top: 10px;
        padding: 12px 0 16px;
    }

    .main-nav .nav-link {
        padding: 11px 0;
        font-size: 13px;
    }

    .main-nav .nav-link::after {
        left: 0;
        right: auto;
        bottom: 6px;
        width: 40px;
    }

    .nav-cta {
        display: inline-flex;
        margin-top: 10px;
        margin-left: 0 !important;
    }

    .hero-row {
        min-height: auto;
    }

    .hero-content {
        padding: 46px 0 12px;
    }

    .hero-visual-col {
        padding: 0 0 30px;
    }

    .hero-visual {
        height: 330px;
        border-radius: 12px;
        box-shadow: var(--shadow-md);
    }

    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 44px;
    }

    .process-timeline::before {
        display: none;
    }

    .industry-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .why-panel {
        grid-template-columns: repeat(4, 1fr);
    }

    .why-list {
        grid-column: 1 / -1;
    }

    .commit-card {
        grid-column: span 2;
    }

    .footer-main {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: span 3;
    }
}

@media (max-width: 991px) {
    .section-padding {
        padding: 52px 0 40px;
    }

    .section-padding-sm {
        padding: 34px 0;
    }

    .hero-content h1 {
        max-width: 760px;
    }

    .hero-text {
        max-width: 700px;
    }

    .hero-feature-grid {
        max-width: 100%;
    }

    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px 0;
        padding: 12px 0;
    }

    .trust-item:nth-child(3)::after,
    .trust-item:last-child::after {
        display: none;
    }

    .document-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .verification-panel {
        min-height: 260px;
    }

    .cta-inner {
        text-align: center;
        flex-direction: column;
        padding: 35px 20px;
    }

    .cta-actions {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 13px;
    }

    .navbar-brand img {
        width: 170px;
    }

    .hero-content {
        padding-top: 34px;
    }

    .hero-content h1 {
        letter-spacing: -0.8px;
        margin-bottom: 16px;
    }

    .hero-actions {
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .mini-card {
        min-height: 92px;
    }

    .hero-visual {
        height: 290px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item::after {
        display: none;
    }

    .two-columns,
    .why-checks {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .document-grid {
        grid-template-columns: 1fr;
    }

    .verification-form {
        flex-direction: column;
    }

    .verification-form .btn {
        width: 100%;
    }

    .verification-meta {
        flex-wrap: wrap;
        gap: 15px;
    }

    .verification-lock {
        opacity: 0.35;
        right: 22px;
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .why-panel {
        grid-template-columns: 1fr 1fr;
        padding: 14px;
    }

    .why-list,
    .commit-card {
        grid-column: 1 / -1;
    }

    .footer-main {
        grid-template-columns: 1fr;
        padding: 32px 12px 25px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }

    .footer-bottom {
        padding: 16px 12px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .container-xxl {
        padding-left: 18px;
        padding-right: 18px;
    }

    .btn {
        padding: 12px 16px;
    }

    .section-title h2,
    .documents-panel h2 {
        font-size: 20px;
    }

    .about-section h2,
    .cta-text h2 {
        font-size: 26px;
    }

    .hero-visual {
        height: 245px;
    }

    .trust-grid,
    .industry-grid,
    .why-panel {
        grid-template-columns: 1fr;
    }

    .verification-panel {
        padding: 28px 20px;
    }

    .verification-panel h2 {
        font-size: 19px;
    }

    .footer-brand img {
        width: 170px;
    }
}
