/* ============================
   GACG Brand Theme Overrides
   ============================ */

:root {
    --gacg-navy: #050d18;
    --gacg-navy-soft: #081427;
    --gacg-cream: #e4cfaa;
    --gacg-cream-soft: #f6ecda;
    --gacg-text-dark: #1f2933;
}

/* Global -------------------------------------------------- */

body {
    background-color: #ffffff;
    color: var(--gacg-text-dark);
}

/* Navbar -------------------------------------------------- */

.nk-navbar {
    background-color: var(--gacg-navy);
    color: var(--gacg-cream);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.nk-navbar .nk-nav > li > a {
    color: rgba(228, 207, 170, 0.85);
    letter-spacing: 0.09em;
    font-size: 0.8rem;
}

.nk-navbar .nk-nav > li > a:hover,
.nk-navbar .nk-nav > li.active > a {
    color: var(--gacg-cream);
}

/* Logo in navbar */

.nk-nav-logo img {
    height: 48px;
    width: auto;
}

.header-tagline {
    margin-left: 18px;
    padding-left: 18px;
    border-left: 1px solid rgba(228, 207, 170, 0.35);
    font-family: "Playfair Display", serif;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(228, 207, 170, 0.9);
    white-space: nowrap;
}

.header-tagline span {
    display: inline-block;
}

/* Hero ---------------------------------------------------- */

.nk-header-title-full .bg-image-overlay {
    background-color: rgba(5, 13, 24, 0.78) !important;
}

.nk-header-title .nk-subtitle {
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--gacg-cream-soft);
}

.nk-header-title .nk-title {
    font-family: "Playfair Display", serif;
    color: var(--gacg-cream);
}

.nk-header-title em.fw-400 {
    font-style: normal;
    font-weight: 400;
    color: var(--gacg-cream-soft);
}

/* Sections ------------------------------------------------ */

.bg-white {
    background-color: #fdfbf7;
}

.nk-box.bg-dark-1 {
    background-color: var(--gacg-navy-soft);
}

.nk-box.bg-dark-1 .nk-ibox-1,
.nk-box.bg-dark-1 h2,
.nk-box.bg-dark-1 p {
    color: var(--gacg-cream-soft);
}

/* Service tiles */

.nk-portfolio-item-square {
    background-color: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-radius: 18px;
    overflow: hidden;
}

.nk-portfolio-item-info {
    background: linear-gradient(
        to bottom,
        rgba(5, 13, 24, 0.2),
        rgba(5, 13, 24, 0.78)
    );
}

.nk-portfolio-item-info h2 {
    font-family: "Playfair Display", serif;
    color: var(--gacg-cream-soft);
}

.nk-portfolio-item-info .portfolio-item-category {
    color: #fdfbf7;
    font-size: 0.9rem;
}

/* CTA / buttons ------------------------------------------ */

.btn-gacg,
.nk-btn-gacg {
    display: inline-block;
    border-radius: 999px;
    background-color: var(--gacg-cream);
    color: var(--gacg-navy);
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    font-weight: 600;
}

.btn-gacg:hover,
.nk-btn-gacg:hover {
    background-color: #f5e2bd;
    color: var(--gacg-navy);
    text-decoration: none;
}

/* Footer -------------------------------------------------- */

.nk-footer {
    background-color: var(--gacg-navy);
    color: var(--gacg-cream-soft);
}

.nk-footer-text p {
    color: rgba(245, 232, 207, 0.85);
}

/* ===============================================
   GACG NAVBAR LOGO FIX — override theme defaults
   =============================================== */

.nk-nav-logo img,
.nk-nav-logo-onscroll {
    height: 72px !important;      /* Increase as desired */
    width: auto !important;
    max-height: 72px !important;
    object-fit: contain !important;
}

/* Make the logo slightly bigger on desktop only */
@media (min-width: 992px) {
    .nk-nav-logo img,
    .nk-nav-logo-onscroll {
        height: 82px !important;
        max-height: 82px !important;
    }
}

/* ======================================================
   MOBILE HEADER FIXES FOR GACG BRAND
   ====================================================== */

@media (max-width: 767px) {

    /* 1. Proper left padding for the logo */
    .nk-nav-table > div:first-child {
        padding-left: 14px !important;
    }

    /* 2. Resize the logo on mobile only */
    .nk-nav-logo img,
    .nk-nav-logo-onscroll {
        height: 56px !important;
        max-height: 56px !important;
    }

    /* 3. Fix header height so it doesn't become huge */
    .nk-navbar {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    /* 4. Make the tagline wrap cleanly */
    .header-tagline {
        margin-left: 10px !important;
        padding-left: 10px !important;

        font-size: 0.63rem !important;
        letter-spacing: 0.18em !important;
        white-space: normal !important;
        line-height: 1.3;
        max-width: 130px;
    }

    /* 5. Slight repositioning so logo + tagline align */
    .nk-nav-logo {
        margin-right: 6px !important;
    }

    /* Optional: tighten mobile spacing even more */
    .nk-nav {
        margin-top: 6px !important;
    }
}

/* CTA style for Contact Us */
.nk-menu-item-highlight > a {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid var(--gacg-cream);
    border-radius: 30px;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--gacg-cream);
    margin-top: 16px;
}

/* ======================================================
   PREMIUM HERO TYPOGRAPHY & ANIMATION (GACG EDITION)
   ====================================================== */

/* -----------------------------
   MOBILE APPEARANCE OVERRIDES
   ----------------------------- */
@media (max-width: 767px) {

    /* HERO TITLE (BIG SERIF TEXT) */
    .nk-header-title .nk-title,
    .nk-header-title .display-3,
    .nk-header-title h1 {
        font-size: 1.85rem !important;
        line-height: 1.20 !important;
        font-weight: 600 !important;
        letter-spacing: -0.01em !important;
        padding: 0 14px !important;
        opacity: 0;
        transform: translateY(18px);
        animation: heroFade 0.65s ease-out 0.15s forwards;
    }

    /* SUBTITLE (PEOPLE • ANALYTICS • SOLUTIONS) */
    .nk-header-title .nk-subtitle {
        font-size: 0.72rem !important;
        letter-spacing: 0.23em !important;
        margin-bottom: 8px !important;
        opacity: 0;
        transform: translateY(14px);
        animation: heroFade 0.65s ease-out forwards;
    }

    /* SECONDARY LINE ("Driving evidence-based…") */
    .nk-header-title em.fw-400 {
        display: inline-block;
        font-style: normal !important;
        font-size: 1rem !important;
        line-height: 1.34 !important;
        opacity: 0.9;
        padding: 0 18px !important;
        margin-top: 6px !important;
        opacity: 0;
        transform: translateY(20px);
        animation: heroFade 0.75s ease-out 0.25s forwards;
    }

    /* REDUCE HERO VERTICAL SPACING */
    .nk-header-title {
        padding-top: 52px !important;
        padding-bottom: 58px !important;
    }

    /* ENSURE CLEAN TOP SPACING WHEN LOGO SHRINKS */
    .nk-header {
        margin-top: 0 !important;
    }

    /* SLIGHTLY REDUCED SPACE BETWEEN WORD BLOCKS */
    .nk-header-title br {
        line-height: 0.85 !important;
    }
}

/* -----------------------------
   DESKTOP IMPROVEMENTS (subtle)
   ----------------------------- */
@media (min-width: 768px) {

    .nk-header-title .nk-title {
        letter-spacing: -0.015em !important;
        transform: translateY(14px);
        opacity: 0;
        animation: heroFade 0.7s ease-out 0.2s forwards;
    }

    .nk-header-title .nk-subtitle {
        opacity: 0;
        transform: translateY(10px);
        animation: heroFade 0.7s ease-out forwards;
    }

    .nk-header-title em.fw-400 {
        opacity: 0;
        transform: translateY(18px);
        animation: heroFade 0.8s ease-out 0.25s forwards;
    }
}

/* -----------------------------
   LUXURY FADE-IN ANIMATION
   ----------------------------- */
@keyframes heroFade {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   GACG BRAND THEME — FINAL CONSOLIDATED VERSION
   ========================================================== */


/* ----------------------------------------------------------
   1. NAVBAR LOGO SIZING (Desktop + Mobile)
   ---------------------------------------------------------- */

.nk-nav-logo img,
.nk-nav-logo-onscroll {
    height: 72px !important;
    width: auto !important;
    max-height: 72px !important;
    object-fit: contain !important;
}

@media (min-width: 992px) {
    .nk-nav-logo img,
    .nk-nav-logo-onscroll {
        height: 82px !important;
        max-height: 82px !important;
    }
}

@media (max-width: 767px) {

    .nk-nav-table > div:first-child {
        padding-left: 14px !important;
    }

    .nk-nav-logo img,
    .nk-nav-logo-onscroll {
        height: 56px !important;
        max-height: 56px !important;
    }

    .nk-navbar {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    .header-tagline {
        margin-left: 10px !important;
        padding-left: 10px !important;
        font-size: 0.63rem !important;
        letter-spacing: 0.18em !important;
        white-space: normal !important;
        line-height: 1.3;
        max-width: 130px;
    }
}



/* ----------------------------------------------------------
   2. HERO BACKGROUND GRADIENT (Luxury Readability)
   ---------------------------------------------------------- */

.nk-header-title-full .bg-image-overlay {
    background: linear-gradient(
        to bottom,
        rgba(5, 13, 24, 0.75) 0%,
        rgba(5, 13, 24, 0.35) 40%,
        rgba(5, 13, 24, 0.75) 100%
    ) !important;
}



/* ----------------------------------------------------------
   3. KEN BURNS EFFECT (Guaranteed Override)
   ---------------------------------------------------------- */

.nk-header-title [class*="bg-image"],
.nk-header-title [class*="bg-video"],
.nk-page-header [class*="bg-image"],
.nk-page-header [class*="bg-video"] {
    animation: kenburnsFix 18s ease-out infinite alternate !important;
    transform-origin: center !important;
    display: block !important;
}

@keyframes kenburnsFix {
    0%   { transform: scale(1) translateY(0) !important; }
    100% { transform: scale(1.05) translateY(-4px) !important; }
}


/* ----------------------------------------------------------
   5. SEQUENTIAL WORD REVEAL
   PEOPLE → ANALYTICS → SOLUTIONS
   ---------------------------------------------------------- */

.nk-header-title span.word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

.nk-header-title span.word:nth-child(1) {
    animation: wordIn 0.6s ease-out 0.1s forwards;
}
.nk-header-title span.word:nth-child(2) {
    animation: wordIn 0.6s ease-out 0.32s forwards;
}
.nk-header-title span.word:nth-child(3) {
    animation: wordIn 0.6s ease-out 0.55s forwards;
}

@keyframes wordIn {
    to { opacity: 1; transform: translateY(0); }
}



/* ----------------------------------------------------------
   6. SCROLL DOWN DOT (Elegant Minimal Pulse)
   ---------------------------------------------------------- */

.scroll-indicator {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #f8f2e7;
    border-radius: 50%;
    opacity: 0.3;
    animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%   { opacity: 0.15; transform: translateX(-50%) translateY(0); }
    50%  { opacity: 1; transform: translateX(-50%) translateY(6px); }
    100% { opacity: 0.15; transform: translateX(-50%) translateY(0); }
}



/* ----------------------------------------------------------
   7. PREMIUM HERO TYPOGRAPHY (Responsive)
   ---------------------------------------------------------- */

@media (max-width: 767px) {

    .nk-header-title .nk-title,
    .nk-header-title .display-3,
    .nk-header-title h1 {
        font-size: 1.85rem !important;
        line-height: 1.20 !important;
        font-weight: 600 !important;
        letter-spacing: -0.01em !important;
        padding: 0 14px !important;
        opacity: 0;
        transform: translateY(18px);
        animation: heroFade 0.65s ease-out 0.15s forwards;
    }

    .nk-header-title .nk-subtitle {
        font-size: 0.72rem !important;
        letter-spacing: 0.23em !important;
        margin-bottom: 8px !important;
        opacity: 0;
        transform: translateY(14px);
        animation: heroFade 0.65s ease-out forwards;
    }

    .nk-header-title em.fw-400 {
        display: inline-block;
        font-style: normal !important;
        font-size: 1rem !important;
        line-height: 1.34 !important;
        opacity: 0.9;
        padding: 0 18px !important;
        margin-top: 6px !important;
        opacity: 0;
        transform: translateY(20px);
        animation: heroFade 0.75s ease-out 0.25s forwards;
    }

    .nk-header-title {
        padding-top: 52px !important;
        padding-bottom: 58px !important;
    }
}

@media (min-width: 768px) {
    .nk-header-title .nk-title {
        letter-spacing: -0.015em !important;
        transform: translateY(14px);
        opacity: 0;
        animation: heroFade 0.7s ease-out 0.2s forwards;
    }

    .nk-header-title .nk-subtitle {
        opacity: 0;
        transform: translateY(10px);
        animation: heroFade 0.7s ease-out forwards;
    }

    .nk-header-title em.fw-400 {
        opacity: 0;
        transform: translateY(18px);
        animation: heroFade 0.8s ease-out 0.25s forwards;
    }
}

@keyframes heroFade {
    0% { opacity: 0; transform: translateY(24px); }
    100% { opacity: 1; transform: translateY(0); }
}

.service-btn {
    margin-top: 18px;
    display: inline-block;
    padding: 10px 22px;
    background: rgba(255,255,255,0.92);
    color: #0d0f15 !important;
    font-weight: 600;
    font-size: 13px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: 0.25s ease;
}

.nk-portfolio-item-info:hover .service-btn {
    background: #C9A86A;
    color: #0d0f15 !important;
}

/* === FIX NAVBAR DROPDOWN CLIPPING === */
.nk-navbar .nk-nav > li {
    overflow: visible !important;
    position: relative !important;
}

.nk-navbar .nk-nav > li .dropdown {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0d0f15;
    padding: 12px 0;
    min-width: 240px;
    z-index: 9999;
    transition: opacity .25s ease;
}

.nk-navbar .nk-nav > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

/* ====================================================== */
/*   GACG PREMIUM DROPDOWN MENU — LUXURY GOLD UPGRADE     */
/* ====================================================== */

.nk-navbar .nk-nav > li .dropdown {
    background: rgba(13, 15, 21, 0.96);
    border-radius: 6px;
    padding: 12px 0;
    min-width: 260px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
    transform: translateY(6px);
    opacity: 0;
    visibility: hidden;
    transition: all .25s cubic-bezier(.25, .8, .25, 1);
}

.nk-navbar .nk-nav > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nk-navbar .dropdown li a {
    display: block;
    padding: 12px 22px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2px;
    opacity: 0.85;
    transition: all .23s ease;
    border-left: 3px solid transparent;
}

.nk-navbar .dropdown li a:hover {
    background: rgba(255, 255, 255, 0.06);
    opacity: 1;
    border-left: 3px solid #C9A86A; /* signature GACG gold */
}

/* spacing between items */
.nk-navbar .dropdown li + li a {
    margin-top: 2px;
}

/* prevent clipping issues */
.nk-navbar .nk-nav > li {
    overflow: visible !important;
}

/* =============================== */
/*    GACG PREMIUM CONTACT FORM    */
/* =============================== */

.gacg-form label {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.4px;
    color: #555;
}

.gacg-form input,
.gacg-form textarea {
    width: 100%;
    border: 1px solid #dcdcdc;
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.2s ease;
    background-color: #fafafa;
}

.gacg-form input:focus,
.gacg-form textarea:focus {
    border-color: #C9A86A;
    box-shadow: 0 0 0 2px rgba(201, 168, 106, 0.25);
    outline: none;
}

.gacg-btn {
    background-color: #C9A86A;
    color: #0d0f15;
    border: none;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.gacg-btn:hover {
    background-color: #b59255;
}

.gacg-status {
    margin-top: 18px;
    font-size: 15px;
    color: #fff;
}

/* =============================== */
/*    FORM SUCCESS / ERROR BOXES   */
/* =============================== */

#gacg-status {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: none; /* hidden by default */
}

/* Success */
#gacg-status.success {
    background-color: #C9A86A;
    color: #0d0f15;
}

/* Error */
#gacg-status.error {
    background-color: #b64646;
    color: #fff;
}

/* Optional fade animation */
#gacg-status.fade-in {
    animation: fadeIn 0.4s ease forwards;
}

#gacg-status.fade-out {
    animation: fadeOut 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Force status message to sit in normal flow so it is always visible */
#gacg-status {
    display: none;
    position: relative !important;
    top: 0 !important;
    margin-top: 18px !important;
}

#gacg-status {
    display: none;
    position: relative !important;
    width: 100% !important;
    float: left !important;
    clear: both !important;
    margin-top: 20px !important;
}


