/* =========================================================
   PUBLIC WEBSITE SECTIONS (marketing pages)
   ========================================================= */

/* =========================================================
   HERO SECTION (public pages)
   ========================================================= */

.hero-section {
    position: relative;
    padding: 5.5rem 0 4rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #F7F7F7 60%, #F0F0F0 100%);
    overflow: hidden;
}

/* Home hero should feel like a strong band (not full page but tall) */
.home-page .hero-section {
    min-height: 82vh;
    background-color: #020617; /* deep navy under media */
}

/* =========================================
   SERVICES PAGE – HERO TYPOGRAPHY + FADE IN
   ========================================= */
/* Shared hero styling for Services + Digital pages */
.services-page .services-hero .hero-title-sub,
.digital-page  .services-hero .hero-title-sub 
.about-page .services-hero .hero-title-sub {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d4af37;
}

/* Base animation */
@keyframes heroFadeUpSoft {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtitle + highlight get a soft fade/slide (similar feel to index slides) */
.services-page .services-hero .hero-subtitle,
.services-page .services-hero .hero-highlight,
.digital-page  .services-hero .hero-subtitle,
.digital-page  .services-hero .hero-highlight, 
.about-page    .services-hero .hero-subtitle {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.02rem;
    line-height: 1.8;
    color: #4b5563;
    opacity: 0;
    transform: translateY(10px);
    animation: heroFadeUpSoft 0.85s ease-out forwards;
}

.about-page    .services-hero .hero-highlight {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.3rem;
    line-height: 1.8;
    color: #4b5563;
    opacity: 0;
    transform: translateY(10px);
    margin-top: 3rem;
    animation: heroFadeUpSoft 0.85s ease-out forwards;
}

/* Small delay so highlight follows subtitle (Digital hero may skip highlight) */
.services-page .services-hero .hero-highlight,
.digital-page  .services-hero .hero-highlight 
.about-page    .services-hero .hero-highlight {
    font-weight: 500;
    color: #8a6b13;
    animation-delay: 0.15s;
}


/* ===== HOME PAGE HERO MEDIA (VIDEO + IMAGE SLIDER) ===== */

/* Media layer: wraps video + image + overlay */
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Video: used when available in "video" mode */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* -------- HERO MUTE BUTTON -------- */
.hero-mute-btn {
    position: absolute;
    bottom: 22px;
    right: 28px;
    z-index: 50;
    background: rgba(0,0,0,0.45);
    color: #ffd84d;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 20px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.3s ease;
}

.hero-mute-btn:hover {
    background: rgba(0,0,0,0.7);
}

/* Subtle pulse ring behind mute button */
.hero-mute-btn::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 1px solid rgba(250, 204, 21, 0.45);
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.hero-mute-btn:hover::after {
    animation: heroMutePulse 1.4s ease-out forwards;
}

@keyframes heroMutePulse {
    0% {
        opacity: 0.7;
        transform: scale(0.9);
    }
    100% {
        opacity: 0;
        transform: scale(1.25);
    }
}


/* Single background layer, JS will change its background-image */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Dark overlay on top of media – slightly lighter, with subtle gold glow */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), transparent 50%),
        linear-gradient(120deg,
            rgba(15, 23, 42, 0.88),
            rgba(15, 23, 42, 0.55));
}

/* Content sits above media */
.home-page .hero-inner {
    position: relative;
    z-index: 1;
}

/* Hero text colours on image (home) */
.home-page .hero-kicker {
    color: #facc15;
}

.home-page .hero-title,
.home-page .hero-title span {
    color: #f9fafb;
}

.home-page .hero-subtitle {
    color: #e5e7eb;
}

.home-page .hero-highlight {
    color: #fde68a;
}

/* Layout for hero inner content */
.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

/* Left column (text) */
.hero-content {
    flex: 1.2;
    max-width: 34rem; /* keeps text in a premium narrow column */
}

/* Main title (two-line tagline block) */
.hero-content h1,
.hero-title {
    font-size: 2.6rem;
    line-height: 1.25;
    margin-bottom: 1.1rem;
    font-style: normal;
    font-family: 'Cormorant Garamond', serif;
}

/* Small uppercase label above main heading */
.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 2.4rem;
    color: #777777;
    font-weight: 700;
    height: auto;
    margin-bottom: 1.6rem !important;
}

/* Second line inside hero title – acts as italic premium tagline */
.hero-title-sub {
    display: block;
    margin-top: 0.85rem;
    padding-left: 0;
    font-weight: 400;
    font-size: 1.6rem;
    font-style: italic;
    letter-spacing: 0.06em;
    color: #facc15;
}

/* Slide subtitle (first line of slide text) */
.hero-subtitle {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 1.0rem;
}

/* Text slides (hero description) */
.hero-slides {
    position: relative;
    min-height: 160px;      /* avoids jump when text changes */
    margin-top: 1.6rem;
    margin-bottom: 2.2rem;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Slide controls (arrows + dots) */
.hero-slide-controls {
    display: flex;
    align-items: center;
    gap: 2.0rem;
    margin-bottom: 2.3rem;
    font-size: 0.8rem;
}

/* Arrows */
.hero-arrow {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(250, 204, 21, 0.8);
    background: rgba(15, 23, 42, 0.75);
    color: #fde68a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.hero-arrow:hover {
    background: rgba(15, 23, 42, 0.95);
}

/* Dots */
.hero-dots {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid rgba(249, 250, 251, 0.7);
    background: transparent;
    cursor: pointer;
}

.hero-dot.active {
    background: #facc15;
    border-color: #facc15;
}

/* Bullet list under hero description (home) */
.hero-bullets {
    list-style: none;
    margin: 1rem 0 1.4rem;
    padding: 0;
}

/* Each line fades in one-by-one */
.hero-bullets li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.95rem;
    color: #e5e7eb;
    margin-bottom: 0.45rem;
    opacity: 0;
    transform: translateY(8px);
    animation: heroBulletIn 0.6s ease-out forwards;
}

/* Small gold dot on the left */
.hero-bullets li::before {
    content: "";
    position: absolute;
    left: 0.3rem;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background-color: #facc15;
}

/* Staggered delay for premium effect */
.hero-bullets li:nth-child(1) {
    animation-delay: 0.25s;
}
.hero-bullets li:nth-child(2) {
    animation-delay: 0.45s;
}
.hero-bullets li:nth-child(3) {
    animation-delay: 0.65s;
}
.hero-bullets li:nth-child(4) {
    animation-delay: 0.85s;
}

/* Label is always visible */
.hero-bullet-label {
    font-weight: 500;
}

/* Detail only shows on hover (for extra text) */
.hero-bullet-detail {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 0.84rem;
    color: #cbd5f5;
    transition: max-height 0.3s ease, opacity 0.25s ease;
}

/* When user points (hover), reveal the detail */
.hero-bullets li:hover .hero-bullet-detail {
    max-height: 80px;       /* enough height for 2–3 lines */
    opacity: 1;
}

/* Entry animation for bullets */
@keyframes heroBulletIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Highlight line under subtitle */
.hero-highlight {
    font-size: 1.1rem;
    color: #8A6B13;
    font-weight: 500;
    margin-bottom: 1.9rem;
}

/* CTA buttons row */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.3rem;
}

/* Premium hover for hero CTA buttons only */
.hero-actions .btn {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transform: translateY(0);
    transition:
        transform 0.2s ease,
        box-shadow 0.25s ease,
        background-position 0.35s ease;
    background-size: 180% 180%;
}

.hero-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

/* Subtle moving sheen for the primary hero button */
.hero-actions .primary-btn {
    background-image: linear-gradient(
        120deg,
        #d4af37 0%,
        #f5e6a3 40%,
        #d4af37 80%
    );
}

.hero-actions .primary-btn:hover {
    background-position: 120% 0;
}

/* Right column (logo visual) */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Premium treatment for logo */
.hero-visual img,
.hero-logo {
    max-width: 420px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.65));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.hero-visual:hover .hero-logo {
    transform: translateY(-4px);
    filter: drop-shadow(0 24px 52px rgba(0, 0, 0, 0.8));
}

/* Home hero subtitle + highlight spacing / typography */
.home-page .hero-subtitle {
    margin-top: 1.3rem !important;
    margin-bottom: 0.7rem !important;
    font-size: 1.3rem;
    font-weight: 500;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.home-page .hero-highlight {
    margin-top: 0.6rem !important;
    margin-bottom: 1.8rem !important;
    font-size: 1.05rem;
    font-style: normal;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

/* Increase gap before buttons on home */
.home-page .hero-actions {
    margin-top: 1.2rem !important;
}
/* ---------------------------------------------------------
   HERO REVEAL BEHAVIOUR – v2
   - Initial: only kicker "YES" + header/menu visible.
   - Step 1: When pointer enters hero section → show ONLY logo.
   - Step 2: When pointer enters text column (.hero-content) →
             show title + slides + buttons as well.
   --------------------------------------------------------- */

/* Elements that participate in the reveal */
.hero-section .hero-title,
.hero-section .hero-slides,
.hero-section .hero-slide-controls,
.hero-section .hero-actions,
.hero-section .hero-visual {
    transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
}

/* Default / collapsed state – everything except the kicker is hidden */
.hero-section .hero-title,
.hero-section .hero-slides,
.hero-section .hero-slide-controls,
.hero-section .hero-actions,
.hero-section .hero-visual {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(1px);
    pointer-events: none;
}

/* STEP 1: pointer enters hero section → only logo fades in */
.hero-section:hover .hero-visual {
    opacity: 1;
    transform: translateY(0);
    filter: none;
    pointer-events: auto;
}

/* STEP 2: pointer enters text column → reveal hero copy */
.hero-content:hover .hero-title,
.hero-content:hover .hero-slides,
.hero-content:hover .hero-slide-controls,
.hero-content:hover .hero-actions {
    opacity: 1;
    transform: translateY(0);
    filter: none;
    pointer-events: auto;
}



/* =========================================================
   "What we do" / "Core services" etc.
   ========================================================= */
/* =========================================================
   "What we do" / "Core services" etc. (Home band)
   ========================================================= */

.pillars-section {
    /* Light premium band instead of plain white */
    background: radial-gradient(circle at top left,
                rgba(250, 204, 21, 0.06),
                transparent 55%),
                #f5f6f7;  /* subtle light grey */
}

/* Modern "What We Do" heading styling */
.pillars-section .section-header {
    text-align: center;
    margin-bottom: 2.4rem;
}

.pillars-section .section-header h2 {
    font-size: 2.1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: #111827;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

/* Thin YES-gold line under heading */
.pillars-section .section-header h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 72px;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, #d4af37, #facc15);
}

/* Improved subtitle under WHAT WE DO */
.pillars-section .section-header p {
    max-width: 760px;
    margin: 1.0rem auto 0;
    font-size: 1.15rem;              /* bigger & more premium */
    font-weight: 400;                /* smoother weight */
    letter-spacing: 0.015em;         /* subtle spacing */
    line-height: 1.7;                /* better readability */
    color: #374151;                  /* darker grey */
    font-family: "Poppins", sans-serif;   /* sharper modern font */
}


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

.pillar-card {
    background-color: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.10);
    border: 1px solid rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease;
}

/* Soft YES-gold glow layer (off by default) */
.pillar-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    background: radial-gradient(circle at top left,
                                rgba(250, 204, 21, 0.18),
                                transparent 55%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}




.pillar-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.pillar-card p {
    font-size: 0.93rem;
    color: #555555;
}

/* Scroll-reveal: base hidden state for cards (only in this section) */
.pillars-section .pillar-card {
    opacity: 0;
    transform: translateY(60px);          /* bigger drop */
    filter: blur(2px);                    /* stronger blur */
    transition:
        opacity 1.3s ease-out,
        transform 1.3s ease-out,
        filter 1.3s ease-out,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* When JS adds this class, card becomes visible */
.pillars-section .pillar-card.pillar-card-visible {
    opacity: 1;
    transform: translateY(0);
    filter: none;
}

/* Auto-highlight state used by JS rotation */
.pillars-section .pillar-card.pillar-card-highlight {
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.24);
    border-color: rgba(250, 204, 21, 0.75);
    transform: translateY(-4px);
}

.pillars-section .pillar-card.pillar-card-highlight::before {
    opacity: 1;                /* glow ON when highlighted */
}

/* Pointer hover – card lifts and glows */
.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.20);
    border-color: rgba(250, 204, 21, 0.55);
}

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


/* Home "What We Do" image tiles */
.pillar-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.pillar-image-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.pillar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Make images sharper, remove soft scaling blur */
.pillar-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    transform: translateZ(0);   /* forces GPU for crisp text */
}


/* Small chip on image */
.pillar-tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.75);
    color: #facc15;
}

.pillar-body {
    padding: 1rem 1rem 1.1rem;
}

.pillar-body h3 {
    margin-bottom: 0.35rem;
}

.pillar-body p {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 0.55rem;
}

.pillar-link-text {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a6b13;
}

/* Enhanced hover states for tiles */
.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18);
    border-color: rgba(250, 204, 21, 0.45);
}

.pillar-card:hover .pillar-image {
    transform: scale(1.05);
    filter: brightness(1.03);
}

.pillar-card:hover .pillar-link-text {
    color: #d4af37;
}

/* =========================================
   CONTACT PAGE – IMAGE TILES ABOVE FORM
   ========================================= */

.contact-page .contact-tiles-section {
    padding-top: 3rem;
    padding-bottom: 2.4rem;
}

/* Only 2 tiles on contact page */
.contact-page .contact-tiles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.7rem;
}

/* Slightly taller images for contact tiles */
.contact-page .contact-tiles-section .pillar-image-wrapper {
    height: 220px;
}

/* Typography tweaks inside tiles */
.contact-page .contact-tiles-section .pillar-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111827;
}

.contact-page .contact-tiles-section .pillar-body p {
    font-size: 0.92rem;
    color: #4b5563;
}

/* Extra-soft YES gold glow on hover (we already have base glow; this is just a bit stronger) */
.contact-page .contact-tiles-section .pillar-card:hover {
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.22);
}

/* Highlight pulse class used after click */
.contact-page .overview-block.highlight-pulse {
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.55);
    animation: contactHighlightPulse 0.9s ease-out;
}

/* Keyframes for one-shot glow */
@keyframes contactHighlightPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.55);
    }
    100% {
        box-shadow: 0 0 0 26px rgba(250, 204, 21, 0);
    }
}

/* Responsive: stack tiles on mobile */
@media (max-width: 900px) {
    .contact-page .contact-tiles-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =========================================
   CAREERS PAGE – CURRENT STATUS TILE + DETAIL CARD
   ========================================= */

.careers-page .career-tiles-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

/* Single tile – reuse same grid as contact tiles */
.careers-page .career-tiles-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.7rem;
}

/* Heading above tile (same family as contact detail heading) */
.careers-page .career-detail-section .career-detail-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 2rem;
}

.careers-page .career-detail-section .career-detail-heading h2 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 2rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: #111827;
}

.careers-page .career-detail-section .career-detail-heading p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Detail card layout – centered, same look as contact detail cards */
.careers-page .career-detail-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.3rem;
    margin-top: 3rem;
}

.careers-page .career-detail-grid .career-detail-block {
    width: 100%;
    max-width: 980px;
}

/* Inner header row: title + close button (reuse contact look) */
.careers-page .contact-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.4rem;
}

.careers-page .contact-detail-header h3 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.careers-page .contact-detail-close {
    border: none;
    background: #F3F4F6;
    border-radius: 999px;
    width: 26px;
    height: 26px;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6B7280;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.careers-page .contact-detail-close:hover {
    background: #E5E7EB;
    color: #111827;
    transform: translateY(-1px);
}

/* Hide detail card until tile is clicked */
.careers-page .career-detail-block {
    display: none;
}

.careers-page .career-detail-block.is-open {
    display: block;
}

/* Soft gold pulse when opened (same as contact) */
.careers-page .overview-block.highlight-pulse {
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.55);
    animation: contactHighlightPulse 0.9s ease-out;
}

/* Responsive: stack nicely on smaller screens */
@media (max-width: 900px) {
    .careers-page .career-tiles-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .careers-page .career-detail-grid .career-detail-block {
        max-width: 100%;
    }
}

/* =========================================
   CAREERS PAGE – CURRENT STATUS TILE + DETAIL CARD
   ========================================= */

.careers-page .career-tiles-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

/* Single tile row (same structure as contact tiles) */
.careers-page .career-tiles-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.7rem;
}

/* Heading above tile */
.careers-page .career-detail-section .career-detail-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 2rem;
}

.careers-page .career-detail-section .career-detail-heading h2 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 2rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: #111827;
}

.careers-page .career-detail-section .career-detail-heading p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Detail card wrapper – center block like contact */
.careers-page .career-detail-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.3rem;
    margin-top: 3rem;
}

.careers-page .career-detail-grid .career-detail-block {
    width: 100%;
    max-width: 980px;
}

/* Header row inside detail card: title + close icon */
.careers-page .contact-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.4rem;
}

.careers-page .contact-detail-header h3 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.careers-page .contact-detail-close {
    border: none;
    background: #F3F4F6;
    border-radius: 999px;
    width: 26px;
    height: 26px;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6B7280;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.careers-page .contact-detail-close:hover {
    background: #E5E7EB;
    color: #111827;
    transform: translateY(-1px);
}

/* Hide detail card until tile is clicked */
.careers-page .career-detail-block {
    display: none !important;
}

/* When JS adds .is-open, show the block */
.careers-page .career-detail-block.is-open {
    display: block !important;
}

/* Soft gold pulse when opened (reuse contact animation) */
.careers-page .overview-block.highlight-pulse {
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.55);
    animation: contactHighlightPulse 0.9s ease-out;
}

/* Responsive */
@media (max-width: 900px) {
    .careers-page .career-tiles-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .careers-page .career-detail-grid .career-detail-block {
        max-width: 100%;
    }
}

/* =========================================
   CAREERS PAGE – TILE CENTERING + WIDTH FIX
   ========================================= */

/* Center the tile container exactly like contact page */
.careers-page .career-tiles-grid {
    display: flex;
    justify-content: center;      /* center horizontally */
    align-items: center;
    padding-top: 1rem;
}

/* Limit tile width – same proportions as CONTACT tiles */
.careers-page .career-tile {
    width: 100%;
    max-width: 480px;             /* reduces big card problem */
    margin: 0 auto;
}

/* Ensure image keeps correct aspect and rounded corners */
.careers-page .career-tile .pillar-image-wrapper {
    border-radius: 18px;
    overflow: hidden;
}

.careers-page .career-tile .pillar-image {
    width: 100%;
    height: 250px;                 /* reduce height */
    object-fit: cover;
}

/* Bottom body of tile */
.careers-page .career-tile .pillar-body {
    padding: 1.3rem 1.4rem;
}

/* Make it look premium */
.careers-page .career-tile {
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border: 1px solid rgba(212, 175, 55, 0.30);   /* subtle gold border */
}

/* =========================================
   CAREERS PAGE – CURRENT STATUS DETAIL CARD
   ========================================= */

/* Layout: center the opened card under the tile */
.careers-page .career-detail-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.3rem;
    margin-top: 2.5rem;
}

/* The actual white card */
.careers-page .career-detail-block {
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid #E5E7EB;
    padding: 1.9rem 2.2rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    width: 100%;
    max-width: 980px;
    display: none !important;          /* hidden by default */
}

/* When opened via JS */
.careers-page .career-detail-block.is-open {
    display: block !important;
}

/* Header row: title + close icon */
.careers-page .career-detail-block .contact-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.careers-page .career-detail-block .contact-detail-header h3 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #ac7f0d;
}

/* Close button styling (same feel as contact) */
.careers-page .career-detail-block .contact-detail-close {
    border: none;
    background: #F3F4F6;
    border-radius: 999px;
    width: 26px;
    height: 26px;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6B7280;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.careers-page .career-detail-block .contact-detail-close:hover {
    background: #E5E7EB;
    color: #111827;
    transform: translateY(-1px);
}

/* Text inside the card */
.careers-page .career-detail-block p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #4B5563;
    margin-bottom: 0.9rem;
}

.careers-page .career-detail-block .overview-list {
    margin: 0 0 0.9rem 0;
}

/* Soft gold pulse highlight when opened (reuses keyframes from contact) */
.careers-page .career-detail-block.highlight-pulse {
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.55);
    animation: contactHighlightPulse 0.9s ease-out;
}

/* Mobile: full width */
@media (max-width: 900px) {
    .careers-page .career-detail-block {
        padding: 1.6rem 1.4rem;
        max-width: 100%;
    }
}


/* =========================================================
   CAREERS PAGE – PREMIUM DARK DETAIL CARD (UPGRADE)
   ========================================================= */

.careers-page .career-detail-block {
    background: linear-gradient(120deg, #0f172a, #1e293b); /* dark navy blend */
    border: 1px solid rgba(250, 204, 21, 0.55);            /* YES gold border */
    border-radius: 1.6rem;
    padding: 2.4rem 2.6rem;
    box-shadow:
        0 24px 55px rgba(15, 23, 42, 0.65),
        0 0 18px rgba(250, 204, 21, 0.20);                /* gold outer glow */
    color: #e5e7eb;
    animation: careerCardFadeIn 0.45s ease-out;
    backdrop-filter: blur(12px);                           /* glassiness */
}

/* Heading – premium font */
.careers-page .career-detail-block h3 {
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #facc15;
    margin-bottom: 1.4rem;
}

/* Close button (white + gold hover) */
.careers-page .career-detail-block .contact-detail-close {
    background: rgba(255,255,255,0.09);
    color: #e5e7eb;
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 0 8px rgba(250,204,21,0.25);
}

.careers-page .career-detail-block .contact-detail-close:hover {
    background: rgba(250, 204, 21, 0.45);
    color: #0f172a;
    transform: translateY(-2px);
}

/* Paragraphs */
.careers-page .career-detail-block p {
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #e2e8f0;
    margin-bottom: 1rem;
}

/* Bullet list */
.careers-page .career-detail-block .overview-list li {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #f1f5f9;
    margin-bottom: 0.4rem;
}

/* Soft gold pulse when opened */
.careers-page .career-detail-block.highlight-pulse {
    animation: careerGoldPulse 0.9s ease-out;
}

/* Fade-in animation */
@keyframes careerCardFadeIn {
    0% { opacity: 0; transform: translateY(18px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* One-shot gold glow startup */
@keyframes careerGoldPulse {
    0% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.55); }
    100% { box-shadow: 0 0 0 26px rgba(250, 204, 21, 0); }
}



/* =========================================
   DIGITAL SOLUTIONS – LAUNCH STATUS BAND
   ========================================= */

.digital-launch-section {
    background:
        radial-gradient(circle at top left,
                        rgba(250, 204, 21, 0.06),
                        transparent 55%),
        #f5f6f7; /* same family as pillars band */
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
    padding: 3.4rem 0 3.8rem;
}

.digital-launch-inner {
    max-width: 900px;
    margin: 0 auto;
}

.digital-launch-text h2 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    color: #111827;
}

.digital-launch-text p {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.02rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 0.9rem;
}

.digital-launch-text .digital-launch-note {
    font-size: 0.98rem;
    color: #374151;
}


/* =========================================
   SERVICES PAGE – CORE SERVICE AREA CARDS
   ========================================= */

/* =========================================
   SERVICES PAGE – CORE SERVICE AREA CARDS
   ========================================= */

/* Slightly roomier cards on services page */
.services-page .pillars-section .pillar-card {
    padding: 1.7rem 1.9rem 1.9rem;
}

/* Headings: compact, clear category labels */
.services-page .pillars-section .pillar-card > h3 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.06rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #111827;
    margin-bottom: 0.55rem;
}

/* Intro paragraph inside each card */
.services-page .pillars-section .pillar-card > p {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.93rem;
    font-weight: 400;
    line-height: 1.78;
    color: #4b5563;
    margin-bottom: 0.65rem;
}

/* Bullet list styling */
.services-page .pillars-section .pillar-card .overview-list {
    margin: 0.35rem 0 0;
    padding-left: 1.15rem;
    list-style: disc;
}

.services-page .pillars-section .pillar-card .overview-list li {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 0.26rem;
}

/* When JS highlights a card, add a gold accent bar on the left */
.services-page .pillars-section .pillar-card.pillar-card-highlight {
    border-left: 4px solid #d4af37;
    padding-left: 1.7rem;  /* compensate for accent bar */
}


/* When JS highlights a card, add a gold accent bar on the left */
.services-page .pillars-section .pillar-card.pillar-card-highlight {
    border-left: 4px solid #d4af37;
    padding-left: 1.6rem; /* compensate for accent bar */
}



/* =========================================
   WHAT WE DO PAGE (inner)
   ========================================= */

.inner-hero-section {
    background: radial-gradient(circle at top left, rgba(250, 204, 21, 0), transparent 55%),
                linear-gradient(120deg, #000000, #cbcdd3);
    color: #f9fafb;
    padding: 0.2rem 0 3.2rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.inner-hero-inner {
    max-width: 900px;
}

.inner-hero-text h1 {
    font-size: 2.1rem;
    margin-bottom: 0.6rem;
    color: #f9fafb;
}

.inner-hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.26em;
    font-size: 3.5rem;
    font-weight: 600;
    color: #facc15;
    margin-bottom: 0.55rem;
    font-family: 'Cormorant Garamond', serif;
}


.inner-hero-subtitle {
    font-size: 0.98rem;
    color: #e5e7eb;
    max-width: 700px;
}

.inner-hero-tags {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.inner-hero-tags span {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.35);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Small YES kicker + tagline beside logo band on inner pages */
.inner-hero-brand-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}


.inner-hero-brand-kicker {
    text-transform: uppercase;
    letter-spacing: 0.30em;
    font-size: 1.1rem;
    font-weight: 700;
    color: #facc15;
    
}

.inner-hero-brand-kicker-what {
    text-transform: uppercase;
    letter-spacing: 0.30em;
    font-size: 1.1rem;
    font-weight: 700;
    color: #facc15;
    text-align: left;
}

.inner-hero-brand-tagline {
    font-size: 0.98rem;
    color: #e5e7eb;
    line-height: 1.5;
}

.inner-hero-brand-tagline span {
    font-size: 0.9rem;
    color: #e5e7eb;
    opacity: 0.9;
}


/* Detailed pillars layout */
.what-we-do-page {
    background:
        radial-gradient(circle at top left,
                        rgba(250, 204, 21, 0.04),
                        transparent 55%),
        #f5f6f7;   /* light premium grey, not pure white */
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}


.what-we-do-grid {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.what-pillar {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 1.8rem;
    align-items: center;
    padding: 1.5rem 1.4rem;
    border-radius: 14px;
    border: 1px solid #EFEFEF;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    background-color: #FFFFFF;
}

/* Premium hover glow for What We Do cards */
.what-pillar {
    position: relative;
    overflow: hidden;
}

.what-pillar::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    background: radial-gradient(circle at top left,
                                rgba(250, 204, 21, 0.22),
                                transparent 55%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.what-pillar:hover::before {
    opacity: 1; /* soft gold glow around card */
}

.what-pillar:hover {
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
    border-color: rgba(250, 204, 21, 0.45);
    transform: translateY(-2px);
}


.what-pillar:nth-child(2) {
    background-color: #F9FAFB;
}

.what-pillar-media img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

/* Typography tuning inside What We Do cards */
.what-pillar-body h2 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #111827;
    margin-bottom: 0.55rem;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);  /* subtle heading glow */
}

.what-pillar-body p {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.96rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 0.65rem;
}

.what-pillar-body ul {
    margin: 0 0 0.95rem 1.2rem;
    padding: 0;
    list-style: disc;
}

.what-pillar-body li {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 0.28rem;
}


/* Scroll-reveal for detailed pillars on What We Do page */
.what-we-do-page .what-pillar {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(2px);
    transition:
        opacity 0.9s ease-out,
        transform 0.9s ease-out,
        filter 0.9s ease-out,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.what-we-do-page .what-pillar.what-pillar-visible {
    opacity: 1;
    transform: translateY(0);
    filter: none;
}


/* Responsive for What We Do page */
@media (max-width: 992px) {
    .what-pillar {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .inner-hero-section {
        padding-top: 4.2rem;
    }

    .inner-hero-text h1 {
        font-size: 1.8rem;
    }
}


/* Credentials strip – wider premium band, similar to "What We Do" */
.credentials-section {
    background:
        radial-gradient(circle at top left,
                        rgba(250, 204, 21, 0.08),
                        transparent 55%),
        radial-gradient(circle at bottom right,
                        rgba(148, 163, 184, 0.18),
                        transparent 60%),
        #eef1f5;  /* same family as What We Do band */
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
    padding: 3.5rem 0 4rem;  /* stretch vertical */
}


.credentials-single {
    display: flex;
    justify-content: center;
}

.credential-card-focus {
    max-width: 880px;
    width: 100%;
    border-radius: 22px;
    padding: 2.1rem 2.4rem;
    background: rgba(15, 23, 42, 0.24);              /* transparent / glassy */
    border: 1px solid rgba(250, 204, 21, 0.55);
    color: #f9fafb;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
    backdrop-filter: blur(14px);

    /* scroll animation: start dim + low opacity */
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition:
        opacity 0.9s ease-out,
        transform 0.9s ease-out,
        box-shadow 0.6s ease-out,
        background 0.6s ease-out,
        border-color 0.6s ease-out;
    text-align: left;
}

.credential-card-focus.credential-visible {
    /* when section comes into view → bright & solid */
    background: rgba(15, 23, 42, 0.94);
    border-color: rgba(250, 204, 21, 0.9);
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.65);
}

.credential-card-focus:hover {
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.85);
    transform: translateY(-2px) scale(1.01);
}

/* Top line: EXPERIENCE • CREDENTIALS • REFERENCES */
.credential-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.26em;
    font-size: 0.95rem;
    font-weight: 600;
    color: #facc15;
    margin-bottom: 0.85rem;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Main line: "Complete credentials shared one-to-one." */
.credential-title {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 0.8rem;
    color: #f9fafb;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Paragraph text inside the card */
.credential-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #e5e7eb;
    max-width: 680px;
    margin-bottom: 1.4rem;
    font-weight: 400;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Single centered link under credentials text */
.credential-link-wrap {
    margin-top: 0.6rem;
    text-align: center;
}

.credential-link-inline {
    display: inline-block;
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fde68a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 0.2rem;
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.credential-link-inline:hover {
    color: #facc15;
    border-color: #facc15;
    transform: translateY(-1px);
}


/* Buttons row */
.credential-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.credential-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem;
}

/* Make sure buttons look good on dark glass background */
.credential-card-focus .secondary-btn {
    background-color: transparent;
    border-color: #facc15;
    color: #fde68a;
}

.credential-card-focus .secondary-btn:hover {
    background-color: #facc15;
    color: #111827;
}

.credential-card-focus .primary-btn {
    background-color: #facc15;
    border-color: #facc15;
    color: #111827;
}

.credential-card-focus .primary-btn:hover {
    background-color: #d4af37;
    border-color: #d4af37;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .credential-card-focus {
        padding: 1.5rem 1.3rem;
    }

    .credential-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .credential-btn {
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   OUR SERVICES FOR – compact audience cards
   ========================================= */

/* OUR SERVICES FOR – same premium band as WHAT WE DO */
.services-for-section {
    background:
        radial-gradient(circle at top left,
                        rgba(250, 204, 21, 0.06),
                        transparent 55%),
        #f5f6f7;   /* exact same shade as WHAT WE DO backing */
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
    padding-top: 3.2rem;
    padding-bottom: 3.8rem;
}


/* Heading styling tuned for this band */
.services-for-header h2 {
    font-size: 1.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.services-for-header p {
    max-width: 820px;
    font-size: 1.02rem;
    color: #4b5563;
}

/* Cards grid */
.services-for-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 2.1rem;
}

/* Individual cards */
.services-for-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.4rem 1.3rem;
    border: 1px solid #E5E7EB;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
    /* initial hidden state for scroll reveal */
    opacity: 0;
    transform: translateY(28px);
}

.services-for-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.4rem;
}

.services-for-card p {
    font-size: 0.92rem;
    color: #4b5563;
}

/* When JS adds this class, card becomes visible */
.services-for-card.services-for-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover state */
.services-for-card:hover {
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.16);
    border-color: rgba(250, 204, 21, 0.55);
}

/* Responsive layout for smaller screens */
@media (max-width: 992px) {
    .services-for-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .services-for-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   OUR SERVICES FOR – image card layout
   ========================================= */

.services-for-section {
    padding-top: 3.2rem;
    padding-bottom: 3.8rem;
}

/* Four cards in a row on desktop */
.services-for-section .services-for-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
}

/* Slightly tighter text inside these cards */
.services-for-section .pillar-body h3 {
    font-size: 1rem;
}

.services-for-section .pillar-body p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive: 2x2 on tablet, 1x4 on mobile */
@media (max-width: 1100px) {
    .services-for-section .services-for-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .services-for-section .services-for-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   LEGACY INDEX SECTIONS (if still used anywhere)
   ========================================================= */

.services-section {
    background-color: #FFFFFF;
}

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

.service-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 1.4rem 1.3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid #EFEFEF;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.service-card p {
    font-size: 0.93rem;
    color: #555555;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 18px rgba(0,0,0,0.06);
}

/* SOFTWARE SECTION */

.software-section {
    background-color: #F7F7F7;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.software-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 1.4rem 1.3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid #EFEFEF;
}

.software-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.software-card p {
    font-size: 0.93rem;
    color: #555555;
}

.software-note {
    margin-top: 1.8rem;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    background-color: #FFF9E8;
    border: 1px solid #F0E0B5;
    font-size: 0.92rem;
    color: #6A5311;
}

/* WHY YES SECTION */

.why-yes-section {
    background-color: #FFFFFF;
}

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

.why-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 1.3rem 1.2rem;
    border: 1px solid #EFEFEF;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.why-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
}

.why-card p {
    font-size: 0.92rem;
    color: #555555;
}

/* PROJECTS SECTION */

.projects-section {
    background-color: #F7F7F7;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem;
}

.project-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 1.3rem 1.2rem;
    border: 1px solid #EDEDED;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.project-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
}

.project-card p {
    font-size: 0.93rem;
    color: #555555;
}

/* ABOUT SECTION */

.about-section {
    background-color: #FFFFFF;
}

.about-inner {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.about-text {
    flex: 1.2;
}

.about-text h2 {
    margin-bottom: 0.7rem;
}

.about-text p {
    color: #555555;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-visual img {
    max-width: 360px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* FAQ SECTION */

.faq-section {
    background-color: #F7F7F7;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    border: 1px solid #E6E6E6;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 0.85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    border: none;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 500;
    text-align: left;
}

.faq-icon {
    font-size: 1.2rem;
    color: #D4AF37;
}

.faq-answer {
    padding: 0.8rem 1rem 1rem;
    font-size: 0.93rem;
    color: #555555;
}

/* CONTACT SECTION */

.contact-section {
    background-color: #FFFFFF;
}

.contact-inner {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.contact-form-wrapper {
    flex: 1.3;
}

.contact-form-wrapper h2 {
    margin-bottom: 0.4rem;
}

.contact-form-wrapper p {
    margin-bottom: 1rem;
    color: #555555;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-row label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333333;
}

.form-row input,
.form-row textarea,
.form-row select {
    border-radius: 8px;
    border: 1px solid #D5D5D5;
    padding: 0.55rem 0.7rem;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
}

.contact-details {
    flex: 1;
    padding: 1.1rem 1.2rem;
    border-radius: 12px;
    background-color: #F9F4E6;
    border: 1px solid #E8D6A8;
}

.contact-details h3 {
    margin-bottom: 0.6rem;
}

.contact-details p {
    font-size: 0.93rem;
    color: #4B3B11;
}

/* LOGIN PLACEHOLDER SECTION (if used) */

.login-section {
    background-color: #F7F7F7;
    text-align: center;
}

.login-section h2 {
    margin-bottom: 0.5rem;
}

.login-section p {
    color: #555555;
}

/* =========================================================
   RESPONSIVE – website sections
   ========================================================= */

@media (max-width: 992px) {

    .hero-inner {
        flex-direction: column-reverse;
        text-align: center;
    }

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

    .hero-content {
        max-width: 100%;
    }

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

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

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

    .projects-list {
        grid-template-columns: 1fr;
    }

    .about-inner,
    .contact-inner {
        flex-direction: column;
    }

    .about-visual,
    .contact-details {
        max-width: 420px;
        margin: 0 auto;
    }

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

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

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

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================
   CONTACT PAGE – main info + form layout
   ========================================= */

/* Section padding – gives breathing room */
.contact-page .overview-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

/* 2-column layout: left info, right form (desktop) */
.contact-page .overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

/* Card styling for both info block and form block */
.contact-page .overview-block {
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid #E5E7EB; /* soft border */
    padding: 1.75rem 1.9rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

/* Headings inside the two blocks */
.contact-page .overview-block h2 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #111827;
}

/* Paragraphs inside blocks */
.contact-page .overview-block p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4B5563;
}

/* Top row: title + close button */
.contact-page .contact-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.4rem;
}

/* Small round close button */
.contact-page .contact-detail-close {
    border: none;
    background: #F3F4F6;
    border-radius: 999px;
    width: 26px;
    height: 26px;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6B7280;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.contact-page .contact-detail-close:hover {
    background: #E5E7EB;
    color: #111827;
    transform: translateY(-1px);
}

/* By default, contact detail blocks are hidden until a tile is clicked */
.contact-page .contact-detail-block {
    display: none;
}

/* When JS adds .is-open, the block becomes visible */
.contact-page .contact-detail-block.is-open {
    display: block;
}

/* Contact details list (phone, email, etc.) */
.contact-page .overview-block .overview-list {
    margin: 1rem 0 1.25rem;
    padding-left: 1.25rem;
}

.contact-page .overview-block .overview-list li {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

/* ===== Form layout & fields ===== */

.contact-page .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Each .form-row holds two .form-group on desktop */
.contact-page .contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

/* Form group: label + field vertical stack */
.contact-page .contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Labels */
.contact-page .contact-form label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
}

/* Inputs, selects, textarea (reuse base styles, just ensure full width) */
.contact-page .contact-form input,
.contact-page .contact-form select,
.contact-page .contact-form textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid #D1D5DB;
    font-size: 0.95rem;
}

/* Textarea height */
.contact-page .contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

/* Submit button spacing */
.contact-page .contact-form .primary-btn {
    margin-top: 0.3rem;
}

/* Section heading above detail cards (similar feel to Vision & Mission) */
.contact-page .contact-detail-section .contact-detail-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 2rem;
}

.contact-page .contact-detail-section .contact-detail-heading h2 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 2rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: #111827;
}

.contact-page .contact-detail-section .contact-detail-heading p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Layout for blocks opened by tiles: single centered column */
.contact-page .contact-detail-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.3rem;
    margin-top: 3rem;
}

/* Make each opened card sit in the center with a max width */
.contact-page .contact-detail-grid .contact-detail-block {
    width: 100%;
    max-width: 980px;
}

/* Inner heading inside each card */
.contact-page .contact-detail-header h3 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #111827;
}





/* ===== Mobile adjustments ===== */
@media (max-width: 900px) {
    .contact-page .overview-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .contact-page .overview-block {
        padding: 1.4rem 1.5rem;
    }

    .contact-page .contact-form .form-row {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* =========================================
   CONTACT CTA – reuse pillars layout (2 cards)
   ========================================= */

.cta-section {
    /* same family as the What We Do band, already gets background
       from .pillars-section – here we just adjust spacing */
    padding-top: 3.5rem;
    padding-bottom: 4rem;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
}

/* Only two wider cards in this band */
/* Center-align the two CTA cards */
/* Layout for CTA content (text + buttons) */
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

/* Text block on the left */
.cta-text {
    max-width: 780px;
}

.cta-text h2 {
    font-size: 1.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;      /* gap between title and paragraph */
}

.cta-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4b5563;
}

/* Buttons row on the right */
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 2rem;
    font-weight: 600;
    font-family: 'Cambria, Cochin, Georgia, Times', 'Times New Roman', serif;
}

/* Make CTA buttons feel a bit more “hero-like” */
.cta-actions .btn {
    min-width: 190px;
}

/* Slightly stronger heading for this CTA (kept for any section-header usage) */
.cta-section .section-header h2 {
    font-size: 1.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Refined subtitle copy */
.cta-section .section-header p {
    font-size: 1.05rem;
    max-width: 820px;
}



@media (max-width: 768px) {

    .services-grid,
    .software-grid,
    .why-grid,
    .pillars-grid,
    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 3.7rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1,
    .hero-title {
        font-size: 1.9rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }
}

/* ---------------------------------------------------------
   PREMIUM FOOTER TYPOGRAPHY (final polish)
   --------------------------------------------------------- */
.site-footer {
    font-family: "Poppins", system-ui, sans-serif;
    letter-spacing: 0.08em;            /* more premium */
    font-weight: 400;                  /* smoother modern */
    font-size: 0.82rem;                /* slightly sharper */
}

/* Animated underline for footer links */
.footer-links a,
.footer-right a {
    position: relative;
    text-decoration: none;
}

/* hidden line by default */
.footer-links a::after,
.footer-right a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.18rem;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #facc15, #ffffff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease-out;
}

/* reveal line on hover */
.footer-links a:hover::after,
.footer-right a:hover::after {
    transform: scaleX(1);
}

.footer-left,
.footer-right {
    color: #d1d5db;                    /* soft grey like ABB/Siemens */
}

.footer-links a {
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: #e5e7eb;
    opacity: 0.85;                     /* elegant fade */
    transition: opacity 0.25s ease, color 0.25s ease;
}

.footer-links a:hover {
    color: #facc15;                    /* YES gold hover */
    opacity: 1;
    text-decoration: none;
}

.footer-right {
    font-size: 0.77rem;
    letter-spacing: 0.07em;
    color: #e5e7eb;
    opacity: 0.9;
    justify-content: center;
    text-align: center;
}

.footer-right:hover {
    color: #facc15;                    /* subtle gold hover */
    opacity: 1;
}

/* ------------------------------------------
   Footer – Social Icons (LinkedIn + YouTube)
   ------------------------------------------ */

.footer-social {
    margin-top: 0.8rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    width: 22px;
    height: 22px;
    color: #e5e7eb;
    opacity: 0.85;
    transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

/* HOVER EFFECT – gold + slight lift */
.social-icon:hover {
    color: #facc15;
    opacity: 1;
    transform: translateY(-2px);
}


/* =========================================
   ABOUT – WHO WE ARE (credentials band)
   ========================================= */

/* 2-column layout for the two dark cards */
.about-page .about-overview-section .about-credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

/* Cards fill each grid column */
.about-page .about-overview-section .about-credential-card {
    width: 100%;      /* override width: 100% / max-width rules from base */
    max-width: none;
}

/* Section header width + centering (same family as Vision & Mission) */
.about-page .about-overview-section .section-header,
.about-page .about-vision-section .section-header {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.about-page .about-overview-section .section-header h2,
.about-page .about-vision-section .section-header h2 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 2.1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: #111827;
}


/* Card top labels (PROFILE / EXPERIENCE & CREDENTIALS) */
.about-page .about-overview-section .credential-eyebrow {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    font-weight: 600;
    color: #facc15;
    text-align: center;
    margin-bottom: 1.1rem;
}

/* Mobile: stack cards one under another */
@media (max-width: 900px) {
    .about-page .about-overview-section .about-credentials-grid {
        grid-template-columns: 1fr;
    }
}

/* ABOUT – WHO WE ARE: 2-card layout */
.about-page .about-overview-section .about-pillars-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* ABOUT – WHO WE ARE: dark premium cards (both same) */
.about-page .about-overview-section .about-card,
.about-page .about-vision-section .about-card {
    position: relative;
    background: #020617;
    border-radius: 1.5rem;
    border: 1px solid #facc15;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.55);
    padding: 2.3rem 2.4rem 2.5rem;
    overflow: hidden;
}



/* Card headings – same family feel as VISION & MISSION */
.about-page .about-overview-section .about-card h3,
.about-page .about-vision-section .about-card h3 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    color: #facc15; /* gold, clearly visible on dark card */
    margin-bottom: 1.1rem;
}


/* Card body text */
.about-page .about-overview-section .about-card p,
.about-page .about-overview-section .about-card .overview-list li {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #e5e7eb;          /* light text on dark background */
}

/* bullets spacing */
.about-page .about-overview-section .about-card .overview-list {
    margin: 0.4rem 0 0.8rem 1.3rem;
}

@media (max-width: 900px) {
    .about-page .about-overview-section .about-pillars-two {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

.about-page .about-overview-section .about-card::before,
.about-page .about-vision-section .about-card::before {
    content: none !important;
}

.about-page .about-overview-section .about-card::before,
.about-page .about-vision-section .about-card::before {
    content: none !important;
}

.about-page .about-overview-section .about-card p,
.about-page .about-overview-section .about-card .overview-list li,
.about-page .about-vision-section .about-card p,
.about-page .about-vision-section .about-card .overview-list li {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #e5e7eb;
}

.about-page .about-overview-section .about-card .overview-list,
.about-page .about-vision-section .about-card .overview-list {
    margin: 0.4rem 0 0.8rem 1.3rem;
}

/* ABOUT – VISION & MISSION: 3 dark cards */
.about-page .about-vision-section .pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .about-page .about-vision-section .pillars-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

