/* =====================================================
   LOGO MARQUEE
   FIX-14: .marquee-content duplicated in DOM (×2) for
           infinite loop — the animation must translate
           exactly -50% so loop point is pixel-perfect.
           Both tracks already use this value; no change
           needed to keyframes, but will-change was absent
           on .marquee-content itself (it's what moves).
   FIX-15: overflow:hidden missing from .marquee-wrapper —
           without it, tracks can bleed past the mask on
           some Blink versions.
   ===================================================== */
.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    width: 100%;
    overflow: hidden;
    /* FIX-15 */
    mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 1) 15%,
            rgba(0, 0, 0, 1) 85%,
            rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 1) 15%,
            rgba(0, 0, 0, 1) 85%,
            rgba(0, 0, 0, 0) 100%);
}

.marquee-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    user-select: none;
}

/* FIX-16: align-items:center added — without it, logo
   cards of unequal height misalign vertically mid-strip */
.marquee-content {
    display: flex;
    align-items: center;
    /* FIX-16 */
    flex-shrink: 0;
    gap: var(--gap);
    padding: 10px 0;
    will-change: transform;
    /* FIX-14: promote animating element */
}

.track-left {
    animation: scroll-left var(--duration) linear infinite;
}

.track-right {
    animation: scroll-right var(--duration) linear infinite;
}

/* FIX-17: will-change removed from track wrappers —
   it was on the container not the animated child; moved
   to .marquee-content above where it belongs */
@keyframes scroll-left {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes scroll-right {
    from {
        transform: translate3d(-50%, 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* FIX-18: .logo-card base styles were missing entirely —
   only hover styles existed, causing layout pop on first
   hover because there was no defined initial state for
   transform/background/box-shadow/border-color */
.logo-card {
    width: var(--logo-size);
    height: var(--logo-size);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 12px;
    box-sizing: border-box;
    flex-shrink: 0;
    transition:
        transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        background 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        border-color 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-card img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    /* FIX-19: removes inline baseline gap */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
    opacity: 0.9;
    transition:
        opacity 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        filter 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-card:hover {
    transform: scale(1.15) translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.logo-card:hover img {
    opacity: 1;
    transform: scale(1.05);
    filter: saturate(1.2) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    :root {
        --logo-size: 80px;
        --gap: 1.2rem;
        --duration: 25s;
        --card-width: 320px;
    }
}


/* =====================================================
   PREMIUM FOOTER
   FIX-20: .contact-item used var(--text-white) which was
           commented out; now restored in :root (FIX-01).
   FIX-21: .contact-item transition was `opacity 0.3s ease`
           but :hover sets no opacity — it should be `color`.
           Added color transition; kept opacity as secondary
           for fade-in scenarios.
   ===================================================== */
.premium-footer {
    background: var(--footer-gradient);
    color: var(--text-muted);
    padding: 80px 0 40px;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.footer-logo-text {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    letter-spacing: 5px;
    margin-bottom: 20px;
    display: block;
    line-height: 1;
}

.footer-description {
    max-width: 750px;
    margin: 0 auto 50px;
    font-size: 16px;
    line-height: 1.8;
    color: #cbd5e1;
    text-align: center;
}

.contact-flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease, opacity 0.3s ease;
    /* FIX-21 */
}

.contact-item:hover {
    opacity: 0.8;
    /* FIX-21: was missing — now hover actually changes appearance */
}

.contact-item i {
    color: var(--accent-blue);
    font-size: 18px;
}

.address-box {
    max-width: 350px;
    text-align: left;
    line-height: 1.5;
    color: var(--text-muted);
    font-weight: 400;
}

.cert-row {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-wrap: wrap;
    /* FIX-22: prevents overflow on very narrow screens */
}

.v-separator {
    width: 1px;
    height: 15px;
    background: var(--border-color);
    flex-shrink: 0;
}

.copyright-text {
    font-size: 13px;
    margin-bottom: 80px;
    text-align: center;
}

.footer-grid-title {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.footer-nav-list li {
    margin-bottom: 15px;
}

.footer-nav-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-nav-list a:hover {
    color: var(--text-white);
}

.footer-nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 50%;
    background: var(--text-white);
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.footer-nav-list a:hover::after {
    width: 100%;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

@media (max-width: 991px) {
    .contact-flex-container {
        gap: 30px;
    }

    .footer-logo-text {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-flex-container {
        flex-direction: column;
        text-align: center;
    }

    .address-box {
        text-align: center;
    }

    .cert-row {
        flex-direction: column;
        gap: 15px;
    }

    .v-separator {
        display: none;
    }

    .footer-grid-title {
        margin-top: 20px;
    }
}


/* =====================================================
   NEBULA TESTIMONIAL SECTION
   FIX-23: min-height:100vh on a flex column with children
           that may exceed 100vh causes double-scroll on
           some mobile browsers.  Changed to min-height with
           a safe fallback via dvh where supported.
   ===================================================== */
.nebula-main-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    /* FIX-23: dynamic viewport height avoids
                              mobile browser chrome overlap */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 0;
    box-sizing: border-box;
    /* FIX-24: padding was added on top of 100vh,
                              making total height > viewport */
}

/* FIX-25: will-change:auto on a static background is a
   no-op — removed entirely to reduce memory overhead */
.nebula-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(99, 102, 241, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 85%);
    /* FIX-26 */
    pointer-events: none;
}

/* Floating ambient lights */
/* .nebula-floating-light {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
  animation: nebulaFloatAnimation 25s infinite alternate ease-in-out;
  will-change: transform;
} */

.nebula-floating-light-left {
    background: var(--primary-glow);
    top: -15%;
    left: -10%;
}

.nebula-floating-light-right {
    background: var(--secondary-glow);
    bottom: -15%;
    right: -10%;
    animation-delay: -7s;
}

@keyframes nebulaFloatAnimation {
    from {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    to {
        transform: translate(150px, 80px) rotate(15deg) scale(1.1);
    }
}

/* FIX-27: z-index:10 with no stacking context parent
   can leak above the scroll track — wrap in isolation
   on the parent (.nebula-main-wrapper already has it via
   overflow:hidden) but add explicit positioning here. */
.nebula-heading-wrapper {
    text-align: center;
    margin-bottom: 80px;
    z-index: 10;
    position: relative;
    padding: 0 20px;
}

.nebula-heading-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary-glow);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* FIX-28: background-clip gradient needs an explicit
   background property to clip; restored background shorthand
   and ensured both prefixed and unprefixed are present */
.nebula-main-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    background: var(--accent-gradient);
    /* FIX-28: was missing */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}


/* =====================================================
   NEBULA — SEAMLESS SCROLL
   ===================================================== */
.nebula-review-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* FIX-29: gap between duplicated halves causes a 1-frame
   jump at loop reset.  The track width is
   (N × card-width) + (N-1 × card-gap) for each half, then
   ×2 for the duplicate.  translate3d(-50%,0,0) lands exactly
   on the start of the second copy.  No extra offset needed.
   The only requirement is the gap is uniform — it is via
   var(--card-gap), so -50% is correct.                      */
.nebula-review-track {
    display: flex;
    width: max-content;
    gap: var(--card-gap);
    animation: nebulaSeamlessScroll var(--scroll-speed) linear infinite;
    will-change: transform;
}

@keyframes nebulaSeamlessScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.nebula-review-scroll-container:hover .nebula-review-track {
    animation-play-state: paused;
}


/* =====================================================
   NEBULA — REVIEW CARDS
   FIX-30: height:460px is fixed — on mobile with padding:45px
           and multi-line quotes, content overflows.  Changed
           to min-height so the card grows if needed.
   ===================================================== */
.nebula-review-card {
    flex: 0 0 var(--card-width);
    min-height: 460px;
    /* FIX-30: was height:460px — content overflow */
    background: rgb(241 246 255 / 70%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 45px;
    box-sizing: border-box;
    /* FIX-31: padding was not counted against flex-basis,
                                  causing cards to be 90px wider than --card-width */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: border-color 0.4s ease, background 0.4s ease;
    overflow: hidden;
    isolation: isolate;
}

/* Mouse-follow glow */
.nebula-review-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.08),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.nebula-review-card:hover::after {
    opacity: 1;
}

.nebula-review-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.85);
}

.nebula-review-card>* {
    position: relative;
    z-index: 1;
}

/* Quote icon */
.nebula-quote-symbol {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    /* FIX-32: prevents squish in column flex */
    background: var(--accent-gradient);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.017 21L14.017 18C14.017 16.8954 14.9124 16 16.017 16H19.017C19.5693 16 20.017 15.5523 20.017 15V9C20.017 8.44772 19.5693 8 19.017 8H15.017C14.4647 8 14.017 7.55228 14.017 7V5C14.017 4.44772 14.4647 4 15.017 4H19.017C21.2261 4 23.017 5.79086 23.017 8V15C23.017 18.3137 20.3307 21 17.017 21H14.017ZM1.017 21L1.017 18C1.017 16.8954 1.91241 16 3.017 16H6.017C6.56928 16 7.017 15.5523 7.017 15V9C7.017 8.44772 6.56928 8 6.017 8H2.017C1.46472 8 1.017 7.55228 1.017 7V5C1.017 4.44772 1.46472 4 2.017 4H6.017C8.22614 4 10.017 5.79086 10.017 8V15C10.017 18.3137 7.33072 21 4.017 21H1.017Z'/%3E%3C%2Fsvg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.017 21L14.017 18C14.017 16.8954 14.9124 16 16.017 16H19.017C19.5693 16 20.017 15.5523 20.017 15V9C20.017 8.44772 19.5693 8 19.017 8H15.017C14.4647 8 14.017 7.55228 14.017 7V5C14.017 4.44772 14.4647 4 15.017 4H19.017C21.2261 4 23.017 5.79086 23.017 8V15C23.017 18.3137 20.3307 21 17.017 21H14.017ZM1.017 21L1.017 18C1.017 16.8954 1.91241 16 3.017 16H6.017C6.56928 16 7.017 15.5523 7.017 15V9C7.017 8.44772 6.56928 8 6.017 8H2.017C1.46472 8 1.017 7.55228 1.017 7V5C1.017 4.44772 1.46472 4 2.017 4H6.017C8.22614 4 10.017 5.79086 10.017 8V15C10.017 18.3137 7.33072 21 4.017 21H1.017Z'/%3E%3C%2Fsvg%3E") no-repeat center;
    opacity: 0.3;
}

.nebula-review-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #000000;
    font-style: italic;
    font-weight: 300;
}

.nebula-rating-stars {
    display: flex;
    gap: 5px;
    color: #fbbf24;
    margin: 15px 0;
    font-size: 1.2rem;
}

.nebula-student-details {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.nebula-avatar-container {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.nebula-student-avatar {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    display: block;
}

.nebula-avatar-light {
    position: absolute;
    inset: -5px;
    border-radius: 22px;
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nebula-review-card:hover .nebula-avatar-light {
    opacity: 0.7;
}

.nebula-user-info p {
    font-size: 0.9rem;
    color: var(--primary-glow);
    font-weight: 600;
}

.nebula-company-icon {
    margin-left: auto;
    opacity: 0.3;
    filter: grayscale(1) invert(1);
    flex-shrink: 0;
}

/* FIX-33: mobile card height:400px inherited the same
   overflow problem as desktop — changed to min-height */
@media (max-width: 768px) {
    .nebula-review-card {
        min-height: 400px;
        /* FIX-33 */
        padding: 30px;
    }
}







/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* ================================
   PREMIUM HORIZONTAL MODULE DESIGN
================================ */
/* --- HEADER SECTION --- */
.main-header-group {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

/* ================================
   GRADIENT VARIABLE USAGE
================================ */

main-p {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 5px;

    background: linear-gradient(90.15deg,
            var(--accent-color) 0%,
            var(--accent-secondary-color) 100%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    margin-bottom: 14px;
    font-weight: 700;
    position: relative;
}

main-p::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 60%;
    height: 2px;

    background: linear-gradient(90.15deg,
            var(--accent-color) 0%,
            var(--accent-secondary-color) 100%);

    transform: translateX(-50%);
    opacity: 0.5;
}


main-p3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(to right, rgba(186, 178, 14, 0.894) 43.57%, rgba(7, 192, 229, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================================
   SCROLLER SECTION
================================ */

.scroller-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;

    mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);

    -webkit-mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
}

.scroller-inner {
    display: flex;
    align-items: stretch;
    gap: 28px;
    width: max-content;
    /* padding: 35px 0; */
    animation: premiumScroll 55s linear infinite;
    will-change: transform;
}

.scroller-container:hover .scroller-inner {
    animation-play-state: paused;
}

@keyframes premiumScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ================================
   MODULE CARD
================================ */

.module-card {
    width: 400px;
    min-height: 180px;
    padding: 34px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    cursor: pointer;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.08);

    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease,
        border-color 0.5s ease;
}


/* subtle shine */
.module-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(135deg,
            rgba(0, 0, 0, 0.04),
            transparent 40%);

    opacity: 0;
    transition: 0.5s ease;
}

/* module hover border */
.module-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;

    background: linear-gradient(90.15deg,
            var(--accent-color) 0%,
            var(--accent-secondary-color) 100%);

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0;
    transition: 0.5s ease;
}

.module-card:hover::before {
    opacity: 1;
}

/* ================================
   CARD CONTENT
================================ */

.mod-num {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 16px;
}

.mod-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.3;
    color: #000000;
    transition: 0.3s ease;

}

.module-card:hover .mod-title {
    background: linear-gradient(90.15deg,
            var(--accent-color) 0%,
            var(--accent-secondary-color) 100%);


    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* tool tag hover */
.tool-tag:hover {
    border-color: transparent;

    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90.15deg,
            var(--accent-color) 0%,
            var(--accent-secondary-color) 100%) border-box;

    border: 1px solid transparent;

    transform: translateY(-4px) scale(1.05);

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.06);
}

/* ================================
   TEXT SECTION
================================ */

.text-box {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.mod-desc {
    display: inline-block;
    white-space: nowrap;
    color: rgba(0, 0, 0, 0.65);
    font-size: 0.96rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.module-card:hover .mod-desc {
    animation: marqueeText 12s linear infinite;
    color: #000000;
}

@keyframes marqueeText {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ================================
   TOOLS SECTION
================================ */

.tools-section {
    margin-top: 120px;
    text-align: center;
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 50px;
}

/* tool tags */
.tool-tag {
    position: relative;
    overflow: hidden;

    padding: 12px 28px;
    border-radius: 999px;

    background: #fff;

    border: 1px solid rgba(0, 0, 0, 0.08);

    color: rgba(0, 0, 0, 0.7);

    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.5px;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease;
}

.tool-tag::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(120deg,
            transparent,
            rgba(0, 0, 0, 0.04),
            transparent);

    transform: translateX(-100%);
    transition: 0.6s ease;
}

.tool-tag:hover::before {
    transform: translateX(100%);
}

.tool-tag:hover {
    color: #000;

    border-color: rgba(0, 0, 0, 0.2);

    transform: translateY(-4px) scale(1.05);

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.06);
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 992px) {

    .module-card {
        width: 320px;
        padding: 28px;
    }

    main-p3 {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {

    .scroller-inner {
        gap: 18px;
        animation-duration: 40s;
    }

    .module-card {
        width: 280px;
        min-height: auto;
        padding: 24px;
    }

    .mod-title {
        font-size: 1.2rem;
    }

    .mod-desc {
        font-size: 0.88rem;
    }

    .tools-grid {
        gap: 12px;
    }

    .tool-tag {
        padding: 10px 20px;
        font-size: 0.82rem;
    }
}

:root {
    --primary-glow: rgba(0, 0, 0, 0.15);
    --accent: #000000;

    /* BLACK + WHITE GLASS */
    --glass: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(0, 0, 0, 0.08);

    --bg-dark: #ffffff;

    /* NEW GRADIENT */
    --premium-gradient: linear-gradient(270deg,
            rgba(186, 178, 14, 0.894) 43.57%,
            rgba(7, 192, 229, 0.8) 100%);
}

/* SECTION */
.premium-showcase {
    position: relative;
    padding: 10px 20px;
    overflow: hidden;

    /* WHITE BACKGROUND */
    background: #ffffff;
}

.certificate-container {
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* BACKGROUND SHAPES */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    pointer-events: none;
}

.shape-1 {
    width: 300px;
    height: 300px;

    /* GRADIENT EFFECT */
    background: rgba(186, 178, 14, 0.18);

    top: -50px;
    left: -50px;
}

.shape-2 {
    width: 400px;
    height: 400px;

    /* GRADIENT EFFECT */
    background: rgba(7, 192, 229, 0.15);

    bottom: -100px;
    right: -50px;
}

/* CERTIFICATE */
.certificate-wrapper {
    perspective: 1000px;
}

.glass-card {
    position: relative;

    /* BLACK & WHITE GLASS */
    background: rgba(255, 255, 255, 0.85);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid var(--glass-border);

    padding: 20px;
    border-radius: 24px;
    overflow: hidden;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04);

    animation: float 6s ease-in-out infinite;

    transition:
        transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.6s ease;
}

/* TOP BORDER GRADIENT */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: var(--premium-gradient);
}

/* HOVER */
.glass-card:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(-5deg) scale(1.02);

    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 0 30px rgba(7, 192, 229, 0.15);
}

.cert-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    object-fit: cover;
}

/* LIGHT SWEEP */
.light-sweep {
    position: absolute;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;

    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent);

    transform: skewX(-25deg);
    transition: left 0.8s ease;
}

.glass-card:hover .light-sweep {
    left: 150%;
}

/* FLOAT */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* FAQ */
.section-title-FAQ {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.2;

    color: #000000;
}

.section-title-FAQspan {
    background: var(--premium-gradient);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ACCORDION */
.accordion-item {
    background: rgba(255, 255, 255, 0.9);

    border: 1px solid rgba(0, 0, 0, 0.08);

    border-radius: 16px;
    margin-bottom: 15px;

    overflow: hidden;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(7, 192, 229, 0.4);

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.accordion-header {
    width: 100%;
    padding: 24px;

    background: transparent;
    border: none;

    color: #000000;

    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;

    display: flex;
    justify-content: space-between;
    align-items: center;

    cursor: pointer;
}

/* ICON */
.icon-box {
    width: 32px;
    height: 32px;

    position: relative;

    flex-shrink: 0;

    transition: transform 0.4s ease;
}

.plus-icon::before,
.plus-icon::after {
    content: '';
    position: absolute;

    background: #000000;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    border-radius: 2px;
}

.plus-icon::before {
    width: 14px;
    height: 2px;
}

.plus-icon::after {
    width: 2px;
    height: 14px;

    transition: opacity 0.3s ease;
}

/* ACTIVE */
.accordion-item.active .plus-icon::after {
    opacity: 0;
}

.accordion-item.active .icon-box {
    transform: rotate(180deg);
}

/* CONTENT */
.accordion-content {
    max-height: 0;
    overflow: hidden;

    opacity: 0;
    transform: translateY(10px);

    transition:
        max-height 0.5s ease,
        opacity 0.4s ease,
        transform 0.4s ease,
        padding 0.4s ease;

    padding: 0 24px;
}

.accordion-content p {
    color: #444444;
    line-height: 1.7;
    margin: 0;
}

/* ACTIVE CONTENT */
.accordion-item.active .accordion-content {
    max-height: 300px;

    opacity: 1;
    transform: translateY(0);

    padding: 0 24px 24px;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title-FAQ {
        text-align: center;
        font-size: 2rem;
    }

    .premium-showcase {
        padding: 70px 16px;
    }

    .accordion-header {
        padding: 18px;
        font-size: 1rem;
    }
}


/* ============================================ */


.contact-card {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* gap: 40px; */
    padding: 20px;

    border-radius: 32px;

    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);

    overflow: hidden;
}

/* LEFT SIDE */
.visual-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100%;
}

/* IMAGE PERFECT CENTER */
.illustration {
    width: 100%;
    max-width: 340px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 25px;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

.visual-text h2 {
    font-size: 38px;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* RIGHT SIDE */
.form-side {
    flex: 1;
    width: 100%;
}

/* FORM */
#contactForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* INPUT GROUP */
.input-group {
    width: 100%;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

/* INPUT WRAPPER */
.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper i {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.7);
}

/* INPUT FIELD */
.input-field {
    width: 100%;
    padding: 10px 10px 10px 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);

    background: rgba(255, 255, 255, 0.05);

    color: #fff;
    font-size: 15px;

    outline: none;

    transition: all 0.3s ease;
}

textarea.input-field {
    min-height: 140px;
    resize: none;
    padding-top: 18px;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.input-field:focus {
    border-color: rgba(255, 255, 255, 0.4);

    background: rgba(255, 255, 255, 0.08);

    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

/* BUTTON */
.submit-btn {
    height: 58px;
    border: none;
    border-radius: 18px;

    background: linear-gradient(135deg,
            #7c3aed,
            #6366f1);

    color: #fff;
    font-size: 16px;
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    cursor: pointer;

    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(99, 102, 241, 0.4);
}

/* SUCCESS MODAL */
#success-modal {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);

    z-index: 9999;
}

.modal-content {
    width: 90%;
    max-width: 420px;

    padding: 40px;

    border-radius: 28px;

    background: #111827;

    text-align: center;

    border: 1px solid rgba(255, 255, 255, 0.08);
}

.success-icon {
    width: 70px;
    height: 70px;
    color: #22c55e;
    margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .contact-card {
        flex-direction: column;
        padding: 30px;
    }

    .visual-side,
    .form-side {
        width: 100%;
    }

    .visual-text h2 {
        font-size: 30px;
    }

    .illustration {
        max-width: 260px;
    }
}

@media (max-width: 576px) {

    .contact-card {
        padding: 20px;
        border-radius: 24px;
    }

    .visual-text h2 {
        font-size: 24px;
    }

    .input-field {
        font-size: 14px;
    }

    .submit-btn {
        height: 54px;
    }
}










/* ==========================================================================
       CSS VARIABLES & RESET
       ========================================================================== */
:root {
    /* Colors */
    --ui-htd-text-main: #ffffff;
    --ui-htd-text-muted: rgba(255, 255, 255, 0.85);
    /* --ui-htd-card-bg: rgba(25, 25, 35, 0.35); */
    --ui-htd-card-border: rgba(255, 255, 255, 0.25);
    --ui-htd-input-bg: rgba(0, 0, 0, 0.4);

    /* Accents */
    --ui-htd-accent-gradient: linear-gradient(135deg, #fdf664 0%, #a2f2ff 100%);
    --ui-htd-accent-solid: #07c0e5;

    /* Effects */
    --ui-htd-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    --ui-htd-shadow-glow: 0 0 25px rgba(255, 255, 255, 0.2);

    /* Borders & Transitions */
    --ui-htd-radius-lg: 24px;
    --ui-htd-radius-md: 12px;
    --ui-htd-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.home_main {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--ui-htd-text-main);
    background: linear-gradient(135deg, rgba(186, 178, 14, 0.894) 43.57%, rgba(7, 192, 229, 0.8) 100%);
    background-attachment: fixed;
    /* min-height: 100vh; */
    line-height: 1.6;
}

.ui-htd-text-gradient {
    background: var(--ui-htd-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ui-htd-hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--ui-htd-text-main);
    margin-bottom: 2.5rem;
    /* max-width: 560px; */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ui-htd-text-highlight {
    color: #ffffff;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

/* ==========================================================================
       LAYOUT: HERO SECTION
       ========================================================================== */
.ui-htd-hero-section {
    min-height: 70vh;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    padding: 1rem 1rem;
    position: relative;
}

.ui-htd-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.ui-htd-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .ui-htd-hero-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 6rem;
    }
}

@media (max-width: 768px) {

    #ui-htd-devMsg,
    label[for="ui-htd-devMsg"] {
        display: none;
    }
}

/* ==========================================================================
       COMPONENTS: BUTTONS
       ========================================================================== */
.ui-htd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 36px;
    border-radius: var(--ui-htd-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-family: inherit;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--ui-htd-transition);
    text-decoration: none;
}

.ui-htd-btn-primary {
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    backdrop-filter: blur(5px);
    box-shadow: var(--ui-htd-shadow-glow);
}

.ui-htd-btn-primary:hover {
    transform: translateY(-3px);
    background: rgba(0, 0, 0, 0.8);
    border-color: #ffffff;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.5);
}

.ui-htd-btn-full {
    width: 100%;
    margin-top: 1rem;
}

/* ==========================================================================
       COMPONENTS: CARDS & FORMS (Glassmorphism)
       ========================================================================== */
.ui-htd-glass-card {
    background: var(--ui-htd-card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--ui-htd-card-border);
    border-radius: var(--ui-htd-radius-lg);
    padding: 0.9rem;
    box-shadow: var(--ui-htd-shadow-lg);
    position: relative;
    overflow: hidden;
}

.ui-htd-card-content {
    position: relative;
    z-index: 1;
}

.ui-htd-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}

.ui-htd-illustration {
    width: 100%;
    max-width: 160px;
    display: block;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.ui-htd-form-group {
    margin-bottom: 1.25rem;
}

.ui-htd-form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ui-htd-text-muted);
    margin-bottom: 0.6rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* POSITIONING ADJUSTMENTS FOR EMBEDDED ICONS */
.ui-htd-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ui-htd-input-wrapper i {
    position: absolute;
    left: 1rem;
    /* Positioning icon inside */
    color: var(--ui-htd-text-muted);
    width: 18px;
    height: 18px;
    pointer-events: none;
    /* Icon won't block input click */
    z-index: 2;
}

/* Textarea specific icon alignment */
.ui-htd-input-wrapper textarea+i,
.ui-htd-input-wrapper i:has(+ textarea) {
    top: 1.1rem;
}

/* Fallback for data-lucide icons inside wrapper */
.ui-htd-input-wrapper [data-lucide] {
    position: absolute;
    left: 1rem;
    z-index: 2;
}

.ui-htd-form-control {
    width: 100%;
    background: rgb(145 159 105 / 40%);
    border: 1px solid var(--ui-htd-card-border);
    border-radius: var(--ui-htd-radius-md);
    padding: 1rem 1.2rem;
    padding-left: 3rem;
    /* Extra padding to make room for icon */
    color: var(--ui-htd-text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--ui-htd-transition);
    position: relative;
    z-index: 1;
}

.ui-htd-form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

textarea.ui-htd-form-control {
    min-height: 100px;
    padding-top: 1rem;
}

.ui-htd-form-control:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
       MODAL SYSTEM
       ========================================================================== */
.ui-htd-modal-overlay {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--ui-htd-transition);
    z-index: 1000;
}

.ui-htd-modal-overlay.ui-htd-open {
    opacity: 1;
    visibility: visible;
}

.ui-htd-modal-box {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    transform: translateY(30px) scale(0.95);
    transition: var(--ui-htd-transition);
}

.ui-htd-modal-overlay.ui-htd-open .ui-htd-modal-box {
    transform: translateY(0) scale(1);
}

.ui-htd-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ui-htd-transition);
    z-index: 10;
}