/* =========================
   ROOT & RESET
========================= */

:root {
    --blue: #1d07a0;
    --orange: #fe945c;
    --gradient: linear-gradient(135deg, var(--blue), var(--orange));
    --glass: rgba(255, 255, 255, 0.78);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #f9fafb;
    color: #0f172a;
    overflow-x: hidden;
}

/* =========================
   NAVBAR
========================= */

.navbar-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Keep your original styles */
.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    outline: none !important;
    border: none !important;

    position: relative;
    /* Needed for glow */
    display: inline-flex;
    align-items: center;
    transition: transform 0.35s ease, filter 0.35s ease;
    z-index: 2;
}

/* Your gradient text stays untouched */
.navbar-brand span {
    background: var(--gradient);
    -webkit-background-clip: text;
    color: transparent;
}

/* Hover animation - subtle and elegant */
.navbar-brand:hover {
    transform: scale(1.06);
    filter: brightness(1.12);
}

.navbar-brand:hover::before {
    opacity: 1;
    transform: scale(1);
}


.nav-link {
    font-weight: 500;
    color: #0f172a;
}

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

/* =========================
   BUTTONS
========================= */

.btn-gradient {
    background: var(--gradient);
    color: #fff !important;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 500;
    border: none;
    transition: 0.7s ease;
}

.btn-gradient:hover,
.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(29, 7, 160, 0.35);
    /* brand blue */
    background: #0f172a;
    color: #fff !important;
    transition: 0.7s ease;
}

.btn-outline {
    border: 1px solid #0f172a;
    border-radius: 50px;
    padding: 12px 28px;
    background: transparent;
    font-weight: 500;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* GLOW BACKGROUND */
.hero-glow {
    position: absolute;
    inset: -20%;
    z-index: -1;
    background:
        radial-gradient(circle at 30% 40%, rgba(29, 7, 160, 0.35), transparent 45%),
        radial-gradient(circle at 70% 50%, rgba(254, 148, 92, 0.35), transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(29, 7, 160, 0.2), transparent 50%);
    filter: blur(140px);
    animation: glowMove 16s ease-in-out infinite alternate;
}

@keyframes glowMove {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-40px) scale(1.05);
    }
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
}

.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    max-width: 520px;
    opacity: 0.9;
}

/* =========================
   HERO VISUAL
========================= */

.hero-glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 26px;
    padding: 22px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
    position: relative;
}

.hero-glass img {
    width: 100%;
    border-radius: 20px;
}

.hero-image-glow {
    position: absolute;
    inset: -40px;
    background: var(--gradient);
    opacity: 0.25;
    filter: blur(90px);
    z-index: -1;
    border-radius: 50px;
}

/* FLOAT TAGS */
.float-tag {
    position: absolute;
    top: 20%;
    left: -28px;
    background: white;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.float-tag.second {
    top: 65%;
    left: auto;
    right: -28px;
    animation-delay: 3s;
}

@keyframes float {

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

    50% {
        transform: translateY(-14px);
    }
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 100px 0;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(14px);
}

/* =========================
   ABOUT
========================= */

.info-card {
    background: white;
    border-radius: 22px;
    padding: 32px;
    height: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

/* =========================
   SERVICES
========================= */

.badge-soft {
    background: rgba(29, 7, 160, 0.12);
    color: var(--blue);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.service-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    position: relative;
    transition: 0.4s ease;
    height: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.service-card i {
    font-size: 26px;
    background: var(--gradient);
    -webkit-background-clip: text;
    color: transparent;
}

.service-card.active,
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.service-card:hover::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: var(--gradient);
    opacity: 0.18;
    filter: blur(22px);
    z-index: -1;
}

/* =========================
   PARTNERS
========================= */

.partner-logo:hover {
    opacity: 1;
}

/* =========================
   FOOTER
========================= */

.mega-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 90px 0 40px;
}

.mega-footer h6 {
    color: white;
    margin-bottom: 12px;
}

.mega-footer a {
    display: block;
    margin: 6px 0;
    cursor: pointer;
    opacity: 0.8;
}

.mega-footer a:hover {
    opacity: 1;
}

.newsletter {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    opacity: 0.6;
}

/* =========================
   ANIMATIONS
========================= */

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.9s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
    }

    .float-tag {
        display: none;
    }
}

/* =========================
   ULTRA PREMIUM FLOATING NAVBAR
========================= */

.floating-navbar {
    position: fixed;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 56px);
    max-width: 1180px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: 26px;
    padding: 14px 26px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.45);
    transition: all 0.45s cubic-bezier(.4, 0, .2, 1);
}

/* Scroll refinement */
.floating-navbar.scrolled {
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(26px);
    padding: 10px 22px;
}

/* Brand */
.floating-navbar .navbar-brand {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.6px;
}

.floating-navbar .navbar-brand span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav links */
.floating-navbar .nav-link {
    position: relative;
    font-weight: 500;
    color: #0f172a;
    padding: 10px 14px;
    margin: 0 2px;
    border-radius: 14px;
    transition: all 0.35s ease;
}

/* underline glow */
.floating-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 4px;
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

.floating-navbar .nav-link:hover::after {
    width: 60%;
}

.floating-navbar .nav-link:hover {
    color: var(--blue);
}

/* CTA BUTTON */
.nav-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    background: var(--gradient);
    box-shadow:
        0 12px 30px rgba(29, 7, 160, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    transition: all 0.35s ease;
    overflow: hidden;
}

/* CTA glow */
.nav-cta::before {
    content: "";
    position: absolute;
    inset: -60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-cta:hover::before {
    opacity: 1;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow:
        0 20px 45px rgba(29, 7, 160, 0.45);
}

/* Toggler */
.floating-navbar .navbar-toggler {
    border: none;
    font-size: 1.6rem;
}

.floating-navbar .navbar-toggler:focus {
    box-shadow: none;
}

/* SOCIAL ICONS NAVBAR */
.social-nav {
    align-items: center;
}

.social-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    transition: all 0.35s ease;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.social-icon i {
    font-size: 1.1rem;
}

.social-icon:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(29, 7, 160, 0.35);
}

/* HERO MONTAGE */

.hero-montage {
    position: relative;
    height: 420px;
}

.ai-float {
    position: absolute;
    width: 65%;
    border-radius: 22px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.18);
    animation: floatSlow 8s ease-in-out infinite;
}

.ai-float.one {
    top: 0;
    left: 0;
}

.ai-float.two {
    top: 90px;
    right: 0;
    width: 55%;
    animation-delay: 3s;
}

.ai-float.three {
    bottom: 0;
    left: 20%;
    width: 45%;
    animation-delay: 6s;
}

.ai-float.four {
    bottom: 0;
    left: -10%;
    width: 65%;
    animation-delay: 4s;
    top: 62%;
}

@keyframes floatSlow {

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

    50% {
        transform: translateY(-18px);
    }
}

/* LABELS */
.float-label {
    position: absolute;
    top: 30%;
    left: -20px;
    background: white;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    animation: labelFloat 6s ease-in-out infinite;
}

.float-label.second {
    top: auto;
    bottom: 20%;
    right: -20px;
    left: auto;
    animation-delay: 3s;
}

@keyframes labelFloat {

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

    50% {
        transform: translateY(-12px);
    }
}

/* ABOUT INFOGRAPHIC */

.about-card {
    background: white;
    border-radius: 24px;
    padding: 36px;
    height: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.07);
    transition: 0.4s ease;
}

/*
.about-card i {
  font-size: 30px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}*/


.about-card i {
    font-size: 30px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.12);
}

.services-apple {
    max-width: 1100px;
    margin: auto;
}

/*.services-header { max-width: 520px; margin-bottom: 60px; }*/

.services-header {
    max-width: 650px;
    margin-bottom: 60px;
}

.service-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 32px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    margin-bottom: 28px;
    transition: 0.5s ease;
}

.service-row i {
    font-size: 34px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-row:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.12);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
}

.partner-pill {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);
    border-radius: 999px;
    padding: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.partner-pill img {
    max-height: 50px;
}

.partner-pill:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 80px rgba(29, 7, 160, 0.25);
}

.news-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 30px 0;
}

.news-card {
    min-width: 280px;
    background: white;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.15);
}

.news-date {
    font-size: 12px;
    opacity: 0.6;
}

.footer-floating {
    max-width: 1100px;
    margin: 120px auto 60px;
    padding: 50px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    box-shadow:
        0 40px 120px rgba(29, 7, 160, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    position: relative;
}

.footer-floating::before {
    content: "";
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at bottom left,
            rgba(254, 148, 92, 0.25),
            transparent 60%);
    filter: blur(60px);
    z-index: -1;
}

.footer-floating a {
    display: block;
    margin-bottom: 6px;
    opacity: 0.7;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    opacity: 0.5;
}

/* ======================================
   FOOTER — Fix Explore Column Position
   ====================================== */

/* Make the middle column vertically centered */
.footer-floating .col-md-4:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* centers vertically */
    padding-left: 90px;
    /* pushes slightly to the center */
}

/* Margin tweak so Explore title isn't glued to left */
.footer-floating .col-md-4:nth-child(2) h6 {
    margin-left: 2px;
}

/* Reduce side gaps on all footer columns */
.footer-floating .col-md-4 {
    padding-left: 10px;
    padding-right: 10px;
}

/* ======================================
   FOOTER — Links same style as NAVBAR
   ====================================== */

/* Base style */
.footer-floating a {
    position: relative;
    display: inline-block;
    font-size: 12px !important;
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 3px;
    transition: color 0.25s ease;
}

/* Hover text color */
.footer-floating a:hover {
    color: var(--blue);
    transition: transform 0.25s ease;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center !important;
    color: var(--blue) !important;
    margin: 0 !important;
    margin-top: 30px !important;
    opacity: 1 !important;
    border-top: 1px solid #1d07a029;
    padding-top: 20px;
}

.eudisclaimer {
    font-size: 10px !important;

    margin-bottom: 0px !important;
}

/* Footer titles stronger weight (match Services cards) */
.footer-floating h6 {
    font-size: 0.95rem;
    font-weight: 700;
    /* stronger, like service cards */
    margin-bottom: 12px;
    color: #111;
    letter-spacing: 0.2px;
    /* subtle sharpness */
}

/* ======================================
   FOOTER — Paragraphs font size
   ====================================== */

.footer-floating p {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #444;
    text-align: justify;
    margin-top: 10px;
}

/* =======================
   FOOTER CONTACT BLOCK
   ======================= */

/* Title more bold (already asked before) */
.footer-contact h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.badge-soft-h6 {
    background: rgba(29, 7, 160, 0.12);
    color: var(--blue);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    width: 50%;
    margin-bottom: 12px;
    width: auto;
    max-width: 105px;
    text-transform: uppercase;
    text-decoration: none !important;
}

.badge-soft-h6:hover {
    background: var(--gradient) !important;
    transition: 0.6s ease !important;
    color: #fff !important;
}

/* Each contact row */
.footer-contact-item {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
}

/* Icons aligned & sized */
.footer-contact-item i {
    font-size: 14px;
    color: var(--blue);
    line-height: 1;
    /* fixes vertical alignment */
    margin-top: 1px;
    /* tiny optical adjustment */
}

/* Text (span) */
.footer-contact-item span {
    font-size: 12px;
    color: #444;
    line-height: 1.3;
}

/* Email link */
.footer-contact-item a {
    font-size: 12px;
    color: var(--blue);
    text-decoration: none;
    line-height: 1.3;
}

/* Hover = only underline (no ::after animation) */
.footer-contact-item a:hover {
    text-decoration: underline;
    color: var(--blue);
}


/* Small screens */
@media (max-width: 768px) {
    .footer-floating .col-md-4:nth-child(2) {
        padding-left: 0;
        align-items: center;
        text-align: center;
    }
}

.fade-in,
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.fade-in.show,
.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.partners-hero {
    padding: 160px 0 100px;
    text-align: center;
    background: radial-gradient(circle at top,
            rgba(254, 148, 92, .15),
            transparent 70%);
}

.partners-hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

.partners-hero p {
    max-width: 700px;
    margin: 1rem auto 0;
    color: #555;
}

.partner-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.partner-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    max-width: 175px;
    filter: grayscale(100%);
    opacity: .85;
    transition: all .45s ease;
}

.partner-row:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

.partner-content h4 {
    font-weight: 600;
}

.partner-content p {
    color: #555;
    margin: .75rem 0 1.25rem;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s cubic-bezier(.2, .8, .2, 1);
}

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

.hero-partners {
    padding-top: 160px;
    padding-bottom: 120px;
}

.hero-partners h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.partners-montage .ai-float {
    border-radius: 18px;
    box-shadow:
        0 20px 60px rgba(30, 144, 255, .15),
        0 10px 30px rgba(255, 140, 0, .15);
    opacity: .95;
}

.partners-montage .ai-float {
    animation-duration: 9s;
}

.partners-montage .float-label {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(12px);
    color: #222;
}

.section-divider-glow {
    height: 1px;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(90deg,
            transparent,
            rgba(254, 148, 92, .4),
            rgba(29, 7, 160, .4),
            transparent);
}

/* LOGO HOVER */
.partner-logo-wrap {
    position: relative;
    transition: transform .4s ease;
}

.partner-logo-wrap:hover {
    transform: translateY(-6px) scale(1.04);
}

.partner-logo {
    filter: grayscale(100%);
    opacity: .75;
    transition: all .4s ease;
}

.partner-logo-wrap:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* COUNTRY LABEL */
.partner-country {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    font-size: .75rem;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    opacity: 0;
    transition: all .3s ease;
    white-space: nowrap;
}

.partner-logo-wrap:hover .partner-country {
    opacity: 1;
    bottom: -22px;
}

/* ROW MICRO INTERACTION */
.partner-row {
    transition: all .4s ease;
}

.partner-row:hover {
    transform: translateX(6px);
}

/* ACCORDION */
.accordion-toggle {
    background: none;
    border: none;
    padding: 0;
    margin: 10px 0;
    font-weight: 500;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.accordion-toggle i {
    transition: transform .3s ease;
}

.accordion-toggle.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, opacity .3s ease;
    opacity: 0;
    text-align: justify;
}

.accordion-content.open {
    max-height: 300px;
    opacity: 1;
}

.partner-logo-wrap {
    position: relative;
}

/* COUNTRY LABEL (row hover) */
.partner-country {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    padding: 6px 16px;
    font-size: .75rem;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: all .35s ease;
}

.partner-row:hover .partner-country {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Coming soon styling (optional) */
.pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef5ff;
    color: var(--blue);
    font-weight: 600;
    font-size: .85rem;
}

.section--muted {
    background: #fafafb;
}

.card.placeholder {
    padding: 16px;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.skeleton {
    height: 12px;
    background: linear-gradient(90deg, #f2f4f7 25%, #e5e7eb 37%, #f2f4f7 63%);
    background-size: 400% 100%;
    animation: sheen 1.2s infinite;
    border-radius: 8px;
    margin: 10px 0;
}

.skeleton-title {
    height: 18px;
    width: 60%;
}

.skeleton-text {
    width: 100%;
}

.skeleton-text.short {
    width: 70%;
}

@keyframes sheen {
    0% {
        background-position: 100% 0
    }

    100% {
        background-position: 0 0
    }
}

/* ===== PARTICLES LAYER (single source of truth) ===== */
#particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* Ensure content sits above the canvas */
header,
main,
footer {
    position: relative;
    z-index: 1;
}

/* Keep hero & glow on top of canvas */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    inset: auto auto -20% -10%;
    width: 60vmax;
    height: 60vmax;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(29, 7, 160, .25), rgba(29, 7, 160, 0) 60%);
    pointer-events: none;
    transition: transform .2s ease-out;
}

/* ========== Utilities for placeholder grid ========== */
.grid {
    display: grid;
    gap: 24px;
}

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

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Generic card to wrap skeletons */
.card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f7;
}

/* Optional: spacing if you're not using Bootstrap */
.mt-4 {
    margin-top: 1.5rem;
}

/* ===== Newsfeed page controls (namespaced) ===== */
.newsfeed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.newsfeed-actions {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.newsfeed-btn {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #eef2f7;
    color: #0f172a;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.newsfeed-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(29, 7, 160, 0.18);
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

.newsfeed-edge {
    position: relative;
}

.newsfeed-edge::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(249, 250, 251, 0), rgba(249, 250, 251, 1));
}

@media (max-width: 768px) {
    .newsfeed-edge::after {
        width: 40px;
    }
}

/* Make dates a touch subtler if not already */
.news-card .news-date {
    opacity: .6;
    margin-bottom: .5rem;
    display: block;
}

.news-card .accordion-toggle {
    margin-top: .5rem;
}

/* ============ NEWSFEED PREMIUM CAROUSEL ============ */
.newsfeed-wrapper {
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.newsfeed-cards {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px;
}

.newsfeed-cards::-webkit-scrollbar {
    display: none;
}

.newsfeed-card {
    position: relative;
    min-width: 360px;
    height: 240px;
    border-radius: 22px;
    overflow: hidden;
    background: #ddd;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
    cursor: pointer;
    transition: transform .35s ease, box-shadow .35s ease;
}

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

.newsfeed-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 80px rgba(29, 7, 160, 0.25);
}

/* Overlay */
.news-overlay {
    position: absolute;
    inset: 0;
    padding: 18px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(15, 23, 42, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.news-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Arrows */
.newsfeed-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-size: 24px;
    line-height: 0;
    transition: 0.35s ease;
    z-index: 10;
}

.newsfeed-arrow:hover {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 20px 45px rgba(29, 7, 160, 0.35);
}

.newsfeed-arrow.left {
    left: 0;
}

.newsfeed-arrow.right {
    right: 0;
}

/* =========================
   NEWSFEED – Premium Carousel
========================= */

.newsfeed-cards {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 4px;
}

.newsfeed-cards::-webkit-scrollbar {
    display: none;
}

.newsfeed-card {
    position: relative;
    min-width: 340px;
    height: 240px;
    border-radius: 22px;
    overflow: hidden;
    background: #eee;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    transition: transform .35s ease, box-shadow .35s ease;
}

.newsfeed-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 80px rgba(29, 7, 160, 0.25);
}

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

/* Overlay */
.news-overlay {
    position: absolute;
    inset: 0;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(15, 23, 42, 0.65) 100%);
    color: white;
}

.news-overlay h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Arrow buttons */
.newsfeed-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-size: 22px;
    transition: 0.3s ease;
}

.newsfeed-btn:hover {
    background: var(--gradient);
    color: white;
    box-shadow: 0 20px 45px rgba(29, 7, 160, 0.35);
}

/* MOBILE SWIPE (optional but recommended) */
.newsfeed-cards {
    scroll-snap-type: x mandatory;
}

.newsfeed-card {
    scroll-snap-align: start;
}

/* =========================================
   NEWSFEED — PREMIUM CARD STYLE
========================================= */

.newsfeed-cards {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 4px;
}

.newsfeed-cards::-webkit-scrollbar {
    display: none;
}

.newsfeed-card {
    position: relative;
    min-width: 360px;
    height: 260px;
    border-radius: 22px;
    overflow: hidden;
    background: #ddd;
    cursor: pointer;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1),
        box-shadow .4s cubic-bezier(.2, .8, .2, 1);
}

/* Hover premium */
.newsfeed-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 28px 90px rgba(29, 7, 160, 0.28);
}

/* Slight zoom on hover */
.newsfeed-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.newsfeed-card:hover img {
    transform: scale(1.08);
}

/* Overlay gradient */
.news-overlay {
    position: absolute;
    inset: 0;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(15, 23, 42, 0.75) 100%);
    color: white;
}

/* Date */
.news-date {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 4px;
    display: block;
}

/* Title */
.news-overlay h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Read more button */
.news-read-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    color: #0f172a;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s ease;
}

.news-read-btn:hover {
    background: var(--gradient);
    color: white;
    box-shadow: 0 14px 25px rgba(29, 7, 160, 0.35);
}

/* =========================
   NEWSFEED – Premium Cards
========================= */

.newsfeed-header p {
    max-width: 520px;
}

/* Carousel container */
.newsfeed-cards {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 4px;
}

.newsfeed-cards::-webkit-scrollbar {
    display: none;
}

/* Core card */
.newsfeed-card {
    position: relative;
    min-width: 360px;
    height: 260px;
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    background: #ddd;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s cubic-bezier(.2, .8, .2, 1);
}

.newsfeed-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 28px 90px rgba(29, 7, 160, 0.28);
}

/* Image */
.newsfeed-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease-out;
}

/* Parallax effect */
.newsfeed-card:hover img {
    transform: scale(1.08);
}

/* Glow border animated */
.glow-border {
    pointer-events: none;
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 3;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(29, 7, 160, 0.6), rgba(254, 148, 92, 0.6)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s ease;
}

.newsfeed-card:hover .glow-border {
    opacity: 1;
}

/* Overlay bottom content */
.news-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.news-date {
    font-size: 0.85rem;
    opacity: .85;
    margin-bottom: 4px;
    display: block;
}

.news-overlay h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Read more button */
.news-overlay .news-read-btn,
.news-overlay a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    color: #0f172a;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: .3s;
}

.news-overlay .news-read-btn:hover,
.news-overlay a:hover {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 14px 25px rgba(29, 7, 160, 0.35);
}

/* =========================================
   Newsfeed – Premium "Read more" CTA
========================================= */

.news-overlay .news-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .1px;
    box-shadow:
        0 12px 24px rgba(29, 7, 160, .30),
        inset 0 0 0 1px rgba(255, 255, 255, .25);
    transition:
        transform .28s cubic-bezier(.2, .8, .2, 1),
        box-shadow .28s cubic-bezier(.2, .8, .2, 1),
        background .3s ease, filter .3s ease;
    will-change: transform, box-shadow;
}

.news-overlay .news-read-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, .0) 0%,
            rgba(255, 255, 255, .26) 40%,
            rgba(255, 255, 255, .0) 70%);
    opacity: 0;
    transform: translateX(-30%);
    transition: opacity .3s ease, transform .9s ease;
    pointer-events: none;
}

.news-overlay .news-read-btn {
    position: relative;
    overflow: hidden;
}

.news-overlay .news-read-btn:hover,
.news-overlay .news-read-btn:focus-visible {
    transform: translateY(-3px);
    box-shadow:
        0 18px 40px rgba(29, 7, 160, .40),
        inset 0 0 0 1px rgba(255, 255, 255, .35);
}

.news-overlay .news-read-btn:hover::before,
.news-overlay .news-read-btn:focus-visible::before {
    opacity: 1;
    transform: translateX(60%);
}

.news-overlay .news-read-btn .label {
    transform: translateX(0);
    transition: transform .28s ease;
}

.news-overlay .news-read-btn i {
    transform: translateX(0);
    font-size: 1.25rem;
    transition: transform .28s ease, filter .28s ease;
}

.news-overlay .news-read-btn:hover i,
.news-overlay .news-read-btn:focus-visible i {
    transform: translateX(4px);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .15));
}

.news-overlay .news-read-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .65);
    outline-offset: 2px;
}

@media (max-width: 576px) {
    .news-overlay .news-read-btn {
        padding: 9px 16px;
        font-size: .9rem;
    }
}

.news-overlay .news-read-btn.is-glass {
    background: rgba(255, 255, 255, .85);
    color: #0f172a;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .14), inset 0 0 0 1px rgba(255, 255, 255, .45);
}

.news-overlay .news-read-btn.is-glass:hover,
.news-overlay .news-read-btn.is-glass:focus-visible {
    background: var(--gradient);
    color: #fff;
}

/* =========================================
   NEWSFEED – Hover translucent gradient overlay
========================================= */

.newsfeed-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(29, 7, 160, 0.28) 40%,
            rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 1;
    pointer-events: none;
}

.newsfeed-card:hover::before {
    opacity: 1;
}

.news-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.newsfeed-card {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10);
}

.newsfeed-card:hover {
    box-shadow: 0 18px 38px rgba(29, 7, 160, 0.25);
}

/* Reduce extra space between hero and article */
.news-post-content {
    padding-top: 40px !important;
}

.hero-news {
    padding-top: 210px;
    min-height: 70vh;
    padding-bottom: 50px
}

/* Make the article text a bit wider inside the container */
body[data-page="news-post"] .news-article .article-body {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.article-body p {
    text-align: justify;
}

.paragraphinfosocial {
    color: #000;
    font-size: 14px;
    position: relative;
}

hr {
    margin: 2rem 0;
    color: inherit;
    border: 0;
    border-top: #8e8f91 1px solid;
    opacity: .25;
}

.paragraphinfosocial a:hover {
    color: var(--blue);
    transition: all .8s ease;
}

/* Only if needed—your montage sizing is already set via absolute positioning */
.hero-montage img {
    object-fit: cover;
}

/* ========== About subtabs: example-like visual language ========== */

.about-shell-card {
    background: linear-gradient(180deg, rgba(240, 255, 245, .85), rgba(246, 250, 255, .85));
    border-radius: 32px;
    padding: 52px 48px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.04);
    margin-top: 60px;
    margin-bottom: 80px;
}

/* Section headings inside panes */
.about-pane-head .badge-soft {
    padding: 7px 16px;
    border-radius: 999px;
}

.about-pane-head h2 {
    letter-spacing: -.2px;
}

/* Left tabs */
.about-tabs .nav-link {
    border-radius: 999px;
    font-weight: 600;
    padding: 12px 16px;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all .25s ease;
}

.about-tabs .nav-link:hover {
    color: var(--blue);
    border-color: rgba(29, 7, 160, .25);
}

.about-tabs .nav-link.active {
    color: #fff;
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 10px 26px rgba(29, 7, 160, .25);
}

.boldgracefulam {
    font-weight: bold;
    color: var(--orange);
}

#about-subtabs p,
#about-subtabs small,
#about-subtabs li {
    text-align: left;
    text-justify: inter-word;
}

.nopadbot {
    padding-bottom: 35px !important;
}

#about {
    padding-bottom: 50px !important;
}

/* Icon pill 
.icon-badge {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border-radius: 999px; background: #eef5ff; color: var(--blue); font-size: 18px;
}*/


/* Icon pill */
.icon-badge {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #eef5ff;
    color: var(--blue);
    /* Remove font-size here; we’ll control the icon directly */
    flex: 0 0 auto;
    /* Don’t let flexbox shrink the badge */
}




/* Make sure icons inside the badge fit neatly */
.icon-badge i {
    font-size: 22px;
    /* 20px sits nicely inside 40px badge */
    line-height: 1;
    /* Prevent vertical misalignment */
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Surfaces for tiles/cards */
.simple-surface {
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
    border-radius: 22px;
}

/* Keep good spacing between grid items */
.tiles-grid>[class*="col"] {
    margin-bottom: 18px;
}

/* Sticky left nav on desktop */
@media (min-width: 992px) {
    .about-tabs {
        position: sticky;
        top: 120px;
    }
}

@media (max-width: 992px) {
    .footer-floating .col-md-4:nth-child(2) {
        padding-left: 32px;
    }
}

/* Mobile spacing refinements */
@media (max-width: 991.98px) {
    .about-shell-card {
        padding: 36px 24px;
        margin-top: 40px;
        margin-bottom: 60px;
    }
}

/* --- Page-local helpers that complement your style.css --- */
.tabs-shell {
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    margin-top: 60px;
    margin-bottom: 80px;
    padding: 52px 48px;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1400px) {
    .tabs-shell {
        padding-left: 64px;
        padding-right: 64px;
    }
}

.nav-pills.flex-lg-column {
    gap: .5rem;
}

.nav-pills .nav-link {
    border-radius: 999px;
    font-weight: 600;
    padding: 12px 16px;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-pills .nav-link.active {
    color: #fff;
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(29, 7, 160, .25);
}

.tab-content-area {
    padding-left: 24px;
}

.tiles-grid>[class*="col"] {
    margin-bottom: 18px;
}

/* Stats / Visuals */
.stat-tile {
    display: grid;
    place-items: center;
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.stat-h {
    font-weight: 800;
    font-size: 2.25rem;
    margin: 0;
}

.muted {
    opacity: .75;
}

/* Donut */
.donut {
    width: 120px;
    height: 120px;
}

.donut .track {
    stroke: #eef2f7;
}

.donut .bar {
    stroke: var(--blue);
}

.donut text {
    font-weight: 800;
    fill: #0f172a;
    font-size: 7.2px;
}

/* Progress */
.progress {
    height: .75rem;
    border-radius: 999px;
    background: #eef2f7;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(135deg, var(--blue), var(--orange));
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 18px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #e9ecf4;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 18px 18px 18px 46px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 6px #e9ecf4;
    transform: translateX(-50%);
}


.divider-soft {
    height: 1px;
    border: 0;
    margin: 26px 0;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .08), transparent);
}

@media (max-width: 991.98px) {
    .tab-content-area {
        padding-left: 0;
        margin-top: 18px;
    }

    .tabs-shell {
        padding: 28px;
        margin-top: 40px;
        margin-bottom: 60px;
    }
}


/* ===== Mid Banner (brand-matched, minimal) ===== */
.mid-banner {
    min-height: 360px;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.10);
}

/* Background image that parallax code will transform */
.mid-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    /* a tiny scale so parallax translates without revealing edges */
}

/* Brand gradient veil (using your --blue and --orange) */
.mid-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29, 7, 160, .32), rgba(254, 148, 92, .32));
    backdrop-filter: blur(6px);
    border-radius: 32px;
}

/* Badge on banner (keeps your badge-soft tone while ensuring contrast) */
.mid-banner-badge {
    background: rgba(255, 255, 255, .75);
    color: var(--blue);
}

/* CTA on banner (uses your existing .btn.btn-gradient) */
.mid-banner-cta {
    border-radius: 999px;
}

/* Pill links on the right (glass style aligned to your system) */
.mid-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    color: #fff;
    text-decoration: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10),
        inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.mid-pill i {
    font-size: 1.1rem;
    color: var(--orange);
}

.mid-pill:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 16px 42px rgba(29, 7, 160, 0.25);
}

/* Light white-75 helper (for concise overlay copy) */
.text-white-75 {
    color: rgba(255, 255, 255, .78) !important;
}

/* ===== ABOUT cards: match partners' blur/color shadow on hover ===== */
/* Your partners hover uses: box-shadow: 0 25px 80px rgba(29,7,160,0.25); */
.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 80px rgba(29, 7, 160, 0.25);
    /* brand-matched blur */
}

/* Optional: add a soft, animated glow ring similar to news CTA glow */
.about-card:hover::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(29, 7, 160, .45), rgba(254, 148, 92, .45));
    opacity: .18;
    filter: blur(22px);
    z-index: -1;
}

/* Ensure .about-card is positioned for ::after */
.about-card {
    position: relative;
}


/* ABOUT logo: simple, elegant, no constant animation */
.about-logo-wrap {
    display: inline-block;
    padding: 16px 0;
    /* keeps spacing consistent */
}

.about-logo-img {
    display: block;
    max-width: 100%;
    height: auto;
    transition: transform .25s ease, filter .25s ease;
    /* keep it crisp; no default shadow/blur/glow */
}

/* Optional: a very subtle hover — scale up just a touch */
@media (hover: hover) and (pointer: fine) {
    .about-logo-img:hover {
        transform: scale(1.03);
        /* small clarity pop without glow */
        filter: none;
    }
}

/* Respect users who prefer reduced motion — no hover transform */
@media (prefers-reduced-motion: reduce) {
    .about-logo-img {
        transition: none;
    }

    .about-logo-img:hover {
        transform: none;
    }
}

/* ==========================================
   ABOUT & SERVICES TITLES (Gradient Accent)
========================================== */

.section-title-pop {
    font-weight: 800;
    font-size: clamp(2.2rem, 4vw, 3rem);
    letter-spacing: -0.4px;
    line-height: 1.1;
    color: #0f172a;
    /* readable base */
    position: relative;
    display: inline-block;
}

/* Gradient accent word (safe, visible, NO background-clip) */
.section-title-pop .accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* only on accent, not whole title */
    font-weight: 850;
}

/* Gradient underline */
.section-title-pop::after {
    content: "";
    display: block;
    width: 120px;
    height: 1.5px;
    background: var(--gradient);
    border-radius: 4px;
    margin-top: 12px;
    opacity: 0.9;
}

/* =========================
   ABOUT: Continuous, Subtle Logo Animation
   - Gentle float + breathing
   - Soft brand glow pulse
   - Respects reduced motion
========================= */

.about-logo-wrap {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    /* Center and give room for glow */
}

.about-logo-img {
    display: block;
    max-width: 100%;
    height: auto;
    /* Base smoothing */
    will-change: transform, filter;
    /* Continuous animations */
    animation:
        aboutFloat 7.5s ease-in-out infinite,
        aboutBreathe 9s ease-in-out infinite;
}

/* Soft brand glow behind the logo (uses your gradient tokens) */
.about-logo-glow {
    position: absolute;
    inset: -18% -22%;
    border-radius: 50%;
    z-index: -1;
    background: var(--gradient);
    filter: blur(70px);
    opacity: .18;
    animation: aboutGlow 6.5s ease-in-out infinite;
}

/* Hover may add a tiny emphasis but not required */
@media (hover:hover) and (pointer:fine) {
    .about-logo-wrap:hover .about-logo-img {
        /* tiny, classy nudge on hover */
        transform: translateY(-2px) scale(1.02);
    }
}

/* Keyframes */
@keyframes aboutFloat {

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

    50% {
        transform: translateY(-8px);
    }
}

@keyframes aboutBreathe {

    0%,
    100% {
        filter: none;
    }

    50% {
        filter: saturate(1.03) brightness(1.02);
    }
}

@keyframes aboutGlow {

    0%,
    100% {
        opacity: .14;
        transform: scale(1);
    }

    50% {
        opacity: .22;
        transform: scale(1.04);
    }
}

/* Respect user preference: stop continuous motion */
@media (prefers-reduced-motion: reduce) {

    .about-logo-img,
    .about-logo-glow {
        animation: none !important;
        transform: none !important;
        filter: none !important;
    }
}

/* When your reveal JS adds .show, logo subtly arrives */
.fade-in .about-logo-img {
    transform: translateY(10px);
    opacity: 0;
    transition: transform .6s ease, opacity .6s ease;
}

.fade-in.show .about-logo-img {
    transform: translateY(0);
    opacity: 1;
}

/* ABOUT: Wrapper centered + safe area for glow */
.about-logo-wrap {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    /* Prevent the glow from clipping if the parent has overflow rules */
    isolation: isolate;
}

/* Continuous, subtle motion on the logo */
.about-logo-img {
    display: block;
    max-width: 100%;
    height: auto;
    will-change: transform, filter;
    /* base motion: float + breathe */
    animation:
        aboutFloat 7.2s ease-in-out infinite,
        aboutBreathe 8.8s ease-in-out infinite;
}

/* Ambient gradient glow */
.about-logo-glow {
    position: absolute;
    inset: -20% -24%;
    border-radius: 50%;
    z-index: -1;
    background: var(--gradient);
    filter: blur(72px);
    opacity: .18;
    animation: aboutGlow 6.8s ease-in-out infinite;
}

/* Keyframes (calm, premium) */
@keyframes aboutFloat {

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

    50% {
        transform: translateY(-9px)
    }
}

@keyframes aboutBreathe {

    0%,
    100% {
        filter: none
    }

    50% {
        filter: saturate(1.03) brightness(1.02)
    }
}

@keyframes aboutGlow {

    0%,
    100% {
        opacity: .14;
        transform: scale(1)
    }

    50% {
        opacity: .22;
        transform: scale(1.04)
    }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {

    .about-logo-img,
    .about-logo-glow {
        animation: none !important;
        transform: none !important;
        filter: none !important;
    }
}

/* ==========================================
   TEXT JUSTIFICATION (About + Services + Cards)
========================================== */

/* Justify all paragraph text inside ABOUT & SERVICES 
#about p,
#services p,
.about-card p,
.service-row p {
  text-align: justify;
  text-justify: inter-word;
}
*/
/* ==========================================
   CARD TITLES BOLD (About cards + Services cards)
========================================== */
.about-card h6,
.service-row h5 {
    font-weight: 800 !important;
    /* stronger than default */
    letter-spacing: -0.2px;
    color: #0f172a;
    /* crisp readable dark heading */
}

/* Optional: slightly darken icons for hierarchy */
.about-card i,
.service-row i {
    color: var(--blue);
}

/* =========================
   NAVBAR: Consortium dropdown styling
========================= */
.floating-navbar .dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.floating-navbar .dropdown-item {
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 500;
    color: #0f172a;
}

.floating-navbar .dropdown-item:hover,
.floating-navbar .dropdown-item:focus {
    background: rgba(29, 7, 160, 0.08);
    /* subtle brand tint */
    color: var(--blue);
}

@media (max-width: 991.98px) {

    /* Keep dropdown width friendly inside the collapsed menu */
    .floating-navbar .dropdown-menu {
        box-shadow: none;
        border-radius: 12px;
        padding: 6px;
    }
}

/* =========================
   NAVBAR — Consortium dropdown polish
========================= */

/* Make sure the nav underline for the dropdown toggle is the same gradient */
.floating-navbar .dropdown .nav-link::after,
.floating-navbar .dropdown-toggle::after {
    /* use your brand gradient for the animated underline */
    background: var(--gradient) !important;
}

/* Optional: keep the caret aligned and subtle */
.floating-navbar .dropdown-toggle::after {
    margin-left: .35rem;
    /* caret spacing */
    border-top-color: currentColor;
    /* caret color follows link color */
}

/* Desktop-only hover opening (CSS fallback) */
@media (hover:hover) and (pointer:fine) {
    .floating-navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0.25rem;
        /* subtle drop distance */
    }
}

/* Nice surface for the dropdown (you can keep your previous rules if already present) */
.floating-navbar .dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.floating-navbar .dropdown-item {
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 500;
    color: #0f172a;
}

.floating-navbar .dropdown-item:hover,
.floating-navbar .dropdown-item:focus {
    background: rgba(29, 7, 160, 0.08);
    color: var(--blue);
}

/* =========================
   NAVBAR — Make "Consortium" underline match others
   and remove the default caret
========================= */

/* 1) Remove Bootstrap's caret on the dropdown toggle */
.floating-navbar .dropdown-toggle::after {
    content: none !important;
    /* hide caret */
}

/* 2) Ensure the dropdown toggle uses the same hover style as other links */
.floating-navbar .dropdown>.nav-link {
    position: relative;
    font-weight: 500;
    color: #0f172a;
    /* same base color as other links */
    padding: 10px 14px;
    margin: 0 2px;
    border-radius: 14px;
    transition: all .35s ease;
}

/* 3) Recreate the tiny gradient underline for the dropdown toggle,
      using the exact pattern you have for .nav-link::after */
.floating-navbar .dropdown>.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 0;
    /* start hidden */
    height: 2px;
    background: var(--gradient);
    /* <-- same gradient as others */
    border-radius: 4px;
    transform: translateX(-50%);
    transition: width .35s ease;
}

/* 4) On hover/focus, reveal the same tiny underline width */
.floating-navbar .dropdown>.nav-link:hover::after,
.floating-navbar .dropdown>.nav-link:focus-visible::after,
.floating-navbar .dropdown.show>.nav-link::after

/* menu open state */
    {
    width: 60%;
    /* same as other items */
}

/* 5) Keep hover color consistent with other links */
.floating-navbar .dropdown>.nav-link:hover,
.floating-navbar .dropdown>.nav-link:focus-visible,
.floating-navbar .dropdown.show>.nav-link {
    color: var(--blue);
    /* same subtle color shift as others */
}

/* 6) Optional: align dropdown menu with your glass style (already similar in your CSS) */
.floating-navbar .dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* 7) Optional: ensure dropdown items feel consistent on hover */
.floating-navbar .dropdown-item {
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 500;
    color: #0f172a;
}

.floating-navbar .dropdown-item:hover,
.floating-navbar .dropdown-item:focus {
    background: rgba(29, 7, 160, 0.08);
    color: var(--blue);
}

/* =========================================================
   NAVBAR • Consortium dropdown: tiny gradient underline, caret off
   (Specificity tuned to beat Bootstrap and prior rules)
========================================================= */

/* 1) Hide Bootstrap caret on the Consortium toggle */
.floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle::after {
    content: none !important;
}

/* 2) Ensure the toggle uses the same base style as other links */
.floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle {
    position: relative;
    font-weight: 500;
    color: #0f172a;
    padding: 10px 14px;
    margin: 0 2px;
    border-radius: 14px;
    transition: all .35s ease;
}

/* 3) Recreate the tiny gradient underline (start hidden) */
.floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 0;
    height: 2px;
    border-radius: 4px;
    background: var(--gradient);
    transform: translateX(-50%);
    transition: width .35s ease;
    pointer-events: none;
}

/* 4) Show underline on hover/focus/open (match other links’ behavior) */
@media (hover:hover) and (pointer:fine) {

    .floating-navbar .nav-item.dropdown:hover>.nav-link.dropdown-toggle::before,
    .floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle:focus-visible::before,
    .floating-navbar .nav-item.dropdown.show>.nav-link.dropdown-toggle::before {
        width: 60%;
    }
}

/* 5) Keep hover color consistent with other links */
.floating-navbar .nav-item.dropdown:hover>.nav-link.dropdown-toggle,
.floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle:focus-visible,
.floating-navbar .nav-item.dropdown.show>.nav-link.dropdown-toggle {
    color: var(--blue);
}

/* (Optional) If any older rule was forcing a solid blue underline,
   neutralize it just for the dropdown toggle */
.floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle::after {
    background: none !important;
    /* only affects the toggle, not other links */
}


/* JS-based active state (no data-page needed) */
.floating-navbar .nav-link.is-active {
    color: var(--blue);
}

.floating-navbar .nav-link.is-active::after {
    width: 60%;
    background: var(--gradient);
}

/* Special underline for Consortium toggle which uses ::before */
.floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle.is-active-consortium::before {
    width: 60%;
    background: var(--gradient);
}

/* =========================
   CONSORTIUM dropdown – transição suave
   Troque a duração em --ddur para 0.5s, 3s ou 5s
========================= */
:root {
    --ddur: 0.5s;
}

/* Recomendado 0.5s; se quiser 3s ou 5s, altere aqui */

.floating-navbar .dropdown-menu {
    /* estilo vidro que você já tem (pode manter o seu) */
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
    padding: 8px;

    /* animação */
    opacity: 0;
    transform: translateY(8px);
    visibility: hidden;
    transition:
        opacity var(--ddur) ease,
        transform var(--ddur) ease,
        visibility 0s linear calc(var(--ddur));
}

/* Quando .show (Bootstrap) estiver presente, exibimos com fade+drop */
.floating-navbar .dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition:
        opacity var(--ddur) ease,
        transform var(--ddur) ease,
        visibility 0s;
}

/* Dropdown items (coerência visual) */
.floating-navbar .dropdown-item {
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 500;
    color: #0f172a;
}

.floating-navbar .dropdown-item:hover,
.floating-navbar .dropdown-item:focus {
    background: rgba(29, 7, 160, 0.08);
    color: var(--blue);
}

/* Mantém o sublinhado gradiente e sem caret, como já ajustamos */
.floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle::after {
    content: none !important;
}

.floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle {
    position: relative;
    font-weight: 500;
    color: #0f172a;
    padding: 10px 14px;
    margin: 0 2px;
    border-radius: 14px;
    transition: all .35s ease;
}

.floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 0;
    height: 2px;
    border-radius: 4px;
    background: var(--gradient);
    transform: translateX(-50%);
    transition: width .35s ease;
}

@media (hover:hover) and (pointer:fine) {

    .floating-navbar .nav-item.dropdown:hover>.nav-link.dropdown-toggle::before,
    .floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle:focus-visible::before,
    .floating-navbar .nav-item.dropdown.show>.nav-link.dropdown-toggle::before {
        width: 60%;
    }
}

.floating-navbar .nav-item.dropdown:hover>.nav-link.dropdown-toggle,
.floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle:focus-visible,
.floating-navbar .nav-item.dropdown.show>.nav-link.dropdown-toggle {
    color: var(--blue);
}

/* JS-based active state (common links) */
.floating-navbar .nav-link.is-active {
    color: var(--blue);
}

.floating-navbar .nav-link.is-active::after {
    width: 60%;
    background: var(--gradient);
}

/* Consortium dropdown toggle uses ::before for the underline */
.floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle.is-active-consortium::before {
    width: 60%;
    background: var(--gradient);
}

/* OPTIONAL: highlight active submenu item inside Consortium dropdown */
.floating-navbar .dropdown-menu .dropdown-item.is-active {
    color: var(--blue);
    background: rgba(29, 7, 160, 0.08);
    border-radius: 10px;
}

/* =========================================================
   Fix: make "Consortium" text BLUE when active
   (Partners / Associated Partners pages)
   Place at the very end of style.css
========================================================= */

/* If you use the JS approach (adds .is-active / .is-active-consortium) */
.floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle.is-active,
.floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle.is-active-consortium {
    color: var(--blue) !important;
    /* beat the base #0f172a rule */
}

/* If you use the body[data-page="consortium"] approach */
body[data-page="consortium"] .floating-navbar .nav-item.dropdown>.nav-link.dropdown-toggle {
    color: var(--blue) !important;
}

/* (Optional) also keep the matching submenu item blue when on that page */
.floating-navbar .dropdown-menu .dropdown-item.is-active {
    color: var(--blue) !important;
    background: rgba(29, 7, 160, 0.08);
    /* subtle brand tint */
    border-radius: 10px;
}

/* Default (non-hover) — govern the exit speed */
[data-parallax] img {
    transition: transform .50s cubic-bezier(.2, .8, .2, 1);
}

/* On hover — govern the enter speed */
@media (hover:hover) and (pointer:fine) {
    [data-parallax]:hover img {
        transition-duration: .35s;
        /* quicker in */
    }
}

/* =========================================================
   SERVICES — Blue blur/glow hover (match About cards)
   - Same shadow recipe and soft gradient haze
   - Keeps your current layout & animations
========================================================= */

/* Ensure the service tile can host the pseudo glow */
.service-row {
    position: relative;
    /* required for ::after positioning */
    border: 1px solid #eef2f7;
    /* keep your clean surface edge */
    background: #fff;
    /* flat surface like your minimal style */
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* Hover: lift + blue-tinted shadow (like About) */
.service-row:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 80px rgba(29, 7, 160, 0.25);
    /* same blue blur as About */
    border-color: rgba(29, 7, 160, 0.16);
    /* subtle brand tint */
}

/* Soft gradient haze ring, same language as About */
.service-row:hover::after {
    content: "";
    position: absolute;
    inset: -2px;
    /* slightly outside the card bounds */
    border-radius: 26px;
    /* match your service-row radius */
    background: linear-gradient(135deg, rgba(29, 7, 160, .45), rgba(254, 148, 92, .45));
    opacity: .18;
    /* subtle! */
    filter: blur(22px);
    z-index: -1;
    /* sit behind the tile */
}

/* (If your service-row has a different border-radius, sync it here) */
.service-row {
    border-radius: 26px;
}

/* adjust to your existing radius */

/* Keep icons and headings crisp */
.service-row i {
    color: var(--blue);
}

.service-row h5 {
    font-weight: 800;
    /* you asked to bold titles */
    letter-spacing: -0.2px;
    color: #0f172a;
}

/* Respect reduced-motion users (optional) */
@media (prefers-reduced-motion: reduce) {
    .service-row {
        transition: border-color .2s ease, box-shadow .2s ease;
    }

    .service-row:hover {
        transform: none;
    }
}


/* =====================================================
   PRELOADER — grAceful AM Styled (safe to replace)
   ===================================================== */

/* Fullscreen wrapper */
#preloader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px) saturate(1.5);
    -webkit-backdrop-filter: blur(14px) saturate(1.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 1;
    pointer-events: auto;

    transition: opacity .45s ease;
    z-index: 999999;
}

/* Loader spinner (clean, modern, gradient theme) */
.loader {
    width: 70px;
    height: 70px;
    border: 6px solid rgba(0, 0, 0, 0.1);
    border-top: 6px solid var(--orange);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;

    /* soft glow */
    filter: drop-shadow(0 0 10px rgba(254, 148, 92, 0.45));
    margin-bottom: 18px;
}

/* Spin animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Percentage text */
.loader-percent {
    font-size: 16px;
    font-weight: 600;
    color: var(--blue);
    user-select: none;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
    letter-spacing: .5px;
    font-family: 'Inter', sans-serif;
}

/* Optional subtle pulse to match brand aesthetic */
@keyframes softPulse {
    0% {
        opacity: .85;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.03);
    }

    100% {
        opacity: .85;
        transform: scale(1);
    }
}

/* Remove weird offset the old version had */
.loader-percent {
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 480px) {
    .loader {
        width: 55px;
        height: 55px;
        border-width: 5px;
    }

    .loader-percent {
        font-size: 14px;
    }
}

.partners-carousel img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    opacity: 0.95;
    transition: transform .3s ease, opacity .3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.05));
}

.partners-carousel img:hover {
    transform: scale(1.06);
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    display: none !important;
}

@media (max-width: 768px) {
    .partners-carousel img {
        max-height: 60px;
    }
}


/* ============================
   PARTNERS CAROUSEL — CLEAN + PREMIUM
   ============================ */

/* Secção base */
#partners,
#projecthighlight {
    /*  padding-top: 40px;
    padding-bottom: 70px;*/
    padding-top: 20px;
    padding-bottom: 35px;
}

#partners .section-title-pop {
    text-align: center !important;
}

#partners .badge-soft {
    margin-bottom: 0px;
    display: inline-block;
}

/* Remove background, radius e sombras das pílulas originais */
.partners-carousel .partner-pill {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* Logos maiores, limpos e com sombra leve */
.partners-carousel img {
    max-height: 80px;
    /* <<< LOGOS MAIORES */
    width: auto;
    object-fit: contain;
    opacity: 0.95;
    transition: transform .30s ease, opacity .30s ease;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.06));
    /* sombra suave */
}

.partners-carousel img:hover {
    transform: scale(1.06);
    opacity: 1;
}

/* Transição suave de cada slide */
.partners-carousel .carousel-item {
    transition: opacity .6s ease;
}

/* Limita a largura para alinhar bem em ecrãs grandes */
.partners-carousel .row {
    max-width: 980px;
    /* <<< ideal para 4 logos grandes */
    margin: 0 auto;
    justify-content: center;
}

/* Remove setas do Bootstrap (não queremos UI visual) */
#partnersCarousel .carousel-control-prev,
#partnersCarousel .carousel-control-next {
    display: none !important;
}

/* Fix: Center line under section-title-pop */
#partners .section-title-pop {
    position: relative;
    text-align: center !important;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

/* Center the decorative line */
#partners .section-title-pop::after {
    left: 0%;
    transform: translateX(0%);
    margin: 0 auto;
    margin-top: 12px;
    width: 200px;
    height: 1.5px;
}

/* Wrapper vertical para título da secção */
.section-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Badge centrada */
.section-title-wrap .badge-soft {
    margin-bottom: 10px;
    display: inline-block;
}

/* Forçar título a ser bloco para alinhar linha ::after */
.section-title-wrap .section-title-pop {
    text-align: center !important;
    display: inline-block;
    position: relative;
}

/* Centrar perfeitamente a linha decorativa */
.section-title-wrap .section-title-pop::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ============
   RESPONSIVO
   ============ */

@media (max-width: 992px) {
    .partners-carousel img {
        max-height: 85px;
    }

    .partners-carousel .row {
        max-width: 860px;
    }
}

@media (max-width: 768px) {
    .partners-carousel img {
        max-height: 75px;
    }

    .partners-carousel .row {
        max-width: 620px;
    }
}

@media (max-width: 576px) {
    .partners-carousel img {
        max-height: 60px;
    }

    .partners-carousel .row {
        max-width: 460px;
    }
}


/* =========================================================
   IMPLEMENTATION — Accordion look & feel (HARMONIZED)
   ========================================================= */

.accordion-steps .accordion-item {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* Hover lift (match About cards & Services) */
.accordion-steps .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 80px rgba(29, 7, 160, 0.22);
    border-color: rgba(29, 7, 160, 0.16);
}

/* Header button */
.accordion-steps .accordion-button {
    background: transparent;
    box-shadow: none !important;
    padding: 16px 18px;
    gap: 8px;
    align-items: center;
}

/* Icon inside header */
.accordion-steps .accordion-button i {
    font-size: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* Open state */
.accordion-steps .accordion-button:not(.collapsed) {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.95);
}

/* Body spacing */
.accordion-steps .accordion-body {
    padding: 20px 30px 20px 30px;
}

/* Remove Bootstrap caret */
.accordion-steps .accordion-button::after {
    display: none;
}

/* Custom caret */
.accordion-caret {
    font-size: 1rem;
    color: #334155;
    margin-left: auto;
    transition: transform .25s ease, color .25s ease;
    -webkit-text-fill-color: initial !important;
    background: none !important;
}

.accordion-steps .accordion-button:not(.collapsed) .accordion-caret {
    transform: rotate(180deg);
    color: var(--blue);
}

/* Focus ring */
.accordion-steps .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(29, 7, 160, 0.18) !important;
    border-radius: 12px;
}

/* Mobile */
@media (max-width: 576px) {
    .accordion-steps .accordion-button {
        padding: 14px 14px;
    }

    .accordion-steps .accordion-body {
        padding: 0 14px 14px 40px;
    }
}

/* Remove box-shadow/background ONLY in implementation wrapper */
.impl-surface-reset.simple-surface {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* Keep focus-style glow also when the accordion is open */
.accordion-steps .accordion-button:not(.collapsed) {
    box-shadow: 0 0 0 3px rgba(29, 7, 160, 0.18) !important;
    border-radius: 12px;
}

/* Justify text inside Implementation accordion content */
.accordion-steps .accordion-body small,
.accordion-steps .accordion-body p,
.accordion-steps .accordion-body {
    text-align: justify;
    text-justify: inter-word;
}



/* PARTNERS DOTS */
.partners-dots {
    position: static !important;
    margin-top: 20px;
}

.partners-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(29, 7, 160, .25) !important;
    border: none;
    margin: 0 6px;
    transition: all .35s ease;
}

.partners-dots button.active {
    background: var(--gradient) !important;
    transform: scale(1.3);
}

/* FIX PARTNERS CAROUSEL DOTS OVERLAYING LOGOS */
#partnersCarousel .carousel-indicators {
    position: static !important;
    /* remove absolute positioning */
    margin-top: 30px !important;
    /* push the dots down */
    display: flex !important;
    justify-content: center !important;
    gap: 10px;
}

#partnersCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(29, 7, 160, 0.30) !important;
    border: none;
    transition: 0.3s ease;
}

#partnersCarousel .carousel-indicators .active {
    background: var(--gradient) !important;
    transform: scale(1.3);
}

/* --- FORCE PARTNERS CAROUSEL DOTS TO APPEAR --- */
#partnersCarousel .carousel-indicators {
    position: static !important;
    margin-top: 40px !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    justify-content: center;
    gap: 10px;
}

#partnersCarousel .carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    background: rgba(29, 7, 160, 0.30) !important;
    border-radius: 50%;
    border: none;
}

#partnersCarousel .carousel-indicators .active {
    background: var(--gradient) !important;
    transform: scale(1.25);
}

/* ============================
   PARTNERS CAROUSEL — PLACE DOTS BELOW LOGOS
   ============================ */
#partnersCarousel {
    position: relative;
    /*padding-bottom: 50px;*/
    /* creates space for dots */
}

#partnersCarousel .carousel-indicators {
    position: absolute !important;
    bottom: 0 !important;
    /* send dots to bottom OUTSIDE slide area */
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex !important;
    justify-content: center;
    gap: 10px;
}

#partnersCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(29, 7, 160, .25) !important;
    border: none;
    transition: .3s;
}

#partnersCarousel .carousel-indicators .active {
    background: var(--gradient) !important;
    transform: scale(1.25);
}

/* Push partners carousel dots LOWER below the logos */
#partnersCarousel .carousel-inner {
    padding-bottom: 70px !important;
    /* adjust height of slide */
}

#partnersCarousel .carousel-indicators {
    bottom: 10px !important;
    /* now bottom relative to the new padding */
}