/* ========== My Design Process Section ========== */
#process {
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-card {
    background: #0a0a0a;
    /* backdrop-filter removed for performance */
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-color);
}

.process-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    /* Very subtle number */
    z-index: 1;
}

.process-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.process-title {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.process-description {
    color: var(--text-secondary-color);
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* ========== FAQ Section (Reusing Price Styles) ========== */
#faq .accordion-content-inner p {
    color: var(--text-secondary-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

#faq .accordion-content-inner ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-secondary-color);
    margin-bottom: 15px;
}

#faq .accordion-content-inner ul li {
    margin-bottom: 8px;
}

#faq .accordion-content-inner ul li strong {
    color: var(--text-color);
}

/* --- About Us Redesign --- */
#about-me.about-redesign {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 100px 5%;
    background: #000;
    max-width: 1300px;
    margin: 0 auto;
}

.about-left {
    flex: 0 0 40%;
    position: relative;
    display: flex;
    justify-content: center;
}

.about-portrait {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

/* රූපයේ යට කොටස කලු පාටට fade වීම සඳහා */
.portrait-fade {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, #000 10%, transparent 100%);
}

.about-right {
    flex: 0 0 55%;
    text-align: left;
    color: #fff;
}

.about-name {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 5px;
}

.about-title-blue {
    color: #ffffff;
    /* Blue color from image */
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.about-para {
    color: #a0a0a0;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 50px;
}

.about-bottom-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.about-info-col,
.about-skills-col {
    flex: 1;
}

.block-heading {
    font-size: 1rem;
    color: #fff;
    border-bottom: 2px solid #ffffff;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 25px;
}

.custom-table {
    width: 100%;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.custom-table td {
    padding: 6px 0;
    vertical-align: top;
}

.custom-table td:first-child {
    width: 130px;
    color: #a0a0a0;
    font-weight: 500;
}

.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-row {
    width: 100%;
}

.skill-texts {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.s-name {
    color: #e0e0e0;
}

.s-pct {
    color: #fff;
}

.s-bar {
    width: 100%;
    height: 3px;
    background: #222;
    border-radius: 2px;
}

.s-fill {
    height: 100%;
    background: #ffffff;
    border-radius: 2px;
}

.about-social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 35px;
}

.about-social-icons a {
    color: #888;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.about-social-icons a:hover {
    color: #ffffff;
}

/* Mobile Responsive for About Us */
@media (max-width: 992px) {
    #about-me.about-redesign {
        flex-direction: column;
        text-align: center;
    }

    .about-right {
        text-align: center;
    }

    .about-bottom-grid {
        flex-direction: column;
        text-align: left;
        /* Keep table text left-aligned */
    }

    .about-social-icons {
        justify-content: center;
    }
}

/* ========== Contact Section Redesign ========== */
.contact-redesign {
    padding: 100px 5%;
    background: #000;
    max-width: 1400px; width: 100%;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-form-container {
    background: #050505;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.contact-form-container .form-group {
    margin-bottom: 25px;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 15px 20px;
    color: #fff;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: auto;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-details-box {
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: #050505;
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    min-width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text span {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
}

.contact-text a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #ffffff;
}

.contact-map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    min-height: 250px;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) contrast(80%);
    transition: filter 0.3s ease;
}

.contact-map-wrapper:hover iframe {
    filter: none;
}

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

    .contact-map-wrapper {
        min-height: 300px;
    }
}

/* ========== Portfolio Buy Actions & Price Popup ========== */
.portfolio-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    width: 100%;
}

/* ── View All button: fills all remaining space ── */
.portfolio-actions a.portfolio-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #e8eeff;
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.portfolio-actions a.portfolio-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

/* ── Buy icon button: fixed square, matches height ── */
.portfolio-actions .buy-btn {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 160, 0, 0.08);
    color: #ffc84a;
    border: 1.5px solid rgba(255, 160, 0, 0.45);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    box-sizing: border-box;
    transition: background 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.portfolio-actions .buy-btn:hover {
    background: #e08c00;
    border-color: #ffc84a;
    color: #fff;
    box-shadow: 0 0 18px rgba(255, 160, 0, 0.45);
    transform: translateY(-2px) scale(1.06);
}

/* Overlay completely removed as requested */
.price-popup-overlay {
    display: none;
}

.price-popup {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    background: #111;
    /* Dark chat bubble background */
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.2s ease-out;
    display: flex;
    flex-direction: column;
}

/* Chat bubble arrow/pointer */
.price-popup::after {
    content: '';
    position: absolute;
    bottom: -8px;
    /* Arrow pointing down */
    right: 20px;
    /* Positioned near the button */
    width: 15px;
    height: 15px;
    background: #111;
    border-right: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    transform: rotate(45deg);
}

.price-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.price-popup-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px 12px 0 0;
}

.price-popup-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
}

.price-popup-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.price-popup-close:hover {
    color: var(--primary-color);
}

.price-popup-content {
    padding: 20px;
}

.price-range {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-details {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    white-space: pre-line;
}

.price-popup-buy-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #25D366;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.price-popup-buy-btn:hover {
    background: #128C7E;
}

@media (max-width: 768px) {
    /* Kept chat bubble behavior for mobile too, just center it nicely relative to button */
}


/* ========== Premium Homepage Cards & Link styles ========== */
a.portfolio-card {
    text-decoration: none !important;
    color: inherit !important;
}

.portfolio-card {
    background: rgba(10, 10, 15, 0.75) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.portfolio-card:hover {
    transform: translateY(-8px) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2), 0 0 25px rgba(255, 255, 255, 0.1) !important;
}

/* Event Management premium cards hover override for anchor wrapper */
a.em-card {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

/* Restrict animated background gradient-orbs strictly to the top Hero section (100vh) */
.animated-background { display: none !important; }

/* ========== Fail-safe Footer Gap & Spacing ========== */
#main-footer {
    position: relative;
    margin-top: 120px !important;
    margin-bottom: 0 !important;
    padding-top: 80px !important;
    padding-bottom: 90px !important;
    background-color: #000 !important;
    background: #000000 !important;
    z-index: 10 !important;
}

/* Ensure Chatbot Container is strictly fixed so it never leaks 700px height below footer in document flow */
.chatbot-container {
    position: fixed !important;
    bottom: 33px !important;
    left: 53px !important;
    z-index: 10002 !important;
    pointer-events: none !important;
    width: auto !important;
    height: auto !important;
}

.chatbot-container * {
    pointer-events: auto;
}

#main-footer .thank-you-banner {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    max-width: 450px;
    z-index: 5;
    background-color: #000 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

#main-footer .floating-profile {
    position: absolute !important;
    right: 3% !important;
    bottom: 20px !important;
    width: 240px !important;
    z-index: 4;
}

/* Secret admin link - must look 100% pure white like surrounding text */
#admin-trigger-btn,
#admin-trigger-btn:link,
#admin-trigger-btn:visited,
#admin-trigger-btn:hover,
#admin-trigger-btn:active,
#admin-trigger-btn:focus,
.footer-credit a,
.footer-credit a:link,
.footer-credit a:visited,
.footer-credit a:hover,
.footer-credit a:active,
.footer-credit a:focus,
.bottom-bar-credit a,
.bottom-bar-credit a:link,
.bottom-bar-credit a:visited,
.bottom-bar-credit a:hover,
.bottom-bar-credit a:active,
.bottom-bar-credit a:focus {
    color: #ffffff !important;
    text-decoration: none !important;
    cursor: default !important;
    border: none !important;
    background: none !important;
    outline: none !important;
    font-weight: inherit !important;
    font-size: inherit !important;
    pointer-events: auto;
}

/* Full-Width GET NOW Button at bottom of Portfolio Cards */
.portfolio-card {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    overflow: hidden !important;
}

.portfolio-card .portfolio-content {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding: 22px 24px 18px !important;
}

/* Full-Width GET NOW Button at bottom of Portfolio Cards */
a.portfolio-card .portfolio-card-btn,
.portfolio-card .portfolio-card-btn,
div.portfolio-card-btn {
    width: 100% !important;
    min-height: 46px !important;
    height: 46px !important;
    padding: 12px 16px !important;
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    text-align: center !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 0 0 16px 16px !important;
    margin-top: auto !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: none !important;
    z-index: 10 !important;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: pointer !important;
}

a.portfolio-card:hover .portfolio-card-btn,
.portfolio-card:hover .portfolio-card-btn {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25) !important;
}

@media (max-width: 768px) {
    #main-footer {
        margin-top: 80px !important;
        padding-top: 60px !important;
        padding-bottom: 90px !important;
    }
    #main-footer .thank-you-banner {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 auto 30px auto !important;
    }
    #main-footer .floating-profile {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        margin: 20px auto 0 auto !important;
    }
}

/* === Migrated Dynamic Page Styles === */

        /* --- BOTTOM BAR STYLES --- */
        .bottom-bar-container {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 9999;
            display: flex;
            align-items: center;
            background: rgba(10, 10, 15, 0.7) !important;
            backdrop-filter: blur(25px) !important;
            -webkit-backdrop-filter: blur(25px) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 40px;
            padding: 8px 12px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
            width: 750px;
            max-width: 90vw;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        @media (max-width: 768px) {
            .bottom-bar-container {
                display: none !important;
            }
        }
        .bar-section-btn {
            background: transparent;
            border: none;
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 10px 20px;
            cursor: pointer;
            text-align: left;
            flex: 1;
            border-radius: 30px;
            transition: all 0.2s ease;
        }
        .bar-section-btn:hover {
            background: rgba(255, 255, 255, 0.03);
        }
        .bar-section-btn:active {
            transform: scale(0.98);
        }
        .section-icon-wrap {
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: #fff;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }
        .bar-section-btn:hover .section-icon-wrap {
            background: rgba(255, 255, 255, 0.12);
            border-color: #ffffff;
            color: #ffffff;
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
        }
        .section-details {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .section-title-wrapper {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .section-title-text {
            font-family: var(--font-heading);
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 1px;
            color: #fff;
        }
        .section-free-badge {
            font-family: var(--font-body);
            font-size: 8px;
            background: #ffffff;
            color: #fff;
            padding: 2px 6px;
            border-radius: 20px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .section-subdesc {
            font-family: var(--font-body);
            font-size: 10px;
            color: #888;
            margin: 0;
            line-height: 1.3;
        }
        .bar-vertical-line {
            width: 1px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            flex-shrink: 0;
        }

        /* --- DESKTOP POPUP PANEL (Full Page style with gap) --- */
        .desktop-bar-popup {
            position: fixed;
            bottom: 130px; /* Increased from 110px to prevent collision with bottom bar */
            left: 50%;
            transform: translateX(-50%) translateY(20px);
            width: 1100px;
            max-width: 90vw;
            max-height: 70vh;
            background: rgba(10, 10, 15, 0.85) !important;
            backdrop-filter: blur(35px) !important;
            -webkit-backdrop-filter: blur(35px) !important;
            border: 1px solid rgba(255, 255, 255, 0.06) !important;
            border-radius: 22px;
            padding: 30px;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
            z-index: 9998;
            opacity: 0;
            visibility: hidden;
            overflow-y: auto;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            flex-direction: column;
        }
        .desktop-bar-popup.open {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }
        
        /* Search Input */
        .ap-search-input {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: #fff;
            padding: 8px 12px;
            font-size: 14px;
            width: 200px;
            transition: all 0.3s ease;
        }
        .ap-search-input:focus {
            outline: none;
            border-color: #ffffff;
            background: rgba(255, 255, 255, 0.08);
        }
        .ap-search-input.mobile {
            width: 100%;
            margin-bottom: 10px;
        }

        .popup-head-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            padding-bottom: 15px;
            flex-shrink: 0;
        }
        .popup-head-row h3 {
            margin: 0;
            font-family: var(--font-heading);
            font-size: 1.4rem;
            letter-spacing: 1.5px;
            color: #fff;
            text-transform: uppercase;
        }
        .popup-close-x {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ccc;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .popup-close-x:hover {
            background: rgba(239, 68, 68, 0.1);
            border-color: #ef4444;
            color: #ef4444;
        }

        /* --- CARDS LISTING (Grid) --- */
        .ap-cards-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 15px;
            overflow-y: auto;
            flex-grow: 1;
            align-content: start; /* Prevents rows from stretching vertically in full-page */
            padding-right: 5px;
        }
        .ap-card-item {
            display: flex;
            flex-direction: column;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.04);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            height: auto;
        }
        .ap-card-item:hover {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-4px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
        }
        .ap-card-thumb {
            width: 100%;
            height: 160px; /* Fixed height for image */
            object-fit: cover;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        }
        .ap-card-body {
            padding: 15px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .ap-card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .ap-card-category {
            font-family: var(--font-body);
            font-size: 9px;
            color: #ffffff;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            font-weight: 700;
        }
        .ap-card-title {
            margin: 0;
            font-family: var(--font-heading);
            font-size: 15px;
            font-weight: 700;
            color: #fff;
        }
        .ap-card-desc {
            margin: 0;
            font-family: var(--font-body);
            font-size: 11px;
            color: #bbb;
            line-height: 1.4;
            flex-grow: 1;
        }
        .ap-get-btn {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #ffffff;
            padding: 6px 12px;
            border-radius: 6px;
            font-family: var(--font-body);
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            width: 100%;
            box-sizing: border-box;
        }

        /* --- PAGINATION STYLES --- */
        .ap-pagination-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 15px;
            padding-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.04);
            flex-shrink: 0;
        }
        .ap-page-nav-btn {
            background: rgba(255, 255, 255, 0.02) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            color: #fff !important;
            padding: 6px 12px !important;
            border-radius: 6px !important;
            font-family: var(--font-body) !important;
            font-size: 11px !important;
            font-weight: 600 !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
        }
        .ap-page-nav-btn:hover:not(:disabled) {
            background: var(--primary-color) !important;
            border-color: var(--primary-color) !important;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.3) !important;
        }
        .ap-page-nav-btn:disabled {
            opacity: 0.25 !important;
            cursor: not-allowed !important;
        }
        .ap-page-indicators {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .ap-page-indicator-dot {
            width: 6px;
            height: 6px;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            padding: 0;
            transition: all 0.2s ease;
        }
        .ap-page-indicator-dot:hover {
            background: rgba(255, 255, 255, 0.5);
        }
        .ap-page-indicator-dot.active {
            background: var(--primary-color);
            transform: scale(1.2);
            box-shadow: 0 0 8px var(--primary-color);
        }
        .ap-get-btn:hover {
            background: #ffffff;
            color: #fff;
            border-color: #ffffff;
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
        }

        /* --- COMING SOON --- */
        .ap-coming-soon {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 0;
            text-align: center;
            gap: 12px;
        }
        .ap-coming-soon-icon {
            font-size: 32px;
            color: #ffffff;
            animation: pulse-ap 2s infinite ease-in-out;
        }
        @keyframes pulse-ap {
            0%, 100% { transform: scale(1); opacity: 0.7; }
            50% { transform: scale(1.1); opacity: 1; }
        }
        .ap-coming-soon h4 {
            margin: 0;
            font-family: var(--font-heading);
            font-size: 16px;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .ap-coming-soon p {
            margin: 0;
            font-family: var(--font-body);
            font-size: 12px;
            color: #666;
            max-width: 300px;
        }

        /* --- MOBILE TOGGLE & DROPDOWN --- */
        .mobile-apps-trigger {
            position: fixed;
            top: 18px;
            right:  73px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: transparent !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            border: none !important;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size:  1.2rem !important;
            cursor: pointer;
            z-index: 10002;
            box-shadow: none !important;
            transition: all 0.3s ease;
        }
        .mobile-apps-trigger:hover {
            color: #ffffff;
            border-color: #ffffff;
        }
        .mobile-apps-trigger:active {
            transform: scale(0.9);
            background: #ffffff !important;
            color: #fff;
            border-color: #ffffff;
        }
        @media (min-width: 769px) {
            .mobile-apps-trigger {
                display: none !important;
            }
        }
        .mobile-apps-dropdown {
            position: fixed;
            top: 75px;
            left: 15px;
            width: calc(100vw - 30px);
            max-height: 70vh;
            background: rgba(10, 10, 15, 0.95) !important;
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 16px;
            z-index: 9999;
            transform: translateY(20px) scale(0.95);
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
        }
        .mobile-apps-dropdown.open {
            opacity: 1;
            transform: translateY(0) scale(1);
            pointer-events: auto;
        }
        .mobile-tabs-header {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            padding: 15px 15px 10px 15px;
            overflow-x: auto;
        }
        .mob-tab-btn {
            background: transparent;
            border: none;
            color: #888;
            font-family: var(--font-heading);
            font-size: 13px;
            font-weight: 600;
            padding: 8px 15px;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.2s ease;
            position: relative;
            flex: 1;
            border-radius: 8px;
        }
        .mob-tab-btn.active {
            color: #fff;
            background: rgba(255, 255, 255, 0.1);
        }
        .mob-tab-btn:hover {
            color: #ccc;
        }
        .mobile-apps-list {
            padding: 0 15px 15px 15px;
            overflow-y: auto;
            flex: 1;
        }
        .mobile-ap-card-item {
            display: flex;
            flex-direction: column;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.04);
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 15px;
        }
        .mobile-ap-card-thumb {
            width: 100%;
            height: 140px;
            object-fit: cover;
        }
        .mobile-ap-card-body {
            padding: 15px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        /* --- FLOATING ACTIONS & SCROLL SECTION INDICATOR (Desktop Only) --- */
        .desktop-floating-actions {
            position: fixed;
            bottom: 115px; /* Leaves a 15px gap above bottom bar which ends at 100px */
            left: 50%;
            transform: translateX(-50%);
            z-index: 9997;
            pointer-events: auto;
            transition: all 0.3s ease;
        }
        @media (max-width: 768px) {
            .desktop-floating-actions {
                display: none !important;
            }
        }

        /* State A: Hero Buttons */
        .hero-floating-buttons {
            display: flex;
            gap: 15px;
            align-items: center;
            transform: translateY(-80px); /* Shift up significantly to increase gap from bottom bar */
        }
        .floating-hero-btn {
            position: relative;
            background: rgba(10, 10, 15, 0.75) !important;
            backdrop-filter: blur(15px) !important;
            -webkit-backdrop-filter: blur(15px) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            color: #fff;
            padding: 12px 28px;
            font-family: var(--font-heading);
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            border-radius: 50px;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
        .floating-hero-btn.official-btn {
            border-color: rgba(255, 255, 255, 0.2) !important;
            color: #ffffff;
        }
        .floating-hero-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.08),
                transparent
            );
            transition: 0.5s;
        }
        .floating-hero-btn:hover::before {
            left: 100%;
        }
        .floating-hero-btn:hover {
            transform: translateY(-3px) scale(1.03);
            box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
            background: rgba(20, 20, 30, 0.9) !important;
        }
        .floating-hero-btn.official-btn:hover {
            border-color: #ffffff !important;
            box-shadow: 0 15px 30px rgba(255, 255, 255, 0.25);
        }

        /* State B: Section Indicator Badge */
        .section-badge-container {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(10, 10, 15, 0.6) !important;
            backdrop-filter: blur(15px) !important;
            -webkit-backdrop-filter: blur(15px) !important;
            border: 1px solid rgba(255, 255, 255, 0.05) !important;
            padding: 8px 20px;
            border-radius: 50px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
            animation: fadeInIndicator 0.4s ease-out forwards;
        }
        .section-dot {
            width: 6px;
            height: 6px;
            background: #ffffff;
            border-radius: 50%;
            box-shadow: 0 0 10px #ffffff;
            animation: pulseDot 2s infinite;
        }
        .section-name {
            font-family: var(--font-heading);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 2px;
            color: rgba(255, 255, 255, 0.8);
            text-transform: uppercase;
        }

        @keyframes fadeInIndicator {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        @keyframes pulseDot {
            0% {
                transform: scale(1);
                box-shadow: 0 0 4px #ffffff;
            }
            50% {
                transform: scale(1.3);
                box-shadow: 0 0 12px #ffffff;
            }
            100% {
                transform: scale(1);
                box-shadow: 0 0 4px #ffffff;
            }
        }

        /* --- CHATBOT PULSE & GLOW (Deep Blue to match astronaut icon) --- */
        @keyframes chatbotPulse {
            0% {
                box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
            }
            70% {
                box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
            }
        }
        .chatbot-button.pulse {
            animation: chatbotPulse 2s infinite !important;
            background: rgba(10, 10, 15, 0.8) !important;
            backdrop-filter: blur(10px) !important;
            -webkit-backdrop-filter: blur(10px) !important;
            border: 1px solid rgba(255, 255, 255, 0.3) !important;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
            transition: all 0.3s ease !important;
        }
        .chatbot-button.pulse:hover {
            transform: scale(1.1) !important;
            border-color: rgba(255, 255, 255, 0.8) !important;
            box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3) !important;
        }
        .chatbot-button.pulse i {
            color: #ffffff !important;
        }

        /* ========== Bottom Bar Credit Text ========== */
        .bottom-bar-credit {
            position: fixed;
            bottom: 8px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 9999;
            font-size: 10px;
            color: rgba(255, 255, 255, 0.5);
            font-family: 'Poppins', sans-serif;
            text-align: center;
            white-space: nowrap;
            letter-spacing: 0.5px;
        }

        @media (max-width: 768px) {
            .bottom-bar-credit {
                display: none !important;
            }
        }

        /* ========== Premium Floating Search Bar Styles (Top Right) ========== */
        .floating-search-wrapper {
            position: fixed !important;
            top: 20px !important;
            right: 80px !important;
            z-index: 10005 !important;
            display: flex !important;
            align-items: center !important;
            gap: 10px !important;
            pointer-events: auto !important;
        }

        .floating-search-bar {
            display: flex !important;
            align-items: center !important;
            padding: 4px 6px 4px 12px !important;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
            width: 45px !important;
            height: 45px !important;
            overflow: hidden !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
        }

        .floating-search-bar.expanded {
            width: 260px !important;
            border-color: rgba(255, 255, 255, 0.45) !important;
            box-shadow: 0 4px 25px rgba(255, 255, 255, 0.25) !important;
            background: rgba(8, 10, 20, 0.9) !important;
        }

        .search-toggle-btn {
            background: none !important;
            border: none !important;
            color: #ffffff !important;
            cursor: pointer !important;
            font-size:  1.2rem !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 35px !important;
            height: 35px !important;
            border-radius: 50% !important;
            transition: all 0.3s ease !important;
            padding: 0 !important;
            flex-shrink: 0 !important;
        }

        .search-toggle-btn .btn-text {
            display: none !important; /* Keep search bar clean and compact */
        }

        .search-toggle-btn:hover {
            color: #ffffff !important;
        }

        .search-input {
            background: none !important;
            border: none !important;
            outline: none !important;
            color: #ffffff !important;
            font-family: 'Poppins', sans-serif !important;
            font-size: 0.9rem !important;
            width: 0 !important;
            padding: 0 !important;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
            opacity: 0 !important;
        }

        .floating-search-bar.expanded .search-input {
            width: 170px !important;
            padding: 0 10px !important;
            opacity: 1 !important;
        }

        .search-results-dropdown {
            position: absolute !important;
            top: 55px !important; /* Open downwards since search bar is at top */
            right: 0 !important;
            width: 300px !important;
            max-height: 380px !important;
            overflow-y: auto !important;
            background: rgba(10, 13, 26, 0.95) !important;
            backdrop-filter: blur(25px) !important;
            -webkit-backdrop-filter: blur(25px) !important;
            border: 1px solid rgba(255, 255, 255, 0.08) !important;
            border-radius: 16px !important;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
            opacity: 0 !important;
            visibility: hidden !important;
            transform: translateY(-10px) !important;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
            z-index: 2400 !important;
            padding: 8px !important;
        }

        .search-results-dropdown.show {
            opacity: 1 !important;
            visibility: visible !important;
            transform: translateY(0) !important;
        }

        /* Dropdown results items */
        .search-result-item {
            padding: 10px 12px !important;
            border-radius: 8px !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
            text-align: left !important;
        }

        .search-result-item:last-child {
            border-bottom: none !important;
        }

        .search-result-item:hover {
            background: rgba(255, 255, 255, 0.12) !important;
        }

        .search-result-title {
            font-size: 0.88rem !important;
            font-weight: 600 !important;
            color: #ffffff !important;
            margin-bottom: 4px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
        }

        .search-result-desc {
            font-size: 0.75rem !important;
            color: rgba(255, 255, 255, 0.5) !important;
            line-height: 1.4 !important;
        }

        .search-no-results {
            padding: 15px !important;
            text-align: center !important;
            color: rgba(255, 255, 255, 0.4) !important;
            font-size: 0.85rem !important;
        }

        /* Mobile Adjustments */
        @media (max-width: 768px) {
            .floating-search-wrapper {
                top: 15px !important;
                right: 68px !important;
                left: auto !important;
                bottom: auto !important;
            }
            .floating-search-bar.expanded {
                width: 200px !important;
                flex-direction: row-reverse !important;
            }
            .floating-search-bar.expanded .search-input {
                width: 120px !important;
            }
            .search-results-dropdown {
                width: 260px !important;
                max-height: 300px !important;
                top: 50px !important;
                bottom: auto !important;
                right: 0 !important;
                left: auto !important;
            }
            .jgs-service-launcher {
                top: 15px !important;
                right: 130px !important;
            }
            .service-launcher-btn {
                width: 40px !important;
                height: 40px !important;
                border-radius: 50% !important;
                font-size: 1.1rem !important;
            }
        }
      
/* === Premium Animations for Sections === */
html, body {
    scroll-behavior: smooth !important;
}

.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Hero Background Image (Desktop Left) === */
header#home {
    position: relative;
    overflow: hidden;
}

header#home .hero-title,
header#home .hero-description,
header#home .scroll-down {
    position: relative;
    z-index: 2; /* Ensure text and buttons stay above the background image */
}

.hero-bg-img {
    position: absolute !important;
    left: -5% !important;
    bottom: 0 !important;
    height: 100% !important;
    width: auto !important;
    max-width: 50% !important;
    object-fit: contain !important;
    object-position: bottom left !important;
    z-index: 1 !important; /* Below text, above deep background */
    pointer-events: none !important; /* Do not block clicks */
    animation: fadeSlideRight 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
    transform: translateX(-50px);
}

@keyframes fadeSlideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .hero-bg-img {
        opacity: 0.2 !important; 
        max-width: 60% !important;
        left: -10% !important;
    }
}

@media (max-width: 768px) {
    .hero-bg-img {
        display: none !important; /* Hide on mobile to keep it clean */
    }
}

/* ==========================================================================
   Premium Ambient Lighting Effects (Matching Hero Image)
   ========================================================================== */

/* 1. Hero Section Lighting (Legacy replaced by hero_bg.png) */
/* header#home::before removed */

@keyframes pulseLight {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* 2. Global Section Ambient Lighting (Subtle glows from both sides) */
#project-categories, #portfolio, #faq, #contact-me {
    position: relative;
}

#project-categories::before, /* Removed side gradient */

#project-categories::after, /* Removed side gradient */

/* Elevate section content above the ambient lights */
#project-categories > *, #portfolio > *, #faq > *, #contact-me > * {
    position: relative;
    z-index: 1;
}

/* Maintain edge lighting on mobile, but make it softer */
@media (max-width: 768px) {
    /* header#home::before removed */
    
    #project-categories::before, /* Removed side gradient */

.brand-gallery-page-container::after {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 45%;
    background: transparent;
    z-index: 2;
    pointer-events: none;
}

.bg-top-bar-row {
    display: flex;
    justify-content: flex-start;
    padding: 40px 25px 10px 25px;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.bg-back-pill-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.bg-back-pill-btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
}

.bg-modal-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 25px 80px 25px;
    box-sizing: border-box;
    position: relative;
}

/* Screen 1: Header & Search */
.bg-overview-header {
    text-align: center;
    margin-bottom: 45px;
    position: relative;
}

.bg-overview-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 0 0 25px 0;
    text-transform: uppercase;
}

.bg-overview-title .bg-orange-text {
    color: #ffffff;
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-search-box-wrap {
    max-width: 550px;
    margin: 0 auto;
    position: relative;
}

.bg-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    outline: none;
    padding: 16px 28px 16px 50px;
    border-radius: 40px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.bg-search-input::placeholder {
    color: #666;
}

.bg-search-input:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.bg-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    pointer-events: none;
}

/* Screen 1: Concepts Grid - Wide Landscape Layout */
.bg-concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.bg-concept-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #08080c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 16 / 10; /* Clean Behance layout */
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.bg-concept-card:hover {
    border-color: #ffffff;
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

.bg-concept-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Card Hover Shadow Overlay - Hidden by default, slides up and fades in on hover */
.bg-concept-shadow-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.65) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.bg-concept-card:hover .bg-concept-shadow-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.bg-card-badge {
    align-self: flex-start;
    font-size: 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 3px 9px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.bg-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.bg-card-date {
    font-size: 11px;
    color: #888;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bg-card-action {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: color 0.3s ease;
}

.bg-concept-card:hover .bg-card-action {
    color: #ffa040;
}

/* ==========================================================================
   Screen 2: Detail Presentation View
   ========================================================================== */
.bg-presentation-view {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    animation: bgSlideUp 0.35s ease-out forwards;
}

@keyframes bgSlideUp {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bg-presentation-header {
    text-align: center;
    margin-bottom: 45px;
    position: relative;
    padding: 0 10px;
}

.bg-presentation-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 15px 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #ff9d00 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-presentation-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto;
}

/* Vertical Stack of Mockup Presentation Images */
.bg-presentation-slides-stack {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 60px;
}

.bg-presentation-slide-card-wrap {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #08080c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
}

.bg-presentation-slide-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Conversion & Contact Footer Card */
.bg-conversion-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(8, 8, 12, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    margin-top: 40px;
}

.bg-conversion-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.bg-conversion-desc {
    font-size: 14px;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.bg-conversion-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.bg-action-btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 15px 30px;
    border-radius: 0px !important; /* Flat square corners (no rounding) */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.25);
}

.bg-action-btn-whatsapp:hover {
    background: #20ba59;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.bg-action-btn-order {
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 15px 30px;
    border-radius: 0px !important; /* Flat square corners (no rounding) */
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.bg-action-btn-order:hover {
    background: #ffa040;
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Home Page Swiper Background-Image Slide display
   ========================================================================== */
.branding-slider-brand .swiper-slide, 
.branding-slider-logo .swiper-slide {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    height: auto !important;
    background: #08080c;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.swiper-slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 16px;
}





/* Mobile & Tablet Responsiveness styling */
@media (max-width: 768px) {
    .brand-gallery-page-container {
        padding-top: 10px;
    }
    .bg-top-bar-row {
        padding: 20px 15px 5px 15px;
    }
    .bg-back-pill-btn {
        padding: 8px 18px;
        font-size: 11px;
    }
    .bg-modal-container {
        padding: 10px 15px 60px 15px;
    }
    .bg-overview-header {
        margin-bottom: 30px;
    }
    .bg-overview-title {
        font-size: 1.8rem;
    }
    .bg-concepts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .bg-concept-card {
        aspect-ratio: 16 / 10;
    }
    .bg-presentation-slides-stack {
        gap: 20px;
        margin-bottom: 40px;
    }
    .bg-presentation-slide-card-wrap {
        border-radius: 12px;
    }
    .bg-conversion-card {
        padding: 35px 20px;
    }
    .brand-gallery-trigger-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .bg-trigger-left {
        flex-direction: column;
        text-align: center;
    }
    .bg-trigger-info {
        text-align: center;
    }
}

/* Static Hero Action Buttons inside header#home content */
.hero-action-buttons-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 25px;
    margin-bottom: 85px; /* Spacers to prevent collision with scroll-down chevron */
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 30px; /* Rounded pill style matching the original buttons */
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-premium-btn.hero-btn-official {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.hero-premium-btn.hero-btn-official:hover {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.hero-premium-btn.hero-btn-portfolio {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    align-self: auto !important; /* Prevent parent flex alignment overrides */
}

.hero-premium-btn.hero-btn-portfolio:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .hero-action-buttons-wrap {
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
        margin-bottom: 75px;
        padding: 0;
        width: 100%;
        align-items: center;
    }
    .hero-premium-btn {
        width: auto !important;
        min-width: 220px !important;
        max-width: 280px !important;
        padding: 11px 24px;
        font-size: 12px;
    }
}



