/* ==========================================================================
   Afritech Accounting — Main Stylesheet
   Professional accounting firm website
   Brand: Charcoal Black #343434 | Vibrant Red #DB303D | Grays | White
   No gradients. Solid colours only.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables & Reset
   -------------------------------------------------------------------------- */
:root {
    --primary: #343434;
    --secondary: #DB303D;
    --gray: #868686;
    --light-gray: #D1CECE;
    --white: #FFFFFF;

    /* Derived */
    --primary-light: #4a4a4a;
    --secondary-dark: #b8262f;
    --light-gray-bg: #f5f3f3;
    --border: #e8e6e6;
    --shadow-sm: 0 1px 3px rgba(52, 52, 52, 0.08);
    --shadow-md: 0 4px 12px rgba(52, 52, 52, 0.10);
    --shadow-lg: 0 12px 32px rgba(52, 52, 52, 0.14);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-max: 1200px;
    --container-padding: 1.25rem;

    /* Transitions */
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Radius */
    --radius: 8px;
    --radius-lg: 16px;
    --radius-sm: 4px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--primary);
    background: var(--white);
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--secondary-dark);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
}

/* --------------------------------------------------------------------------
   2. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

.text-accent { color: var(--secondary); }
.text-light { color: var(--white) !important; }
.text-left { text-align: left; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.bg-light {
    background: var(--light-gray-bg);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.two-col-reverse .reveal:first-child {
    order: 2;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   5. Icons
   -------------------------------------------------------------------------- */
.icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }

/* --------------------------------------------------------------------------
   6. Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-family: var(--font-heading);
}

.logo:hover {
    color: var(--primary);
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: none;
    display: block;
    object-fit: contain;
}

/* Nav */
.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--secondary);
    background: var(--light-gray-bg);
}

.nav-link.active {
    color: var(--secondary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--secondary);
    border-radius: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-cta-mobile { display: none; }

.nav-toggle {
    display: none;
    color: var(--primary);
    padding: 0.5rem;
}

.nav-close {
    display: none;
    color: var(--primary);
    padding: 0.5rem;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    background: var(--primary);
    color: var(--white);
    padding: 8rem 0 5rem;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-badge .icon {
    color: var(--secondary);
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--light-gray);
    max-width: 620px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
}

.hero-meta-item strong {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.hero-meta-item span {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

.hero-meta-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Hero overlay for background image */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(52, 52, 52, 0.82);
    z-index: 1;
}

/* --------------------------------------------------------------------------
   8. Trust Bar
   -------------------------------------------------------------------------- */
.trust-bar {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.trust-bar-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
}

.trust-item .icon {
    color: var(--secondary);
}

/* --------------------------------------------------------------------------
   9. Services Grid
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card:has(a[href]) {
    cursor: pointer;
}

.service-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   Blog Category Filters & Card Badges
   -------------------------------------------------------------------------- */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem;
}

.blog-filter-pill {
    display: inline-block;
    padding: .35rem 1rem;
    border-radius: 100px;
    font-size: .8rem;
    font-weight: 500;
    background: var(--light-gray-bg);
    color: var(--gray);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all var(--transition);
}

.blog-filter-pill:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.blog-filter-pill.active {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.blog-filter-info {
    font-size: .875rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.blog-filter-info a {
    text-decoration: underline;
}

.card-category-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    padding: .25rem .7rem;
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 600;
    background: rgba(219, 48, 61, .9);
    color: var(--white);
    backdrop-filter: blur(4px);
    z-index: 2;
    letter-spacing: .02em;
}

.card-category-badge-plain {
    position: static;
    display: inline-block;
    background: rgba(219, 48, 61, .08);
    color: var(--secondary);
    backdrop-filter: none;
}

.service-card-body {
    padding: 2rem;
    flex: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    transition: background var(--transition);
}

.service-card:hover .service-icon {
    background: var(--secondary);
}

.service-title {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.service-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--secondary);
}

.service-link .icon {
    transition: transform var(--transition);
}

.service-link:hover {
    color: var(--secondary-dark);
}

.service-link:hover .icon {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   10. Why Choose Us / Features
   -------------------------------------------------------------------------- */
.why-us-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.why-us-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--secondary);
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 50%;
    transition: all var(--transition);
}

.feature-item:hover .feature-icon {
    border-color: var(--secondary);
    color: var(--white);
    background: var(--secondary);
}

.feature-title {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.feature-desc {
    color: var(--gray);
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   11. Stats
   -------------------------------------------------------------------------- */
.section-stats {
    background: var(--primary);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   12. Process
   -------------------------------------------------------------------------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 2;
}

.process-line {
    position: absolute;
    top: 24px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: var(--light-gray);
    z-index: 1;
}

.process-step:last-child .process-line {
    display: none;
}

.process-title {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.process-desc {
    color: var(--gray);
    font-size: 0.875rem;
    padding: 0 0.5rem;
}

/* --------------------------------------------------------------------------
   13. Testimonials
   -------------------------------------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    transition: box-shadow var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-quote-icon {
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--primary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-author-info strong {
    font-size: 0.95rem;
    color: var(--primary);
}

.testimonial-author-info span {
    font-size: 0.8rem;
    color: var(--gray);
}

.testimonial-location {
    font-size: 0.75rem !important;
    color: var(--light-gray) !important;
}

/* --------------------------------------------------------------------------
   14. CTA Banner
   -------------------------------------------------------------------------- */
.section-cta-banner {
    padding: 3rem 0;
}

.cta-banner {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(52, 52, 52, 0.82);
    z-index: 1;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: var(--secondary);
    opacity: 0.06;
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
}

.cta-banner-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner-text {
    color: var(--light-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-banner-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item[open] {
    border-color: var(--secondary);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    transition: background var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background: var(--light-gray-bg);
}

.faq-chevron {
    color: var(--secondary);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-cta-text {
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--primary);
    color: var(--light-gray);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.logo-img-footer {
    height: 56px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 1.25rem 0;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--light-gray);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--secondary);
    color: var(--white);
}

.footer-heading {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.footer-contact .icon {
    color: var(--secondary);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--gray);
}

.footer-contact a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.footer-credentials {
    color: var(--gray);
}

/* --------------------------------------------------------------------------
   17. Page Hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
    background: var(--primary);
    color: var(--white);
    padding: 8rem 0 4rem;
    position: relative;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(52, 52, 52, 0.82);
    z-index: 1;
}

.page-hero > .container {
    position: relative;
    z-index: 2;
}

.page-hero-sm {
    padding: 7rem 0 3rem;
}

.page-hero-title {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: var(--light-gray);
    max-width: 620px;
}

/* --------------------------------------------------------------------------
   18. About Page
   -------------------------------------------------------------------------- */
.prose p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.story-image-wrap {
    position: relative;
}

.story-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.story-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.story-card-item {
    text-align: center;
    padding: 1rem;
}

.story-card-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.story-card-label {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Mission/Vision */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mv-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.mv-card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.mv-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv-card > .mv-icon,
.mv-card > .mv-title,
.mv-card > .mv-text {
    margin-left: 2.5rem;
    margin-right: 2.5rem;
}

.mv-card > .mv-icon {
    margin-top: 2rem;
}

.mv-card > .mv-text {
    margin-bottom: 2.5rem;
}

.mv-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}

.mv-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.mv-text {
    color: var(--gray);
    line-height: 1.8;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.value-item {
    text-align: center;
}

.value-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--secondary);
    background: var(--light-gray-bg);
    border-radius: 50%;
    transition: all var(--transition);
}

.value-item:hover .value-icon {
    background: var(--secondary);
    color: var(--white);
}

.value-title {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.value-desc {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
}

.team-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.team-avatar {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
}

.team-name {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-credentials {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
    font-style: italic;
}

.team-bio {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   19. Services Page — Detail
   -------------------------------------------------------------------------- */
.service-detail {
    align-items: start;
}

.service-detail-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.service-detail-desc {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.bg-light .service-features-card {
    background: var(--white);
}

.service-features-title {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary);
}

.service-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
}

.service-features-list li:last-child {
    border-bottom: none;
}

.feature-check {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
}

.feature-check .icon {
    width: 14px;
    height: 14px;
}

/* --------------------------------------------------------------------------
   20. Contact Page
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Form */
.contact-form {
    max-width: 600px;
}

.form-success {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-success .icon {
    color: #2e7d32;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-success strong {
    display: block;
    color: #1b5e20;
    margin-bottom: 0.25rem;
}

.form-success p {
    font-size: 0.875rem;
    color: #2e7d32;
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.required {
    color: var(--secondary);
}

.form-input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--primary);
    font-size: 0.95rem;
    transition: all var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(219, 48, 61, 0.1);
}

.form-input::placeholder {
    color: var(--light-gray);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23868686' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
}

/* Contact info card */
.contact-info-card {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.contact-info-title {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-info-subtitle {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.contact-info-list {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(219, 48, 61, 0.15);
    color: var(--secondary);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    color: var(--gray);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.contact-info-item a {
    color: var(--gray);
}

.contact-info-item a:hover {
    color: var(--secondary);
}

.contact-social-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.6rem;
}

.contact-social-links {
    display: flex;
    gap: 0.5rem;
}

.contact-social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--light-gray);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.contact-social-links a:hover {
    background: var(--secondary);
    color: var(--white);
}

/* Map */
.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   21. 404 Page
   -------------------------------------------------------------------------- */
.section-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 8rem 0 4rem;
}

.error-content {
    max-width: 560px;
    margin: 0 auto;
}

.error-code {
    display: block;
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    margin-bottom: 1rem;
}

.error-desc {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   22. Floating Elements
   -------------------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
}

/* --------------------------------------------------------------------------
   22c. Job Application Form
   -------------------------------------------------------------------------- */
.apply-form-group {
    margin-bottom: 1rem;
}

.apply-form-label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: .35rem;
}

.apply-form-input {
    width: 100%;
    padding: .55rem .85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .875rem;
    color: var(--primary);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.apply-form-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(219, 48, 61, .12);
}

.apply-form-textarea {
    resize: vertical;
    min-height: 80px;
}

.cv-upload-area {
    position: relative;
}

.cv-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    padding: 1.5rem 1rem;
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    text-align: center;
}

.cv-dropzone:hover {
    border-color: var(--secondary);
    background: rgba(219, 48, 61, .03);
}

.cv-dropzone svg {
    color: var(--gray);
    transition: color var(--transition);
}

.cv-dropzone:hover svg {
    color: var(--secondary);
}

.cv-dropzone span {
    font-size: .825rem;
    font-weight: 500;
    color: var(--primary);
}

.apply-success-msg {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .875rem 1rem;
    background: rgba(22, 163, 74, .08);
    border: 1px solid rgba(22, 163, 74, .25);
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    color: #15803d;
}

.apply-success-msg svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.apply-success-msg strong {
    display: block;
    font-size: .875rem;
}

.apply-success-msg p {
    font-size: .8rem;
    margin-top: .15rem;
}

.apply-error-msg {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    background: rgba(220, 38, 38, .08);
    border: 1px solid rgba(220, 38, 38, .25);
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    color: #b91c1c;
    font-size: .825rem;
}

/* --------------------------------------------------------------------------
   22d. Apply Modal
   -------------------------------------------------------------------------- */
.apply-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(2px);
    z-index: 1000;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
    overflow-y: auto;
}

.apply-modal-overlay.show {
    display: flex;
}

.apply-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 540px;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn .25s ease;
    margin: auto;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.apply-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border);
}

.apply-modal-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.apply-modal-subtitle {
    font-size: .8rem;
    color: var(--gray);
    margin-top: .25rem;
}

.apply-modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--gray);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: color var(--transition);
}

.apply-modal-close:hover {
    color: var(--secondary);
}

.apply-modal-body {
    padding: 1.75rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/* --------------------------------------------------------------------------
   22b. Article / Rich Text Content (Quill output)
   -------------------------------------------------------------------------- */
.article-content h1,
.article-content h2,
.article-content h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin: 1.75rem 0 0.75rem;
    line-height: 1.3;
}
.article-content h1 { font-size: 1.75rem; }
.article-content h2 { font-size: 1.4rem; }
.article-content h3 { font-size: 1.15rem; }
.article-content p  { margin-bottom: 1.1rem; line-height: 1.8; color: var(--text); }
.article-content ul,
.article-content ol  { margin: 0.5rem 0 1.1rem 1.5rem; line-height: 1.8; color: var(--text); }
.article-content ul  { list-style: disc; }
.article-content ol  { list-style: decimal; }
.article-content li  { margin-bottom: 0.35rem; }
.article-content a   { color: var(--secondary); text-decoration: underline; }
.article-content a:hover { color: var(--secondary-dark, #b52030); }
.article-content blockquote {
    border-left: 3px solid var(--secondary);
    padding: 0.75rem 1.25rem;
    margin: 1.25rem 0;
    background: var(--light-gray);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--gray);
    font-style: italic;
}
.article-content pre,
.article-content code {
    background: #f3f4f6;
    border-radius: var(--radius-sm);
    font-size: .875em;
    padding: .15em .4em;
}
.article-content pre {
    padding: 1rem 1.25rem;
    overflow-x: auto;
    margin-bottom: 1.1rem;
}
.article-content img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 1rem 0;
}
.article-content strong { font-weight: 700; }

/* --------------------------------------------------------------------------
   23. Skip Link
   -------------------------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--secondary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    z-index: 2000;
    border-radius: 0 0 var(--radius-sm) 0;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 0;
    color: var(--white);
}

/* --------------------------------------------------------------------------
   24. Reveal Animations
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   25. Spinner (form submit)
   -------------------------------------------------------------------------- */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   26. Responsive — Tablet (≤ 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    :root {
        --section-padding: 4rem 0;
    }

    .logo-img { height: 52px; }

    .nav-cta-desktop { display: none; }
    .nav-cta-mobile { display: block; }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 5rem 1.5rem 2rem;
        transition: right var(--transition-slow);
        overflow-y: auto;
    }

    .main-nav.open {
        right: 0;
    }

    .nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 0.9rem 1rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        background: var(--light-gray-bg);
    }

    .nav-cta-mobile {
        margin-top: 1rem;
    }

    .nav-cta-mobile .btn {
        width: 100%;
    }

    /* Body scroll lock when nav open */
    body.nav-open {
        overflow: hidden;
    }

    /* Overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(52, 52, 52, 0.5);
        z-index: 999;
    }

    .nav-overlay.visible {
        display: block;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-us-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .two-col-reverse .reveal:first-child {
        order: 0;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .process-line { display: none; }

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

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* --------------------------------------------------------------------------
   27. Responsive — Mobile (≤ 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
        --container-padding: 1rem;
    }

    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.5rem; }

    .hero {
        padding: 6.5rem 0 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-meta {
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    .hero-meta-item strong {
        font-size: 1.5rem;
    }

    .hero-meta-divider {
        display: none;
    }

    .trust-bar-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .trust-item {
        justify-content: center;
    }

    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .stat-number {
        font-size: 2.25rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .story-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .story-card-number {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner {
        padding: 2.5rem 1.5rem;
    }

    .cta-banner-actions {
        flex-direction: column;
    }

    .cta-banner-actions .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .error-code {
        font-size: 4rem;
    }

    .error-actions {
        flex-direction: column;
    }

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

    .mv-card,
    .contact-info-card,
    .service-features-card {
        padding: 1.75rem;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }

    .back-to-top {
        bottom: 16px;
        left: 16px;
    }
}

/* --------------------------------------------------------------------------
   28. Responsive — Small mobile (≤ 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .logo-img { height: 48px; }
    .logo-img-footer { height: 44px; }

    .hero-badge {
        font-size: 0.75rem;
    }

    .section-label {
        font-size: 0.7rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .story-card {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   29. Focus states (accessibility)
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   30. Print
   -------------------------------------------------------------------------- */
@media print {
    .site-header,
    .site-footer,
    .whatsapp-float,
    .back-to-top,
    .hero-actions,
    .cta-banner-actions,
    .section-cta {
        display: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   31. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   26. Certification Sections
   -------------------------------------------------------------------------- */
.section-certification {
    padding: 3rem 0;
}

.certification-banner {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.certification-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.certification-badge {
    flex-shrink: 0;
    width: 200px;
}

.certification-badge img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.certification-text {
    flex: 1;
    min-width: 280px;
}

.certification-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: .5rem 0 .75rem;
}

.certification-desc {
    font-size: .925rem;
    line-height: 1.7;
    color: var(--gray);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.certificate-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.certificate-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.certificate-card img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.certification-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.certification-note-icon {
    flex-shrink: 0;
    color: var(--secondary);
}

.certification-note p {
    font-size: .9rem;
    line-height: 1.7;
    color: var(--gray);
    margin: 0;
}

@media (max-width: 768px) {
    .certification-content {
        flex-direction: column;
        text-align: center;
    }

    .certification-badge {
        width: 160px;
        margin: 0 auto;
    }

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