* {
    margin: 0 !important;
    padding: 0 !important;
}

/* Fonts and global palette (Elegant Purple) */
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #2e2e2e;
    background-color: #fff;
}

/* Headings use Poppins for a premium feel */
h1,
h2,
h3,
.card-title,
.main-heading {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: #1e3a8a;
}

.background {
    /* position context for pseudo-element and hide overflow so blur doesn't show edges */
    position: relative;
    overflow: hidden;
    /* background moved to ::before so we can blur it without affecting children */
    background-image: none !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    height: auto !important;
    width: 100% !important;
}

/* Hero row height (responsive) */
.background .hero-row {
    height: 70vh !important;
    min-height: 420px;
}

/* Blurred background layer (keeps actual content sharp above it) */
.background::before {
    content: "";
    position: absolute;
    inset: 0;
    /* warm overlay + image so the photo keeps its character but has a soft warm wash */
    background: linear-gradient(rgba(255, 243, 224, 0.45), rgba(255, 243, 224, 0.45)), url('../images/topbackground.webp') center/cover no-repeat;
    /* mild blur if desired (uncomment) */
    /* filter: blur(4px); */
    transform: scale(1.02);
    z-index: 0;
    will-change: transform, filter;
}

/* Ensure direct children sit above the blurred background */
.background>* {
    position: relative;
    z-index: 1;
}

/* Make the hero row/column/content stretch so flex centering works as expected */
.background .row {
    /* keep inline height if present, but otherwise fill the .background height */
    min-height: 100%;
}

.background .col-lg-12,
.background .col-12 {
    height: 100%;
}

.background .content {
    /* ensure the content flex container fills the column so align-items centers vertically */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

/* Highlight hero text so it stands out over a running video background */
.background .content .display-4,
.background .content .lead {
    display: inline-block;
    /* shrink-wrap the highlight */
    background: rgba(0, 0, 0, 0.55);
    /* semi-opaque dark highlight */
    color: #ffffff !important;
    /* ensure legible text color */
    padding: 0.6rem 1.1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.background .content .display-4:hover,
.background .content .lead:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

/* Keep spacing between stacked highlighted elements */
.background .content .display-4+.lead,
.background .content .lead+.display-4 {
    margin-top: 0.6rem;
}

@media (max-width: 576px) {

    .background .content .display-4,
    .background .content .lead {
        padding: 0.5rem 0.8rem;
        border-radius: 8px;
        font-size: 0.95rem;
    }

    .background .content .display-4 {
        font-size: 1.6rem;
    }
}

.navbar {
    background-color: white;
    height: auto;
    min-height: 100px;
}

/* Navbar spacing: use gap for modern spacing and responsive stacking when collapsed */
.navbar .navbar-nav {
    display: flex;
    /* ensure flex container */
    justify-content: center;
    align-items: center;
    gap: 2rem;
    /* desktop spacing between items (adjust to taste) */
}

/* When collapsed on smaller screens, stack vertically with smaller gap */
@media (max-width: 991px) {
    .navbar {
        height: auto;
    }

    .navbar-collapse .navbar-nav {
        flex-direction: column;
        gap: 0.6rem;
        /* vertical spacing for stacked items */
        align-items: center;
    }
}

/* Navbar link theming to match Elegant Purple palette */
.navbar {
    background-color: rgba(255, 255, 255, 0.96);
}

.navbar .nav-link {
    color: #1e3a8a;
    font-weight: 600;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.navbar .nav-link.text-black {
    color: #3b82f6 !important;
}

.navbar .nav-link:hover {
    background: #f97316;
    color: #fff;
    transform: translateY(-2px);
}

.navbar .nav-link.active {
    background: #f97316;
    color: #fff;
}

/* Card entrance animation (staggered) */
@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.995);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.strength-container .row>div>.card-uplift {
    opacity: 0;

    /* Footer styles */
    .site-footer {
        background: linear-gradient(180deg, #1e3a8a 0%, #3b82f6 100%);
        color: #fff;
    }

    .site-footer h5 {
        color: #fff;
        margin-bottom: 0.6rem;
    }

    .site-footer a {
        color: rgba(255, 255, 255, 0.92);
        text-decoration: none;
    }

    .site-footer a:hover {
        color: #F6F0FB;
        text-decoration: underline;
    }

    .site-footer address,
    .site-footer p,
    .site-footer li {
        color: rgba(255, 255, 255, 0.88);
    }

    .site-footer .social a {
        display: inline-flex;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
    }

    .text-light-opacity {
        color: rgba(255, 255, 255, 0.75);
    }

    @media (max-width: 576px) {
        .site-footer {
            padding-top: 1.5rem;
            padding-bottom: 1.5rem;
        }

        .site-footer .social a {
            width: 36px;
            height: 36px;
        }

        /* Back to top button */
        .back-to-top {
            position: fixed;
            right: 18px;
            bottom: 22px;
            width: 48px;
            height: 48px;
            border-radius: 10px;
            background: linear-gradient(180deg, #f97316, #fb923c);
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(46, 26, 71, 0.16);
            border: none;
            opacity: 0;
            transform: translateY(10px) scale(0.98);
            transition: opacity 220ms ease, transform 220ms ease;
            z-index: 9999;
            cursor: pointer;
        }

        .back-to-top.visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .back-to-top:focus {
            outline: 2px solid rgba(255, 255, 255, 0.18);
        }
    }

    transform-origin: center;
    animation: cardEnter 560ms cubic-bezier(.2, .9, .2, 1) forwards;
}

/* Stagger delays for up to 6 cards */
.strength-container .row>div:nth-child(1)>.card-uplift {
    animation-delay: 0s;
}

.strength-container .row>div:nth-child(2)>.card-uplift {
    animation-delay: 0.08s;
}

.strength-container .row>div:nth-child(3)>.card-uplift {
    animation-delay: 0.16s;
}

.strength-container .row>div:nth-child(4)>.card-uplift {
    animation-delay: 0.24s;
}

.strength-container .row>div:nth-child(5)>.card-uplift {
    animation-delay: 0.32s;
}

.strength-container .row>div:nth-child(6)>.card-uplift {
    animation-delay: 0.40s;
}

/* Centralize card sizing to avoid inline widths */
.card-uplift {
    width: 100%;
    max-width: 18rem;
    /* slightly taller cards for better visual balance */
    min-height: 16rem;
}

.strength-container .col-md-6 {
    display: flex;
}

.strength-container .col-md-6 .card-uplift {
    margin: 0 auto;
}






@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Headings styling: larger sizes and palette optimized for yellow backgrounds */
.main-heading {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    /* Bigger headline for strong impact */
    font-size: 6rem;
    font-weight: 900;
    line-height: 1.02;
    margin-bottom: 0.25rem;
    /* Deep purple/indigo gradient — complementary to yellow background for strong contrast */
    background: linear-gradient(90deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #1e3a8a;
    /* fallback if gradient not supported */
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.85s ease both;
    text-align: center;
}


.full-container {
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background-color: rgb(56, 46, 46);
}

/* Responsive scaling for smaller screens */
@media (max-width: 1200px) {
    .main-heading {
        font-size: 4.5rem;
    }

    .sub-heading {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    .main-heading {
        font-size: 3.6rem;
    }

    .sub-heading {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .main-heading {
        font-size: 2.6rem;
    }

    .sub-heading {
        font-size: 1rem;
    }
}

/* Card uplift design */
.card-uplift {
    width: 18rem;
    border: none;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    box-shadow: 0 8px 26px rgba(20, 20, 40, 0.10);
    transition: transform 280ms cubic-bezier(.2, .9, .2, 1),
        box-shadow 280ms cubic-bezier(.2, .9, .2, 1),
        transform 200ms;
    overflow: hidden;
    position: relative;
}

.card-uplift::after {
    /* subtle colored accent stripe at the top */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background: linear-gradient(90deg, #f97316 0%, #fb923c 50%, #fdba74 100%);
}

.card-uplift .card-body {
    padding: 1.6rem;
    /* stack content vertically; align centered horizontally but start from the top so multiple cards align consistently */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 0.6rem;
}

/* Icon spacing and sizing inside cards */
.card-uplift .card-body i {
    margin-top: 0.6rem;
    /* add top spacing so icons are slightly lower inside the card */
    margin-bottom: 0.25rem;
    line-height: 1;
}

.card-uplift .card-body .btn {
    margin-top: 0.5rem;
}

.card-uplift .card-title {
    margin-top: 0.25rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.card-uplift .card-text {
    color: #555555;
}

/* Buttons tuned to palette */
.btn-outline-primary {
    border-color: #f97316;
    color: #f97316;
}

.btn-outline-primary:hover {
    background-color: #fb923c;
    color: #fff;
}

.btn-primary {
    background-color: #f97316;
    border-color: #f97316;
}

.btn-primary:hover {
    background-color: #fb923c;
    border-color: #fb923c
}

.card-uplift:hover,
.card-uplift:focus-within {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 22px 60px rgba(20, 20, 40, 0.18);
    z-index: 5;
}

/* small screens - less lift and slightly smaller card */
@media (max-width: 576px) {
    .card-uplift {
        width: 14.5rem;
        border-radius: 10px;
    }
}

/* Contact Section Styles */
.contact-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F9F7FC 100%);
    padding: 3rem 0;
}

.contact-info-card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(46, 26, 71, 0.06);
    height: 100%;
}

.contact-info-card .info-item {
    display: flex;
    align-items-start;
    gap: 1rem;
}

.contact-info-card .info-item i {
    margin-top: 0.25rem;
}

.contact-info-card a {
    color: #3b82f6;
    text-decoration: none;
}

.contact-info-card a:hover {
    color: #f97316;
    text-decoration: underline;
}

.map-container {
    height: 100%;
    min-height: 450px;
}

@media (max-width: 991px) {
    .map-container {
        min-height: 400px;
    }
}

.about-container {
    /* allow content to size naturally and keep spacing consistent */
    padding: 3.5rem 0;
}

.strength-section {
    /* use vertical padding instead of fixed height to avoid overlap when cards wrap or resize */
    padding: 3.5rem 0;
    background-color: #ffffff;
    color: #000;
    width: 100%;
}

.strength-section>.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Product cards styling */
.product-container {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.product-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(20, 20, 40, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20, 20, 40, 0.06);
}

/* Product section specific tweaks */
.product-section .product-grid {
    align-items: stretch;
}

/* ensure the grid itself centers its columns */
.product-section .product-grid {
    justify-content: center;
    align-items: center;
    /* explicit gaps for modern browsers (horizontal and vertical) */
    gap: 1.25rem 1rem;
}

/* ensure visible horizontal gap inside each bootstrap column for product grid */
.product-grid>[class*="col-"] {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* fallback spacing for older browsers */
    margin-bottom: 1rem;
}

/* Soft Lavender product-section background (applied) */
.product-section {
    background: #F6F0FB;
    padding: 2.5rem 0;
}

.product-section h2 {
    color: #1e3a8a;
}

.product-section .sub-heading {
    color: #333333;
}

.product-section .product-card {
    border-color: rgba(74, 8, 136, 0.06);
    box-shadow: 0 12px 40px rgba(46, 26, 71, 0.06);
}

.product-card .product-image {
    position: relative;
    height: clamp(110px, 18vw, 160px);
    background-size: cover;
    background-position: center;
}

.price-badge {
    position: absolute;
    right: 0.6rem;
    top: 0.6rem;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.product-card .card-body {
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.6rem;
}

.product-card .card-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.product-card .card-text {
    color: #555;
    font-size: 0.95rem;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(20, 20, 40, 0.12);
}

.product-image {
    height: 140px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-card .card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.product-card .card-title {
    align-self: center;
    margin-top: 0.6rem;
}

.product-card .card-text {
    color: #555;
}

.product-sizes {
    margin-top: 0.4rem;
    width: 100%;
}

.product-size-list {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.35rem;
}

/* center size badges */
.product-sizes {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.size-badge {
    background: #fef3c7;
    color: #f97316;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.product-card .btn {
    align-self: center;
}

/* center the action buttons inside the card and add a small gap */
.product-card .card-body .d-flex.justify-content-between {
    justify-content: center !important;
    gap: 0.6rem;
}

@media (max-width: 576px) {}

/* small tweak to keep grid items equal height */
.product-grid .product-card {
    display: flex;
    flex-direction: column;
}

.product-grid .product-card .card-body {
    flex: 1 1 auto;
}

/* Gallery section styles */
.gallery-section {
    background: linear-gradient(180deg, #FFF9F2 0%, #FFF5E6 100%);
    padding: 2.5rem 0;
}

/* decorative stripe at the top of the gallery section */
.gallery-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 8px;
    background: linear-gradient(90deg, rgba(106, 13, 173, 0.9), rgba(75, 0, 130, 0.85));
    opacity: 0.12;
    pointer-events: none;
}

/* light decorative diamonds behind cards */
.gallery-card::before {
    content: "";
    position: absolute;
    left: -18px;
    top: -18px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(106, 13, 173, 0.12), rgba(75, 0, 130, 0.08));
    transform: rotate(45deg);
    border-radius: 6px;
    filter: blur(6px);
    z-index: 0;
}

.gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    /* single row */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0 0.75rem;
    scroll-snap-type: x mandatory;

    /* gallery navigation arrows */
    .gallery-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: rgba(46, 26, 71, 0.9);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: none;
        box-shadow: 0 6px 20px rgba(20, 20, 40, 0.12);
        cursor: pointer;
        z-index: 8;
    }

    .gallery-nav:focus {
        outline: none;
    }

    .gallery-prev {
        left: 8px;
    }

    .gallery-next {
        right: 8px;
    }

    @media (max-width: 768px) {
        .gallery-nav {
            width: 38px;
            height: 38px;
        }
    }
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(20, 20, 40, 0.06);
    background: #fff;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

/* entrance animation for cards */
@keyframes infraEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-card {
    animation: infraEnter 420ms ease both;
}

.gallery-card img {
    width: 100%;
    /* larger image sizing for infrastructure photos */
    height: clamp(180px, 30vw, 420px);
    object-fit: cover;
    display: block;
}

/* make each gallery column a fixed-width item so scrolling is consistent */
.gallery-grid>[class*="col-"] {
    flex: 0 0 340px;
    max-width: 340px;
}

@media (max-width: 768px) {
    .gallery-grid>[class*="col-"] {
        flex: 0 0 260px;
        max-width: 260px;
    }

    .gallery-card img {
        height: 180px;
    }
}

/* ensure cards snap into place and have consistent alignment */
.gallery-card {
    scroll-snap-align: center;
}

/* custom thin scrollbar for modern desktop browsers */
.gallery-grid::-webkit-scrollbar {
    height: 10px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(46, 26, 71, 0.12);
    border-radius: 999px;
}

/* subtle overlay on hover for drama */
.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.18) 100%);
    opacity: 0;
    transition: opacity 220ms ease;
    z-index: 1;
}

.gallery-card:hover::after {
    opacity: 1;
}

.gallery-card figcaption {
    position: absolute;
    left: 0.6rem;
    bottom: 0.6rem;
    padding: 0.35rem 0.6rem;
    color: #fff;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    z-index: 3;
}

.gallery-card figcaption::before {
    content: "";
    width: 8px;
    height: 8px;
    background: linear-gradient(180deg, #f97316, #fb923c);
    border-radius: 2px;
    display: inline-block;
}

/* Core Values section styles */
.values-section {
    background: linear-gradient(180deg, #FBF7FF 0%, #F3EEFF 100%);
    padding: 2.5rem 0;
}

.values-section .sub-heading {
    color: #5a3a80;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.values-grid>[class*="col-"] {
    display: flex;
    align-items: stretch;
}

.value-card {
    border-radius: 14px;
    border: 1px solid rgba(106, 13, 173, 0.06);
    background: linear-gradient(180deg, #ffffff 0%, #FBF8FF 100%);
    padding: 1.1rem;
    box-shadow: 0 12px 30px rgba(46, 26, 71, 0.06);
    transition: transform 260ms cubic-bezier(.2, .9, .2, 1), box-shadow 260ms ease;
    overflow: hidden;
    position: relative;
    text-align: left;
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #fff;
    margin-bottom: 0.6rem;
}

.value-card .card-body {
    padding: 0.6rem 0.2rem 1rem 0;
}

.value-card .card-title {
    margin: 0 0 0.45rem 0;
    color: #1e3a8a;
    font-weight: 700;
}

.value-card .card-text {
    color: #4f4f4f;
    margin: 0;
}

.value-card::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, rgba(106, 13, 173, 0.08), rgba(75, 0, 130, 0.03));
    transform: rotate(25deg);
    pointer-events: none;
}

.value-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 26px 70px rgba(46, 26, 71, 0.12);
    z-index: 5;
}

@media (max-width: 576px) {
    .value-icon {
        width: 48px;
        height: 48px;
    }

    .value-card {
        padding: 0.9rem;
    }
}

/* Certifications section styles */
.certs-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F7F6FB 100%);
    padding: 2.5rem 0;
}

.certs-grid {
    gap: 1.25rem;
}

.cert-card {
    border-radius: 12px;
    border: 1px solid rgba(74, 8, 136, 0.06);
    background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
    box-shadow: 0 12px 30px rgba(46, 26, 71, 0.04);
    transition: transform 220ms ease, box-shadow 220ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-inner {
    height: 100%;
}

.cert-logo {
    max-width: 160px;
    height: auto;
}

.cert-card figcaption {
    margin-top: 0.6rem;
    color: #4b2f78;
    font-weight: 600;
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 80px rgba(46, 26, 71, 0.12);
}

/* small entrance animation for certs */
@keyframes certEnter {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.995);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.certs-grid>[class*="col-"] .cert-card {
    opacity: 0;
    animation: certEnter 480ms ease both;
}

.certs-grid>[class*="col-"]:nth-child(1) .cert-card {
    animation-delay: 0s;
}

.certs-grid>[class*="col-"]:nth-child(2) .cert-card {
    animation-delay: 0.06s;
}

.certs-grid>[class*="col-"]:nth-child(3) .cert-card {
    animation-delay: 0.12s;
}

.certs-grid>[class*="col-"]:nth-child(4) .cert-card {
    animation-delay: 0.18s;
}

@media (max-width: 576px) {
    .cert-logo {
        max-width: 120px;
    }
}

/* Animations for Core Values cards & icons */
@keyframes valueEnter {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.values-grid>[class*="col-"] .value-card {
    opacity: 0;
    transform-origin: center;
    animation: valueEnter 520ms cubic-bezier(.2, .9, .2, 1) forwards;
}

/* Stagger delays for the six value cards */
.values-grid>[class*="col-"]:nth-child(1) .value-card {
    animation-delay: 0s;
}

.values-grid>[class*="col-"]:nth-child(2) .value-card {
    animation-delay: 0.06s;
}

.values-grid>[class*="col-"]:nth-child(3) .value-card {
    animation-delay: 0.12s;
}

.values-grid>[class*="col-"]:nth-child(4) .value-card {
    animation-delay: 0.18s;
}

.values-grid>[class*="col-"]:nth-child(5) .value-card {
    animation-delay: 0.24s;
}

.values-grid>[class*="col-"]:nth-child(6) .value-card {
    animation-delay: 0.30s;
}

@keyframes iconPop {
    from {
        transform: scale(.6) rotate(-8deg);
        opacity: 0;
    }

    to {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.value-icon i {
    display: inline-block;
    transform-origin: center;
    animation: iconPop 420ms cubic-bezier(.2, .9, .2, 1) both;
}

@keyframes iconBounce {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }

    50% {
        transform: translateY(0);
    }

    70% {
        transform: translateY(-3px);
    }

    100% {
        transform: translateY(0);
    }
}

.value-card:hover .value-icon i {
    animation: iconBounce 600ms ease;
}

/* Slight delay on small screens to keep entrance subtle */
@media (max-width: 576px) {
    .values-grid>[class*="col-"] .value-card {
        animation-delay: 0.02s;
    }
}