/* ===== inHosted.AI Header (scoped) ===== */
:root {
    --ih-bg: #ffffff;
    --ih-text: #0f172a;
    --ih-muted: #5b6476;
    --ih-border: #e5e7eb;
    --ih-chip: #ffffff;
    --ih-ghost: #374151;
    --ih-mega: #efefef;
    --ih-shadow: 0 20px 50px rgba(0, 0, 0, .14);
    --ih-rad: 16px;
    --ih-max: 1280px;
}

/* Initial Header Style */
.ih-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #000;  /* Semi-transparent background */
    width: -webkit-fill-available;
    transition: background-color 0.3s ease;  /* Smooth transition */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for effect */
}

/* Solid black background when scrolled */
.ih-header.scrolled {
    background: #000000;  /* Solid black background */
}

/* Styles for the container inside the header */
.ih-header .container {
    max-width: 1536px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 16px;
}

/* Optional: Styling for navigation items */
.ih-nav .ih-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.ih-nav .ih-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
}

/* Other header-related styles remain as they are */


.ih-brand img {
    width: 215px;
    display: block;
}

.ih-nav {
    display: none
}

.ih-menu {
    display: flex;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0px 35px;
}

.ih-item {
    position: relative
}

.ih-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    background: transparent;
    border: 0;
    padding: 8px 0;
    cursor: pointer
}

.ih-link:hover {
    opacity: .85
}

.ih-caret {
    width: 14px;
    height: 14px
}

.ih-has-mega:hover>.ih-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}



/* Center the mega under its trigger (not left, not right) */
.ih-mega {
    position: absolute;
    left: 50%;
    top: calc(100% + 12px);
    width: min(960px, 95vw);
    background: var(--ih-mega);
    border-radius: var(--ih-rad);
    box-shadow: var(--ih-shadow);
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, .06);

    /* center + small drop animation */
    transform: translate(-50%, 8px);
    /* X:-50% centers, Y:+8px for initial */
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
}

/* open state (e.g., on hover or via a class) */
.ih-has-mega:hover .ih-mega,
.ih-has-mega.is-open .ih-mega {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    /* keep X:-50% while sliding up */
}


.ih-mega--sm {
    width: min(850px, 90vw)
}

.ih-mega-head {
    font: 600 11px/1.2 system-ui;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ih-muted);
    margin-bottom: 10px
}

.ih-mega-grid {
    --cols: 3;
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0
}

.ih-mega-grid--2 {
    --cols: 3
}

.ih-mega-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    color: var(--ih-text);
    background: transparent;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid transparent;
    transition: background .2s, box-shadow .2s, transform .2s, border-color .2s;
}

.ih-mega-card:hover {
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    transform: translateY(-1px);
    border-color: #fff
}

.ih-chip {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ih-chip);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 12px/1 system-ui;
    color: #111827;
}

.ih-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.ih-card-text strong {
    font: 600 14px/1.2 system-ui
}

.ih-card-text small {
    font: 12px/1.2 system-ui;
    color: var(--ih-muted)
}

/* Demo button */
.ih-ghost-btn {
    display: none;
    align-items: center;
    gap: 6px;
    color: #fff;
    border: 1px solid #fff;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
}

.ih-ghost-btns {
    display: none;
    align-items: center;
    gap: 6px;
    color: #fff;
    border: 1px solid #1e2b4a;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    background: linear-gradient(45deg, #b453e7, #e44aa5);
}

.ih-ghost-btn img {
    width: 16px;
    height: 16px
}

.ih-ghost-btn--full {
    display: flex;
    justify-content: center;
    width: 100%
}

/* Burger */
.ih-burger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: 0;
    padding: 6px 20px;
    cursor: pointer
}

.ih-burger span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px
}

/* Mobile Drawer */
.ih-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(92vw, 380px);
    transform: translateX(100%);
    background: var(--ih-bg);
    transition: transform .25s ease;
    z-index: 60;
    display: flex;
    flex-direction: column
}

.ih-drawer.is-open {
    transform: none
}

.ih-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--ih-border)
}

.ih-close {
    background: transparent;
    border: 0;
    font-size: 20px;
    line-height: 1;
    cursor: pointer
}

.ih-drawer-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.ih-drawer-link {
    padding: 12px 8px;
    text-decoration: none;
    color: var(--ih-text);
    border-bottom: 1px dashed var(--ih-border)
}

.ih-acc {
    border: 1px solid var(--ih-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa
}

.ih-acc-btn {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border: 0;
    background: transparent;
    font: 600 14px/1.2 system-ui;
    cursor: pointer
}

.ih-acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease
}

.ih-acc.is-open .ih-acc-panel {
    max-height: 600px
}

.ih-acc-list {
    list-style: none;
    margin: 0;
    padding: 0
}

.ih-acc-list li a {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: #111
}

.ih-acc-list li a:hover {
    background: #fff
}

.ih-scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s;
    z-index: 50
}

.ih-scrim.is-open {
    opacity: 1;
    visibility: visible
}

/* Responsive */
@media (min-width: 992px) {
    .ih-nav {
        display: block
    }

    .ih-ghost-btn {
        display: inline-flex
    }
    
    .ih-ghost-btns {
        display: inline-flex
    }

    .ih-burger {
        display: none
    }
}

@media (max-width: 991.98px) {
    .ih-mega {
        display: none
    }
    
    .ih-header {
       position: sticky;
       background: #000;
    }

    /* hide desktop mega on mobile */
}

/* ===== Cloud Mega (Categories) ===== */
.ih-mega--wide {
    width: min(1080px, 96vw);
    background: #efefef;
    position: absolute;
    left: 0;

}

.ih-mega-wrap {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 10px;
}

/* Left category rail */
.ih-cat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 20px;
    overflow: auto;
    max-height: 400px;
    border-right: 2px solid #000;
}

.ih-cat-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}

.ih-cat-btn img {
    width: 44px;
    height: 44px
}

.ih-cat-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.2
}

.ih-cat-btn b {
    font: 600 14px/1.2 system-ui;
    color: #0f172a
}

.ih-cat-btn small {
    font: 12px/1.2 system-ui;
    color: #5b6476
}

.ih-cat-btn:hover {
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
    transform: translateY(-1px)
}

.ih-cat-btn.is-active {
    border-color: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .12)
}

/* Right content side */
.ih-tabpanes {
    position: relative;
    overflow: auto;
    max-height: 400px;
    padding-right: 6px
}

.ih-tabpane {
    display: block
}

.ih-tabpane[hidden] {
    display: none
}

.ih-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px
}

/* Cards */
.ih-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 12px;
    padding: 14px;
    color: #0f172a;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.ih-card img {
    width: 50px;
    height: 50px
}

.ih-card b {
    display: block;
    font: 600 14px/1.2 system-ui
}

.ih-card small {
    display: block;
    color: #5b6476;
    font: 12px/1.2 system-ui;
    margin-top: 2px
}

.ih-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
    border-color: #fff
}

/* Responsive */
@media (max-width: 1100px) {
    .ih-mega-wrap {
        grid-template-columns: 260px 1fr
    }
}

@media (max-width: 900px) {
    .ih-mega {
        display: none
    }

    /* Use your mobile drawer on small screens */
}


/* Simple mobile lists */
#ih-mobile .ih-list {
    list-style: none;
    margin: 0;
    padding: 6px 0 10px;
}

#ih-mobile .ih-list li {
    margin: 0;
}

#ih-mobile .ih-list a {
    display: block;
    padding: 10px;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

#ih-mobile .ih-list li:last-child a {
    border-bottom: 0;
}

/* Sub-accordion buttons (category headings) */
#ih-mobile .ih-acc-btn--sub {
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px;
    color: #000;
    background: transparent;
    border: 0;
    width: 100%;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

#ih-mobile .ih-acc-btn--sub:first-of-type {
    border-top: 0;
}

/* Panels */
#ih-mobile .ih-acc-panel--sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    padding-left: 2px;
}

.content-area{
    padding: 60px 0px;
}

/*footer starts from here*/

.footer-title {
    font-weight: 800;
    margin-bottom: .5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: .25rem 0;
}

.footer-links a {
    color: #E2E8F0;
}

.footer-links a:hover {
    text-decoration: underline;
}


.footer {
    background-color: #000;
    padding: 3.5rem 0 1rem;
}

.footer h5 {
    font-size: 20px;
}

.footer ul li {
    font-size: 16px;
    font-weight: 700;
}

.footer-bottom-picture {
    background-color: #0d0d0d;
    text-align: center;
    height: 16.95rem;
    overflow: hidden;
    padding: 0 3.5rem;
}

.footer-bottom-picture img {
    opacity: 0.39;
}


/* Footer Base */
.footer {
    background: #0d0d0d;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    color: #ccc;
}

.footer .container {
    max-width: 1536px;
    padding: 0px 60px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2.5rem;
}

.footer-col .logo {
    width: 160px;
    margin-bottom: 15px;
}

.footer-col .desc {
    line-height: 1.6;
    color: #b3b3b3;
    font-size: 16px;
}

.footer-col .heading {
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
}

/* List Styling */
.list {
    list-style: none;
    padding: 0;
}

.list li a {
    color: #b3b3b3;
    /*font-size: 14px;*/
    text-decoration: none;
    transition: 0.3s;
}

.list li a:hover {
    color: #fff;
}

/* GPU Flex */
.gpu-grid {
    display: flex;
    gap: 30px;
}

/* Contact */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #b3b3b3;
    font-size: 14px;
    margin-bottom: 12px;
}

.contact-list img {
    width: 18px;
}

/* Social icons */
.social a img {
    width: 28px;
    transition: 0.3s;
}

.social a:hover img {
    opacity: 0.7;
}

/* Footer bottom logo */
.footer-bottom-picture {
    text-align: center;
    /*padding: 20px 0;*/
}

.footer-bottom-picture img {
    /*width: 120px;*/
    opacity: 0.2;
}


.footer-col .list,
.footer-col .contact-list{
    margin: 0px;
}

/* Responsive */
@media(max-width: 992px){
    .footer .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px){
    .footer .container {
        grid-template-columns: 1fr;
    }
}

