@import url("https://fonts.googleapis.com/css?family=Assistant:400,700|Playfair+Display:900");

:root {
    --clr-white: hsl(220, 37%, 100%);
    --clr-surface: hsl(220, 37%, 97%);
    --clr-text: hsl(244, 44%, 14%);
    --clr-yellow-400: hsl(42, 99%, 69%);
    --clr-yellow-300: hsl(47, 100%, 90%);
    --clr-purple-400: hsl(280, 69%, 53%);
    --clr-purple-300: hsl(281, 46%, 88%);
    --clr-cyan-400: hsl(198, 99%, 49%);
    --clr-cyan-300: hsl(240, 100%, 90%);
    --clr-dark:hsl(244, 44%, 14%);
    --clr-orange: hsl(0, 81%, 58%);      
    --clr-red: rgb(237, 180, 216);
    --clr-green: rgb(81, 188, 157);
    --clr-greener:hsl(165, 61%, 67%);
    --clr-blue: rgb(161, 202, 240);
    --clr-pink: rgb(223, 135, 204);
    --clr-orange: rgb(235, 143, 96);
    --clr-purple: rgb(191, 194, 238);
  
    --ff-title: "Playfair Display", serif;
    --ff-body: "Assistant", sans-serif;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --h1-font:clamp(2.67rem, 2.07rem + 3vw, 4.21rem);
    --h2-font:clamp(2.14rem, 1.74rem + 1.99vw, 3.16rem);
    --h3-font:clamp(1.87rem, 1.21rem + .8vw, 2.48rem);
    --h4-font:clamp(1.37rem, 1.21rem + .8vw, 1.78rem);
    --h5-font:clamp(1.08rem, .83rem + .24vw, 1.5rem);
    --text-300:clamp(.7rem,.66rem + .2vw,.8rem);
    --text-400:clamp(.88rem, .83rem + .24vw, 1rem);
    --text-450:clamp(1.09rem, .95rem + .24vw, 1.4rem);
    --text-500:clamp(1.09rem,1rem + .47vw,1.33rem);
    --text-600:clamp(1.37rem,1.21rem + .8vw,1.78rem);
    --text-700:clamp(1.71rem,1.45rem + 1.29vw,2.37rem);
    --text-800:clamp(2.14rem,1.74rem + 1.99vw,3.16rem);
    --text-900: clamp(2.67rem,2.07rem + 3vw,4.21rem);
    --text-1000:clamp(3.34rem,2.45rem + 4.43vw,5.61rem);
    --marginclamp :clamp(.7rem, .66rem + .2vw, .8rem);
    --marginclamp-2 :clamp(.7rem, 1.2rem + .4vw, .8rem);

}
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html:focus-within {
    scroll-behavior: smooth
}

@media(prefers-reduced-motion:reduce) {
    html:focus-within {
        scroll-behavior: auto
    }

    *,::after,::before {
        animation-duration: 0s!important;
        animation-iteration-count: 1!important;
        transition-duration: 0s!important;
        scroll-behavior: auto!important
    }
}
/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
  text-align: left;

}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
  font-family: var(--ff-title);
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */


/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    /* background: hsl(220, 37%, 97%); /* Surface */
    /* color: hsl(244, 44%, 14%); Dark Text Color */
    line-height: 1.5;
    font-size: clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background: var(--clr-surface);
    color: var(--clr-text);
    margin:0;
    font-family: var(--ff-body);

}

a {
    color: currentColor;
    text-decoration-color: var(--clr-purple-400);
    text-underline-offset: 1px;
    text-decoration-line: 0.05rem ;
}

a:hover {
    color: var(--clr-purple-400);
    text-decoration-color: hsl(244, 44%, 14%); /* Dark Text Color */
    text-underline-offset: 2px;
}


main {
    flex: auto
}

h1,h2 {
    line-height: 1;
}

h1,h2,h3 {
    font-variant-ligatures: none
}

h1 {
    font-size: clamp(2.67rem,2.07rem + 3vw,4.21rem);
    max-width: 45ch
}

/* H1 class for responsive scaling */
.responsive-h1 {
    font-size: clamp(2.5rem, 2.5rem + 2.5vw, 4.61rem); /* Default for larger screens */
    line-height: 1.1; /* Adjust line-height if needed */
}

/* Adjust font-size for smaller screens (half-width content) */
@media (max-width: 768px) {
    .responsive-h1 {
        font-size: clamp(1.8rem, 0.6rem + 1vw, 2.5rem); /* Smaller font size for mobile */
    }
}

h2 {
    font-size: clamp(2.14rem,1.74rem + 1.99vw,3.16rem);
    max-width: 50ch
}

h3 {
    font-size: clamp(1.37rem,1.21rem + 0.8vw,1.78rem);
    line-height: 1.2;
    max-width: 60ch
}

a[data-style=token-driven] {
    text-decoration-color: currentColor
}

a[data-style=token-driven]:hover {
    color: currentColor;
    text-decoration: none
}
code {
    color: hsl(280, 96%, 45%); /* Purple 400 */
    font-size: .85em;
    font-weight: 700;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
}


blockquote,dl,figcaption,li,p {
    max-width: 65ch
}

svg {
    width: 1em;
    height: 1em
}

img[src*='.svg'] {
    width: 100%
}

[role=list] {
    padding: 0;
    margin-bottom: 0
}

[id] {
    scroll-margin-top: 2ex
}

kbd {
    background: hsl(220, 37%, 97%); /* Surface */
    border: 2px solid hsl(220, 37%, 80%); /* Mid-Tone Grey */
    border-radius: .5rem;
    padding: .15rem .3rem;
}


hr {
    border: none;
    border-top: 1px solid hsl(220, 37%, 80%); /* Mid-Tone Grey */
    transform: translateY(-1px);
    margin: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem) 0!important;
    max-width: clamp(16rem, 93vw, 75rem);
}

form {
    --flow-space: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem)
}

form label {
    text-transform: uppercase;
    padding: 0 0 .5rem clamp(0.88rem,0.83rem + 0.24vw,1rem);
    font-weight: 700;
    font-family: atkinson_hyperlegible,Arial,sans-serif
}

form label:after {
    content: '\a';
    white-space: pre
}

form input,form p[id],form textarea {
    width: 100%;
    max-width: 30rem
}

form p[id] {
    font-size: clamp(0.88rem,0.83rem + 0.24vw,1rem);
    padding: .5rem 0 0 1rem;
    font-family: atkinson_hyperlegible,Arial,sans-serif
}

input,
textarea, select {
    border: 2px solid hsl(280, 96%, 45%); /* Purple 400 */
    border-radius: 1rem;
    padding: .85rem 1rem;
    font-size: clamp(0.88rem, 0.83rem + 0.24vw, 1rem);
    line-height: 1;
    font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
}


input[type=range] {
    -webkit-appearance: none;
    background: 0 0;
    height: 13px;
    touch-action: none;
    border: 0
}

input[type=range]:focus {
    outline: none
}

input[type=range]::-webkit-slider-runnable-track {
    animate: .2s;
    background: currentColor;
    cursor: pointer;
    height: 2px;
    width: 100%
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: currentColor;
    border-radius: 24px;
    cursor: pointer;
    height: 24px;
    margin-top: -11px;
    width: 24px
}

input[type=range]:focus::-webkit-slider-thumb {
    outline: 1px solid currentColor;
    outline-offset: 2px
}

input[type=range]::-moz-range-track {
    animate: .2s;
    background: currentColor;
    cursor: pointer;
    height: 2px;
    width: 100%
}

input[type=range]::-moz-range-thumb {
    background: currentColor;
    border-radius: 24px;
    cursor: pointer;
    height: 24px;
    width: 24px
}
:focus {
    outline: hsl(280, 96%, 45%) solid 1px; /* Purple 400 */
    outline-offset: .25rem;
}

main:focus {
    outline: 0;
}

::selection {
    background: hsl(244, 44%, 14%); /* Dark Text Color */
    color: hsl(220, 37%, 100%); /* White */
}

::-webkit-scrollbar {
    height: .7rem;
}

::-webkit-scrollbar-track {
    background-color: hsl(220, 37%, 97%); /* Surface */
}

::-webkit-scrollbar-thumb {
    background-color: hsl(280, 96%, 45%); /* Purple 400 */
}

* {
    scrollbar-color: hsl(280, 96%, 45%) hsl(220, 37%, 80%); /* Purple 400 and Mid-Tone Grey */
}


.docked {
    position: sticky;
    top: clamp(1.09rem,1rem + 0.47vw,1.33rem);
    left: 0
}

.flow>*+* {
    margin-top: var(--flow-space,clamp(1.09rem,1rem + 0.47vw,1.33rem))
}

.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5lh clamp(1em,10vw,3em);
    margin: 0
    
}

.nav a:not(:hover) {
    text-decoration: none
}

.nav .icon {
    transform: translateY(0.3ex)
}

.nav[data-layout=center] {
    justify-content: center
}

.skip-link:not(:focus),.visually-hidden,:not(:focus)>.heading-permalink,:not(:hover)>.heading-permalink {
    border: 0;
    clip: rect(0 0 0 0);
    height: auto;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap
}
/* Basic light color buttons with dark text */

.button {
    background-color: var(--clr-light);
    color: var(--clr-dark);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--clr-light); /* Light border initially */
    border-radius: 0.25rem;
    transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
  }
  
  /* Hover effect: scale and animate border */
  .button:hover {
    transform: scale(1.05); /* Slight scaling */
    background-color: var(--clr-green); /* Background changes to greener */
    border: 0.01rem solid var(--clr-dark);
  }
  
  /* Different button colors */
  
  .green {
    background:linear-gradient(20deg, var(--clr-white),var(--clr-greener),var(--clr-white) );  }
  .blonde, .blonde-container, .orange, .yellow{
   background:linear-gradient(20deg, var(--clr-white),var(--clr-purple-300),var(--clr-white) )
  }
  .red  {
    background:linear-gradient(20deg, var(--clr-white),var(--clr-red),var(--clr-white) )

  }
  .yellow-light {
    background:linear-gradient(20deg, var(--clr-white),var(--clr-purple-300),var(--clr-white) )

  }
  
  .blue, .cyan {
    background:linear-gradient(20deg, var(--clr-white),var(--clr-blue),var(--clr-white) )
    
  }
  
  .pink {
    background:linear-gradient(20deg, var(--clr-white),var(--clr-pink),var(--clr-white) )
  }
  
  .purple, .purple-dark {
    background:linear-gradient(20deg, var(--clr-white),var(--clr-purple),var(--clr-white) )
  }
  
  /* Hover states for each color */
  .orange:hover, .red:hover, .blue:hover, .pink:hover, .purple:hover, .green:hover, .yellow:hover, .yellow-light:hover, .cyan:hover, .purple-dark:hover, .blonde:hover{
    background: var(--clr-purple-400);
    transform: scale(1.1);
    border: 0.01rem solid var(--clr-purple-400);
    transition: transform 0.9s ease; /* Smooth transition */
    color: var(--clr-purple-400);
  }
  

.field {
    max-width: 25rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto
}

.field label {
    font-size: clamp(0.88rem,0.83rem + 0.24vw,1rem);
    font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace
}

.field label::after {
    content: '\a';
    white-space: pre
}

.field input {
    width: 100%
}
.alert {
    display: flex;
    align-items: flex-start;
    border: 1px solid hsl(244, 44%, 14%); /* Dark Text Color */
    background: hsl(220, 37%, 97%); /* Surface */
    color: hsl(244, 44%, 14%); /* Dark Text Color */
    padding: clamp(0.88rem, 0.83rem + 0.24vw, 1rem);
    animation: 250ms slide-up;
    font-size: clamp(0.88rem, 0.83rem + 0.24vw, 1rem);
}

.alert__icon {
    font-size: 1.6em;
    flex-shrink: 0;
}

.alert__content {
    text-align: left;
}

pre {
    background: hsl(220, 37%, 97%); /* Surface */
    color: hsl(244, 44%, 14%); /* Dark Text Color */
    border-radius: .5rem;
    padding: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem);
    position: relative;
    overflow: hidden;
    font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.code-block .wrapper {
    max-width: 100%;
    padding: 0;
}

pre code {
    padding-top: clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem);
    width: 100%;
    font-weight: 400;
    color: hsl(244, 44%, 14%); /* Dark Text Color */
    line-height: 1.8;
}

.code-block pre {
    padding-block-start: 2.5em;
}

.code-block .code-block [class*=token] {
    color: hsl(244, 44%, 14%); /* Dark Text Color */
}

.code-block__header {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    font-size: clamp(0.88rem, 0.83rem + 0.24vw, 1rem);
    line-height: 1.1;
    z-index: 1;
    font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
}

.code-block__alert,
.code-block__header button,
.code-block__header dd {
    padding: .6rem 1rem .5rem;
    border-radius: 0 .5rem;
    margin: 0;
}

.code-block__header dd {
    color: hsl(280, 96%, 45%); /* Purple 400 */
    text-transform: uppercase;
}

.code-block__header button {
    font: inherit;
    background: hsl(280, 96%, 45%); /* Purple 400 */
    color: hsl(220, 37%, 100%); /* White */
    border: 0;
    cursor: pointer;
    line-height: 1;
    text-transform: uppercase;
}

.code-block__header button:hover {
    background: hsl(220, 37%, 97%); /* Surface */
    color: hsl(244, 44%, 14%); /* Dark Text Color */
}

.code-block__header button:focus {
    outline-offset: -.4rem;
}

.code-block__header button:active {
    transform: scale(.99);
}

.code-block__alert {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    text-transform: uppercase;
    background: hsl(280, 96%, 45%); /* Purple 400 */
    color: hsl(220, 37%, 100%); /* White */
    user-select: none;
}

.code-block .code-block ::selection {
    color: hsl(244, 44%, 14%); /* Dark Text Color */
    background: rgba(255, 246, 230, .99); /* Custom Light Yellow */
}

.code-block ::selection {
    background: hsl(42, 99%, 69%); /* Yellow 400 */
    color: hsl(244, 44%, 14%); /* Dark Text Color */
}



.icon {
    display: inline-block;
    vertical-align: baseline
}


.link-button {
    display: inline;
    padding: 0;
    border: 0;
    background: 0 0;
    font: inherit;
    color: currentColor;
    text-decoration: underline;
    cursor: pointer;
    text-underline-offset: 1px;
    -webkit-appearance: none
}

.link-button:hover {
    text-underline-offset: 2px
}

.inline-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.inline-links a {
    margin-right: 10px; /* Optional: space between links */
    color:var(--clr-yellow-400);
    font-size: clamp(0.88rem,0.83rem + 0.24vw,1rem);
}

.inline-links li {
    list-style: none; /* Remove default list styles */
}


.meta-items {
    display: grid;
    grid-template-columns: auto 4fr;
    grid-gap: 1rem clamp(0.88rem,0.83rem + 0.24vw,1rem)
}

.meta-items dt {
    display: flex;
    align-items: baseline
}

.meta-items dt>strong::after {
    content: ':'
}
.meta-items .icon {
    color: hsl(280, 96%, 45%); /* Purple 400 */
    transform: translateY(2px);
    margin-inline-end: .5rem;
}


.post {
    --flow-space: clamp(1.71rem, 1.45rem + 1.29vw, 2.37rem);
    line-height: 1.7;
    font-family: var(--ff-body);
}

.post h2 {
    color: hsl(244, 44%, 14%); /* Dark Text Color */
    font-family: var(--ff-title);
    text-align: left;
}

.post h3 {
    color: hsl(244, 44%, 14%); /* Dark Text Color */
    font-family: var(--ff-title);}

.post h4 {
    font-size: clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
    color: hsl(244, 44%, 14%); /* Dark Text Color */
    font-family: var(--ff-title);}

.post h4+* {
    --flow-space: 1em;
}

.post code {
    letter-spacing: .03ch;
}

.post li>code, .post p>code {
    font-weight: 500;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    border: 1px solid hsl(220, 37%, 80%); /* Mid-Tone Grey */
    border-radius: .15em;
    padding: .15rem;
    background: hsl(220, 37%, 97%); /* Surface */
}

.post figcaption {
    display: block;
    font-size: clamp(0.88rem, 0.83rem + 0.24vw, 1rem);
    max-width: 58ch;
}

.post figcaption p {
    padding: 1rem 0
    0;
    color: hsl(244, 44%, 14%); /* Dark Text Color */
    font-style: italic;
}

.post blockquote {
    font-style: italic;
    border-left: .5rem solid hsl(280, 96%, 45%); /* Purple 400 */
    padding: 0 1em;
    font-size: 1.1em;
    max-width: 55ch!important;
    text-wrap: pretty;
}

.post blockquote>*+* {
    margin-top: .5em;
}

.post em:not([class]) {
    color: hsl(280, 96%, 45%); /* Purple 400 */
}

.post strong {
    color: hsl(244, 44%, 14%); /* Dark Text Color */
}
.post h2,.post h3 {
    --flow-space: 5rem
}

.post h2+p,.post h2+ul,.post h3+p,.post h3+ul {
    --flow-space: clamp(1.09rem, 1rem + 0.47vw, 1.33rem)
}

.post h2+h3 {
    --flow-space: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem)
}

.post figure,.post figure+* {
    --flow-space: clamp(2.67rem, 2.07rem + 3vw, 4.21rem)
}

.post ol:not([class]) li+li,.post ul:not([class]) li+li {
    margin-top: .5rem
}

.post .code-block,.post pre,.post .commento-root,.post .fyi-unit,.post figure img,.post video,.post>img {
    max-width: min(55rem,100%)
}
.post>.cluster {
    justify-content: flex-start;
    max-width: unset
}


.table-container {
    overflow-x: auto;
    border: .02rem solid #0f172a;
}

.case-studies-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    padding: 1rem;
}

.case-studies-table td, .case-studies-table th {
    padding: 1rem;
    border: .02rem solid #0f172a;
    word-wrap: break-word; /* Ensure text wrapping */
    word-break: break-all; /* Break long words */
}

.case-studies-table th {
    color: #0f172a;
}

.case-studies-table tbody tr:nth-child(odd) {
    background-color: #f1f5f9;
    border-radius: .5rem;
}

.case-studies-table td img {
    max-width: 100px;
    height: auto;
}

@media screen and (max-width: 600px) {
    .case-studies-table, .case-studies-table tbody, .case-studies-table td, .case-studies-table th, .case-studies-table thead, .case-studies-table tr {
        display: block;
    }

    .case-studies-table thead tr {
        display: none;
    }

    .case-studies-table tr {
        margin: 1rem 0;
        border: 1px solid #0f172a;
        background-color: #ffffff;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
        border-radius: .5rem;
    }

    .case-studies-table td {
        border: 1px solid #0f172a;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 1rem;
        text-align: left;
    }

    .case-studies-table td::before {
        content: attr(data-label) ' : ';
        float: left;
        font-weight: 700;
        text-transform: capitalize;
        margin-right: 1rem;
        color: #0f172a;
    }

    .case-studies-table td:last-child {
        border-bottom: 0;
    }
}
@media(min-width: 48em) {
    .post {
        --flow-space: clamp(2.14rem, 1.74rem + 1.99vw, 3.16rem);
        font-size: 1.35rem
    }

    .post blockquote,.post dl,.post figcaption,.post li,.post p {
        max-width: 60ch
    }

    .post li>code,.post p>code {
        word-break: normal;
        word-wrap: normal;
        hyphens: none
    }
}



@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(0.4rem)
    }

    100% {
        opacity: 1;
        transform: translateY(0)
    }
}
.pagination-wrapper {
    text-align: center;
    margin-bottom: 4rem;
}

.pagination-wrapper .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    background-color: var(--clr-purple-300)
}

.pagination-wrapper .page-numbers.current {
    background-color: var(--clr-purple-400);
    color: var(--clr-white);
}

.pagination-wrapper .page-numbers:hover {
    background-color: var(--clr-purple-400);
    color: var(--clr-white);
}

.pagination-wrapper .page-numbers.prev,
.pagination-wrapper .page-numbers.next {
    font-weight: bold;
}


.pagination__list li a.active {
    color: inherit;
    text-decoration-color: inherit;
}
/* Base Auto-Grid */
.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 14rem), 1fr);
    grid-gap: clamp(2.67rem, 2.07rem + 3vw, 4.21rem) clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
}

/* For "thirds" layout */
.auto-grid[data-layout=thirds] {
    --auto-grid-min-size: clamp(16rem, 33vw, 20rem); /* Responsive minimum size */
    gap: 1em clamp(1.09rem, 1rem + 0.47vw, 1.33rem); /* Adjusting the gap responsively */
}

/* For "center" justification */
.auto-grid[data-justification=center] {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 16rem), 22rem);
    justify-content: center;
}

/* Media Queries for enhanced responsiveness */

/* Small devices (up to 400px wide) */
@media (max-width: 400px) {
    .auto-grid {
        grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); /* Smaller grid columns for mobile */
        grid-gap: 1rem; /* Smaller gaps on mobile */
    }

    .auto-grid[data-layout=thirds] {
        --auto-grid-min-size: clamp(10rem, 20vw, 14rem); /* Smaller min size for thirds layout on mobile */
    }

    .auto-grid[data-justification=center] {
        grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); /* Center grid with smaller columns */
    }
}

/* Medium devices (600px - 900px wide) */
@media (min-width: 401px) and (max-width: 900px) {
    .auto-grid {
        grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); /* Medium grid columns */
        grid-gap: 1.5rem; /* Medium gaps */
    }

    .auto-grid[data-layout=thirds] {
        --auto-grid-min-size: clamp(12rem, 25vw, 18rem); /* Adjusted thirds layout for medium screens */
    }

    .auto-grid[data-justification=center] {
        grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); /* Center grid for medium screens */
    }
}

/* Large devices (901px and above) */
@media (min-width: 901px) {
    .auto-grid {
        grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); /* Larger grid columns */
        grid-gap: clamp(2.67rem, 2.07rem + 3vw, 4.21rem); /* Original gaps */
    }

    .auto-grid[data-layout=thirds] {
        --auto-grid-min-size: clamp(16rem, 33vw, 20rem); /* Original thirds layout */
    }

    .auto-grid[data-justification=center] {
        grid-template-columns: repeat(auto-fit, minmax(16rem, 22rem)); /* Center grid with larger columns */
    }
}


.list-style-none {
    list-style: none;
    padding-left: 0;  /* Remove default padding */
    margin-left: 0;   /* Remove default margin */
}
ul.list-style-none {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

ul.list-style-none li {
    padding-left: 0;
    margin-left: 0;
}

ul.list-style-none li a {
    display: block;  /* Ensure the anchor tags are block-level elements */
    padding: 0.5em 0; /* Add vertical padding for spacing between items */
}
.region {
    padding: var(--region-padding,clamp(2.67rem,2.07rem + 3vw,4.21rem))
}
.region-side {
    padding: 0 var(--region-padding,clamp(2.67rem,2.07rem + 3vw,4.21rem))
}

.wrapper {
    width: clamp(16rem, 93vw, 75rem);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
    padding-right: clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
    position: relative;
}

.wrapper-footer {
    width: clamp(16rem,93vw,100rem);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.09rem,1rem + 0.47vw,1.33rem);
    padding-right: clamp(1.09rem,1rem + 0.47vw,1.33rem);
    position: relative
}




.repel {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: var(--repel-vertical-alignment,center);
    gap: var(--gutter,1em)
}

.repel[data-nowrap] {
    flex-wrap: nowrap
}

.brand {
    font-size: 1.5em;
    line-height: 1.5; 
    font-weight: bolder;   
}

.brand a {
    text-decoration: none
}

.brand__sub {
    font-family: var(--ff-body);
    font-size: .5em;
    color:var(--clr-purple-400);
}

.featured-content {
    background: hsl(220, 37%, 97%); /* Surface */
}


nav:focus {
    outline: 0
}

/* headline */

.headline {
    text-align: center
}

.headline h2 {
    font-size: clamp(2.67rem,2.07rem + 3vw,4.21rem);
    max-width: 22ch
}

.headline h1,.headline h2 {
    margin: 0 auto
}

.headline em {
    font-style: normal
}

.headline p {
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance
}

.headline[data-headline-style=wide] h1,.headline[data-headline-style=wide] h2 {
    max-width: 25ch
}

.byline {
    color: hsl(280, 96%, 45%); /* Purple 400 */
    font-family: var(--ff-body);
    font-size: clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
}

.byline time {
    margin-inline-end:.5ch}

/* Utilities like in the tailwind CSS */

.bg-dark {
    background: var(--clr-text); /* Dark Text Color */
}

.bg-dark-glare {
    background: var(--clr-surface); /* Surface Color */
}

.bg-light {
    background: var(--clr-white); /* White */
}

.bg-light-shade {
    background: var(--clr-surface); /* Surface */
}

.bg-off-white {
    background: var(--clr-surface); /* Surface */
}

.bg-mid {
    background: hsl(220, 37%, 80%); /* Mid-Tone Grey */
}

.bg-primary {
    background: var(--clr-yellow-400); /* Yellow 400 */
}

.bg-primary-glare {
    background: var(--clr-yellow-300); /* Yellow 300 */
}

.bg-secondary {
    background: var(--clr-purple-300); /* Purple 400 */
}

.bg-secondary-glare {
    background: var(--clr-purple-300); /* Purple 300 */
}

.bg-secondary-shade {
    background: var(--clr-cyan-400); /* Cyan 400 */
}

.bg-tertiary {
    background: var(--clr-cyan-300); /* Cyan 300 */
}

.color-dark {
    color: var(--clr-text); /* Dark Text Color */
}

.color-dark-glare {
    color: var(--clr-surface); /* Surface Color */
}

.color-light {
    color: var(--clr-white); /* White */
}

.color-light-shade {
    color: var(--clr-surface); /* Surface */
}

.color-off-white {
    color: var(--clr-surface); /* Surface */
}

.color-mid {
    color: hsl(220, 37%, 80%); /* Mid-Tone Grey */
}

.color-primary {
    color: var(--clr-yellow-400); /* Yellow 400 */
}

.color-primary-glare {
    color: var(--clr-yellow-300); /* Yellow 300 */
}

.color-secondary {
    color: var(--clr-purple-400); /* Purple 400 */
}

.color-secondary-glare {
    color: var(--clr-purple-300); /* Purple 300 */
}

.color-secondary-shade {
    color: var(--clr-cyan-400); /* Cyan 400 */
}

.color-tertiary {
    color: var(--clr-cyan-300); /* Cyan 300 */
}


.gap-0 {
    margin: 0;
}

.gap-300 {
    margin: clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem);
}

.gap-400 {
    margin: clamp(0.88rem, 0.83rem + 0.24vw, 1rem);
}

.gap-500 {
    margin: clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
}

.gap-600 {
    margin: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem);
}

.gap-700 {
    margin: clamp(1.71rem, 1.45rem + 1.29vw, 2.37rem);
}

.gap-800 {
    margin: clamp(2.14rem, 1.74rem + 1.99vw, 3.16rem);
}

.gap-900 {
    margin: clamp(2.67rem, 2.07rem + 3vw, 4.21rem);
}

.gap-1000 {
    margin: clamp(3.34rem, 2.45rem + 4.43vw, 5.61rem);
}


.gap-top-0 {
    margin-top: 0
}

.gap-top-300 {
    margin-top: clamp(0.7rem,0.66rem + 0.2vw,0.8rem)
}

.gap-top-400 {
    margin-top: clamp(0.88rem,0.83rem + 0.24vw,1rem)
}

.gap-top-500 {
    margin-top: clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

.gap-top-600 {
    margin-top: clamp(1.37rem,1.21rem + 0.8vw,1.78rem)
}

.gap-top-700 {
    margin-top: clamp(1.71rem,1.45rem + 1.29vw,2.37rem)
}

.gap-top-800 {
    margin-top: clamp(2.14rem,1.74rem + 1.99vw,3.16rem)
}

.gap-top-900 {
    margin-top: clamp(2.67rem,2.07rem + 3vw,4.21rem)
}

.gap-top-1000 {
    margin-top: clamp(3.34rem,2.45rem + 4.43vw,5.61rem)
}

.gap-bottom-0 {
    margin-bottom: 0
}

.gap-bottom-300 {
    margin-bottom: clamp(0.7rem,0.66rem + 0.2vw,0.8rem)
}

.gap-bottom-400 {
    margin-bottom: clamp(0.88rem,0.83rem + 0.24vw,1rem)
}

.gap-bottom-500 {
    margin-bottom: clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

.gap-bottom-600 {
    margin-bottom: clamp(1.37rem,1.21rem + 0.8vw,1.78rem)
}

.gap-bottom-700 {
    margin-bottom: clamp(1.71rem,1.45rem + 1.29vw,2.37rem)
}

.gap-bottom-800 {
    margin-bottom: clamp(2.14rem,1.74rem + 1.99vw,3.16rem)
}

.gap-bottom-900 {
    margin-bottom: clamp(2.67rem,2.07rem + 3vw,4.21rem)
}

.gap-bottom-1000 {
    margin-bottom: clamp(3.34rem,2.45rem + 4.43vw,5.61rem)
}

.gap-left-0 {
    margin-left: 0
}

.gap-left-300 {
    margin-left: clamp(0.7rem,0.66rem + 0.2vw,0.8rem)
}

.gap-left-400 {
    margin-left: clamp(0.88rem,0.83rem + 0.24vw,1rem)
}

.gap-left-500 {
    margin-left: clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

.gap-left-600 {
    margin-left: clamp(1.37rem,1.21rem + 0.8vw,1.78rem)
}

.gap-left-700 {
    margin-left: clamp(1.71rem,1.45rem + 1.29vw,2.37rem)
}

.gap-left-800 {
    margin-left: clamp(2.14rem,1.74rem + 1.99vw,3.16rem)
}

.gap-left-900 {
    margin-left: clamp(2.67rem,2.07rem + 3vw,4.21rem)
}

.gap-left-1000 {
    margin-left: clamp(3.34rem,2.45rem + 4.43vw,5.61rem)
}

.gap-right-0 {
    margin-right: 0
}

.gap-right-300 {
    margin-right: clamp(0.7rem,0.66rem + 0.2vw,0.8rem)
}

.gap-right-400 {
    margin-right: clamp(0.88rem,0.83rem + 0.24vw,1rem)
}

.gap-right-500 {
    margin-right: clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

.gap-right-600 {
    margin-right: clamp(1.37rem,1.21rem + 0.8vw,1.78rem)
}

.gap-right-700 {
    margin-right: clamp(1.71rem,1.45rem + 1.29vw,2.37rem)
}

.gap-right-800 {
    margin-right: clamp(2.14rem,1.74rem + 1.99vw,3.16rem)
}

.gap-right-900 {
    margin-right: clamp(2.67rem,2.07rem + 3vw,4.21rem)
}

.gap-right-1000 {
    margin-right: clamp(3.34rem,2.45rem + 4.43vw,5.61rem)
}

.padding-right-0 {
    padding-right: 0;
}

.padding-right-300 {
    padding-right: clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem);
}

.padding-right-400 {
    padding-right: clamp(0.88rem, 0.83rem + 0.24vw, 1rem);
}

.padding-right-500 {
    padding-right: clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
}

.padding-right-600 {
    padding-right: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem);
}

.padding-right-700 {
    padding-right: clamp(1.71rem, 1.45rem + 1.29vw, 2.37rem);
}

.padding-right-800 {
    padding-right: clamp(2.14rem, 1.74rem + 1.99vw, 3.16rem);
}

.padding-right-900 {
    padding-right: clamp(2.67rem, 2.07rem + 3vw, 4.21rem);
}

.padding-right-1000 {
    padding-right: clamp(3.34rem, 2.45rem + 4.43vw, 5.61rem);
}
.padding-left-0 {
    padding-left: 0;
}

.padding-left-300 {
    padding-left: clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem);
}

.padding-left-400 {
    padding-left: clamp(0.88rem, 0.83rem + 0.24vw, 1rem);
}

.padding-left-500 {
    padding-left: clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
}

.padding-left-600 {
    padding-left: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem);
}

.padding-left-700 {
    padding-left: clamp(1.71rem, 1.45rem + 1.29vw, 2.37rem);
}

.padding-left-800 {
    padding-left: clamp(2.14rem, 1.74rem + 1.99vw, 3.16rem);
}

.padding-left-900 {
    padding-left: clamp(2.67rem, 2.07rem + 3vw, 4.21rem);
}

.padding-left-1000 {
    padding-left: clamp(3.34rem, 2.45rem + 4.43vw, 5.61rem);
}
.padding-top-0 {
    padding-top: 0;
}

.padding-top-300 {
    padding-top: clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem);
}

.padding-top-400 {
    padding-top: clamp(0.88rem, 0.83rem + 0.24vw, 1rem);
}

.padding-top-500 {
    padding-top: clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
}

.padding-top-600 {
    padding-top: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem);
}

.padding-top-700 {
    padding-top: clamp(1.71rem, 1.45rem + 1.29vw, 2.37rem);
}

.padding-top-800 {
    padding-top: clamp(2.14rem, 1.74rem + 1.99vw, 3.16rem);
}

.padding-top-900 {
    padding-top: clamp(2.67rem, 2.07rem + 3vw, 4.21rem);
}

.padding-top-1000 {
        padding-top: clamp(3.34rem, 2.45rem + 4.43vw, 5.61rem);
    }

padding-bottom-0 {
    padding-bottom: 0;
}

.padding-bottom-300 {
    padding-bottom: clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem);
}

.padding-bottom-400 {
    padding-bottom: clamp(0.88rem, 0.83rem + 0.24vw, 1rem);
}

.padding-bottom-500 {
    padding-bottom: clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
}

.padding-bottom-600 {
    padding-bottom: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem);
}

.padding-bottom-700 {
    padding-bottom: clamp(1.71rem, 1.45rem + 1.29vw, 2.37rem);
}

.padding-bottom-800 {
    padding-bottom: clamp(2.14rem, 1.74rem + 1.99vw, 3.16rem);
}

.padding-bottom-900 {
    padding-bottom: clamp(2.67rem, 2.07rem + 3vw, 4.21rem);
}

.padding-bottom-1000 {
    padding-bottom: clamp(3.34rem, 2.45rem + 4.43vw, 5.61rem);
}

.padding-0 {
    padding: 0;
}

.padding-300 {
    padding: clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem);
}

.padding-400 {
    padding: clamp(0.88rem, 0.83rem + 0.24vw, 1rem);
}

.padding-500 {
    padding: clamp(1.09rem, 1rem + 0.47vw, 1.33rem);
}

.padding-600 {
    padding: clamp(1.37rem, 1.21rem + 0.8vw, 1.78rem);
}

.padding-700 {
    padding: clamp(1.71rem, 1.45rem + 1.29vw, 2.37rem);
}

.padding-800 {
    padding: clamp(2.14rem, 1.74rem + 1.99vw, 3.16rem);
}

.padding-900 {
    padding: clamp(2.67rem, 2.07rem + 3vw, 4.21rem);
}

.padding-1000 {
    padding: clamp(3.34rem, 2.45rem + 4.43vw, 5.61rem);
}

.leading-tight {
    line-height: 1
}
.leading-tight-1-2 {
    line-height: 1.4
}

.measure-long {
    max-width: 65ch
}

.measure-medium {
    max-width: 58ch
}

.measure-short {
    max-width: 50ch
}


.text-0 {
    font-size: 0
}

.text-300 {
    font-size: clamp(0.7rem,0.66rem + 0.2vw,0.8rem)
}

.text-400 {
    font-size: clamp(0.88rem,0.83rem + 0.24vw,1rem)
}

.text-500 {
    font-size: clamp(1.09rem,1rem + 0.47vw,1.33rem)
}

.text-600 {
    font-size: clamp(1.37rem,1.21rem + 0.8vw,1.78rem)
}

.text-700 {
    font-size: clamp(1.71rem,1.45rem + 1.29vw,2.37rem)
}

.text-800 {
    font-size: clamp(2.14rem,1.74rem + 1.99vw,3.16rem)
}

.text-900 {
    font-size: clamp(2.67rem,2.07rem + 3vw,4.21rem)
}

.text-1000 {
    font-size: var(--text-1000)
}

.text-1500 {
    font-size: clamp(3.16rem,5.45rem + 9.43vw,5.61rem)
}


.weight-regular {
    font-weight: 400
}

.weight-medium {
    font-weight: 500
}

.weight-bold {
    font-weight: 700
}
.weight-bolder {
    font-weight: 900;
}

.icon-text-wrapper {
    display: inline-flex; /* Use inline-flex for proper alignment inside anchor tags */
    align-items: center; /* Align items vertically in the center */
    gap: 0.5rem; /* Adjust the spacing between the icon and text */
    padding-bottom: 0.5rem;
  }
  .social-card-flex-group {
    display: flex;
    align-items: flex-start;
    gap:0.2rem
  }
  .card img.icon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    display: block; /* Ensure proper block rendering of the image */
  }
  
  .icon-text-wrapper span {
    vertical-align: middle; /* Ensures that text is aligned with the icon */
    font-family: var(--ff-title);
  }
  
.card-light {
    background-color: var(--clr-surface); /* Dark Text Color */
    color: var(--clr-text); /* White */
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: left;
}
.big-icon  {
    display: flex;
}
.big-icon img{
    width: 200px;
    height: 200px;
}


footer {
    background-color: var(--clr-surface);
    color: var(--clr-text);
    padding: 2rem 0;
}


.flex-end {
    text-align-last: right;
}

/* hero section */

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%; /* Ensure the section takes up full width */
    background: var(--clr-dark);
}

.home-region {
    max-width: clamp(16rem,93vw,100rem);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.09rem,1rem + 0.47vw,1.33rem);
    padding-right: clamp(1.09rem,1rem + 0.47vw,1.33rem);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.wrapper-footer {
    width: clamp(16rem,93vw,100rem);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.09rem,1rem + 0.47vw,1.33rem);
    padding-right: clamp(1.09rem,1rem + 0.47vw,1.33rem);
    position: relative
}


.hero-section h1 {
    font-size: clamp(4rem, 5vw + 1.5rem, 5rem);
    line-height: 1.29;
    text-shadow: 0.05em 0.05em 0 var(--clr-purple-400);
    color: var(--clr-purple-300);
    margin-top: 0;
    text-align: center; /* Ensure the text is centered */
    max-width: 20ch;
}

.category-region{
    max-width: clamp(16rem,93vw,100rem);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1.09rem,1rem + 0.47vw,1.33rem);
    padding-right: clamp(1.09rem,1rem + 0.47vw,1.33rem);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
}

.category-region h1 {
    font-size: clamp(2.9rem, 2vw + 1rem, 4rem);
    line-height: 1.29;
    text-shadow: 0.05em 0.05em 0 hsla(105, 86%, 42%, 0.4);
    color: var(--clr-purple-300);
    text-align: center; /* Ensure the text is centered */
    max-width: 20ch;
}


/* Mobile Layout - Left Align Content */
@media (max-width: 48em) {
    .hero-section {
        justify-content: flex-start; /* Aligns the whole section content to the left */
        text-align: left; /* Align text to the left */
    }

    .home-region {
        align-items: flex-start; /* Align the inner content to the left */
        text-align: left; /* Align text inside the home-region to the left */
    }

    .hero-section h1 {
        text-align: left; /* Align heading text to the left */
        margin-top:0;
    }

    /* Optional: Adjust padding for mobile */
    .home-region {
        padding: 1rem;
    }
}

 
/* new avatars with smoother animation*/
.avatars {
    --avatar-count: 10;
    --avatar-size: 4rem;  
    --column-size: calc(var(--avatar-size) / 1);
    
    display: grid;
    grid-template-columns: repeat(var(--avatar-count), var(--column-size));
    gap: 0.5rem; /* Add space between the avatars */
    transition: 500ms ease; /* Smooth transition for the layout */
    transition-delay: 500ms;
}

.avatars:hover {
    --column-size: calc(var(--avatar-size) * 1.2);
    transition-delay: 10ms;
}

.avatar {
    width: var(--avatar-size);
    height: var(--avatar-size); /* Ensure square ratio */
    object-fit: cover; /* Ensure the image scales to cover the avatar size */
    border-radius: 50%; /* Circular shape */
    border: 0.1rem solid var(--clr-purple-300);
    transition: transform 0.4s ease-in-out; /* Smooth scaling transition */
}

.avatar:hover {
    transform: scale(2.5); /* Larger hover effect */
    z-index: 2; /* Bring the hovered avatar to the front */
}

/* Adjust the next avatars based on the hover */
@supports selector(:has(+ *)) {
    .avatar:hover + .avatar,
    .avatar:has(+ .avatar:hover) {
        transform: scale(1.2); /* Slightly smaller hover for adjacent avatars */
    }
}


/* Mobile Layout - Responsive for smaller screens */
@media (max-width: 800px) {
    .avatars {
        grid-template-columns: repeat(8, 1fr); /* 5 avatars per row */
        gap: 0.5rem;
    }
    .avatar {
        width: 4rem; /* Smaller avatar size for mobile */
        height: 4rem;
    }

    .avatar:hover {
        transform: scale(2.5); /* Slightly reduced hover scale on smaller screens */
    }
}

@media (max-width: 600px) {
    .avatars {
        grid-template-columns: repeat(5, 1fr); /* 5 avatars per row */
        gap: 0.5rem;
    }

    .avatar {
        width: 4rem; /* Smaller avatar size for mobile */
        height: 4rem;
    }

    .avatar:hover {
        transform: scale(2.3); /* Slightly reduced hover scale on smaller screens */
    }
}

@media (max-width: 400px) {
    .avatars {
        grid-template-columns: repeat(5, 1fr); /* 4 avatars per row on very small screens */
        gap: 0.4rem; /* Adjust gap for smaller screen sizes */
    }

    .avatar {
        width: 2.9rem; /* Even smaller avatar size for very small screens */
        height: 2.9rem;
    }

    .avatar:hover {
        transform: scale(2); /* Scale down hover effect for small screens */
    }
}

/* Further media query for screens smaller than 360px */
@media (max-width: 360px) {
    .avatars {
        grid-template-columns: repeat(5, 1fr); /* 3 avatars per row */
        gap: 0.3rem;
    }

    .avatar {
        width: 2.9rem; /* Further reduce avatar size */
        height: 2.9rem;
    }

    .avatar:hover {
        transform: scale(1.8); /* Adjust hover effect for smaller screens */
    }
}







/*  loading profiles from categories*/
    .portfolio-section {
        scroll-snap-align: start;
        padding: 20px;
    }

    .inactive {
        opacity: 0.5;
        transform: translateY(0) scale(1);
        animation: none;
    }

    .portfolio__image {
        width: 100%; /* Make all images fill the container */
    height: 250px; /* Set a fixed height for consistency */
    object-fit: cover; /* Ensures the image scales without distortion */
    border-radius: 8px 8px 0 0; /* Top rounded corners */

    }

    .portfolio__item {
        position: relative;
        overflow: hidden;
        
    }

    .portfolio__body {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        background: rgba(0, 0, 0, .5);
        color: white;
        padding: 1em;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        transform: translateY(100%);
        transition: transform 250ms;
        border-radius: 0.5rem;
    }

    .portfolio__item:hover .portfolio__body {
        transform: translateY(0%);
    }
    


    .with-sidebar {
        display: inline-flex;
        flex-wrap: wrap; /* Ensure content wraps on smaller screens */
    }
    
    .not-a-sidebar {
        flex: 4;
    }
    
    .sidebar {
        flex: 1;
        position: relative;
    }
    
    /* Mobile styles */
    @media (max-width: 48em) {
        .with-sidebar {
            flex-direction: column; /* Stack elements vertically */
        }
    
        .not-a-sidebar {
            margin-right: 0; /* Remove right margin */
            margin-bottom: 20px; /* Add bottom margin for spacing */
        }
    
        /* Ensure sidebar shows above categories */
        .sidebar.selected-cat {
            order: -1; /* Make the sidebar come before the categories */
            margin-bottom: 1rem; /* Add margin for better spacing */
        }
    
        /* Align text and elements to the left on mobile */
        .hero-section h1, .sub-title, .filter-section {
            text-align: left;
        }
    
        .sub-title p {
            text-align: left;
        }
    }
    
    
    
    nav
{
    background: var(--clr-dark);
    color: var(--clr-white)

}


      .social {
        font-size: 0.7rem;
        font-weight: 400;
        opacity: 0.9;
        text-align: left;
        margin: 1rem 0 ;
      }
      .social li{
        list-style: none;
        display: flex;

      }
      
      
/* Image Reel Section */
.image-reel-section {
    margin: 2rem 0;
  }
  
  /* Marquee Styles */
  .marquee {
    width: 100%;
    overflow: hidden; /* Ensure the content doesn't overflow the viewport */
  }
  
  .marquee__inner {
    width: fit-content;
    display: flex;
    gap: 1vw;
    transform: translate3d(0, 0, 0);
    animation: marquee 50s linear infinite;
  }
  
  .marquee__inner a {
    pointer-events: all;
  }
  
  .marquee__inner img {
    width: 200px;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.9s ease;
  }
  
  .marquee__inner img:hover {
    transform: scale(2.05);
  }
  
  /* Keyframes for smooth scrolling */
  @keyframes marquee {
    0% {
      transform: translate3d(0, 0, 0);
    }
    100% {
      transform: translate3d(-50%, 0, 0);
    }
  }
  
  /* Responsive adjustments */
  
  /* Tablet and smaller screens */
  @media screen and (max-width: 768px) {
    .marquee__inner img {
      width: 150px; /* Decrease image size */
      height: 130px; /* Decrease height */
    }
  
    @keyframes marquee {
      0% {
        transform: translate3d(0, 0, 0);
      }
      100% {
        transform: translate3d(-100%, 0, 0); /* Adjust translation for smaller screens */
      }
    }
  }
  
  /* Mobile screens */
  @media screen and (max-width: 480px) {
    .marquee__inner img {
      width: 100px; /* Further decrease image size */
      height: 90px;
    }
  
    @keyframes marquee {
      0% {
        transform: translate3d(0, 0, 0);
      }
      100% {
        transform: translate3d(-200%, 0, 0); /* Adjust translation for mobile */
      }
    }
  }


  .product {
    
    border-radius: 0.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(var(--auto-grid-min-size,22rem),1fr));
    grid-gap: clamp(1.67rem,2.07rem + 2vw,2.21rem) clamp(1.09rem,1rem + 0.47vw,1.22rem);
  }

.filter-section {
    align-items: center;
    background: linear-gradient(20deg, var(--clr-white),var(--clr-purple-300),var(--clr-white) );
    
}

.homepage h1,h2 {
text-align: center;
margin: 0 auto ;
margin-bottom: var(--text-400);

}

.sub-title {
    max-width:55ch;
    font-weight:500;
    font-size: var(--text-500);
    line-height: 1.2;
    text-align: center;
    margin: 0 auto;
    
 
}
.sub-title p {
    text-align: center;
}


/* Style for parent and child categories */
.parent-categories {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    max-width: 75rem;
    margin:1rem
  
  }
  
  .parent-category {
    position: relative;
  }
  
  
  .cluster {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 75rem;
    margin: 0 auto;
    gap: .3rem;
  }
  
  .cluster>* {
    margin: .2rem
  }
  
  .cluster[data-align=start] {
    justify-content: flex-start;
    margin-left: 0
  }
  
  .cluster[data-vert=end] {
    align-items: flex-end
  }
  
  .cluster[role=list] {
    padding: 0;
    margin-bottom: 0;
  }
  
  .child-categories {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    background-color: var(--clr-surface);
    border-radius: .5rem;
    border: 1px solid var(--clr-purple-400);
    color:var(--clr-dark);
    font-weight: 900;
    font-size: clamp(.88rem, .83rem + .24vw, 1rem);
    text-decoration: none;
    text-transform: capitalize;
    min-width: 10rem;
    min-height: 15rem;
  }
  
  
  .pill {
    padding: 0.24rem;
    border-radius: .5rem;
    border: 0.02rem solid var(--clr-purple-400);
    color:var(--clr-dark);
    font-weight: 600;
    font-size: clamp(.88rem, .83rem + .24vw, 1rem);
    text-transform: capitalize;
    
  }
  
  .pill:focus, .pill:hover {
    background: var(--clr-purple-400);
    
  }
  
  
  .pill:active, .pill:focus, .pill:hover {
    transition: background 150ms, color 150ms;
  }
  .pill a {
    text-decoration: none;
  }

  .pill a:hover{
  color: var(--clr-dark);
  text-decoration: none ;
  
  }
  .pill-2{
    padding: 0.29rem ; /* Smaller padding */
    font-size: 0.75rem; /* Smaller font size */
    border-radius: 0.25rem; /* Smaller rounded corners */
    background-color: var(--clr-green);
  }
  .pill-2:hover{    
    background-color: var(--clr-purple-400);
  }

  .pill-2 a{
    text-decoration: underline
  }

  .pill-2 a:hover{
    color:var(--clr-white)
  }
  
  .parent-category:hover .child-categories {
    display: block;
  }
  
  .child-category-link, .parent-category-link {
    display: block;
    cursor: pointer;
  }
  .child-category-link {
  border-bottom: 0.02rem solid var(--clr-dark);
  margin-top: 0.4rem;
}
  .child-categories li a:hover {
  color:var(--clr-dark);
}

  .selected {
    background-color: var(--clr-purple-400);
    padding: 0.6rem;
    border-radius: 0.24rem;
  
  }
  
  /* Profile Cards */
  #profiles-container {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .profile-card {
    background-color: #f8f8f8;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
  }
  
  .profile-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }
  /* Filter Mode Toggle */
  .filter-mode {
    margin: 1rem 0;
  }
  
  .filter-mode label {
    margin-right: 1rem;
    cursor: pointer;
  }
  
  /* Style for displaying selected categories */
  .selected-category {
    display: inline-block;
    background-color: var(--clr-purple-300);
    padding: 5px 10px;
    margin: 5px;
    border-radius: 5px;
  }
  
  .selected-category a {
    color: var(--clr-purple-400);
    margin-left: 5px;
    text-decoration: none;
    font-weight: bold;
  }
  
  .selected-category a:hover {
    color: darkred;
  }
  

/* Portfolio Section */
.portfolio__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    max-width: 250px; /* Ensure all cards have the same width */
}

.portfolio__item:hover {
    transform: scale(1.05);
}

.portfolio__image {
    width: 100%; /* Make all images fill the container */
    height: 250px; /* Set a fixed height for consistency */
    object-fit: cover; /* Ensures the image scales without distortion */
    border-radius: 8px 8px 0 0; /* Top rounded corners */
}

.portfolio__body {
    padding: 1rem;
    text-align: center;
    width: 100%; /* Ensure the body fills the width of the card */
}

.roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center; /* Center the roles inside the card */
    margin-top:0.5rem
}

.roles-profiles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top:0.5rem
}

.pill {

    border-radius: 4px;
    font-size: 0.875rem;
    padding: 0.29rem;
    border-radius: .5rem;
    border: 1px solid var(--clr-purple-400);
}
.pill:hover {
    background: var(--clr-purple-400);
    color:var(--clr-white)

}

.pill a:hover {
    color:var(--clr-white)
}

/* Make the categories in portfolio__body smaller */

  /* Profile Cards */
  #profiles-container {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .profile-card {
    background-color: #f8f8f8;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
  }
  
  .profile-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }
  
  .selected-cat {
    border-radius: 0.5rem;
    border:solid 0.02rem var(--clr-purple-400);
    padding:1rem;
    font-size: var(--text-300);
    margin: 1rem;
    background-color: var(--clr-surface);
  }



  .profile-page {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% - 50% layout */
    height: 100vh; /* Full viewport height */
}

.image-section {
    position: sticky;
    top: 0;
    height: 80vh;
    overflow: hidden;

}


.big-image-round {
    margin:2rem;
    object-fit: cover;
    width: 85%;
    height: 85%;
    aspect-ratio: 1;
    border-radius: 100vw;

    
}
.big-image-box {
    margin:4rem;
    width: 100%;
    height: 100%;
    display: block;
    object-fit:cover ;   
    border-radius: 0.2rem;
}

.thumbnail-container {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: border 0.3s ease;
}

.thumbnail:hover {
    border: 2px solid #333;
}

.content-section {
    padding: 2rem;
    overflow-y: auto;
}
.content-section::-webkit-scrollbar {
  display: none; /* Hides the scrollbar in webkit browsers */
}
/* For Firefox browsers */
.content-section {
  scrollbar-width: none; /* Hides the scrollbar in Firefox */
}
.content-section h4, ul, li {
margin:0;
}


.roles {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.role {
border-radius: 0.5rem;
padding: 1rem;
background-color: var(--clr-green);
align-items: center;
}

.socials {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.socials li a {
    color: #000;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.socials li a:hover {
    transform: scale(1.2);
}

.profile-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
}
.image-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.image-container {
  position: relative;
  width: 100%;
  height: 100vh;
}

.big-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: nowrap;
  z-index: 2;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 5px;
  opacity: 0.8;
  transition: border 0.3s ease, opacity 0.3s ease;
}

.thumbnail:hover {
  border: 2px solid #333;
  opacity: 1;
}



.section-title {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.social-profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2.2rem;
}

.card {
  border: 1px solid #ddd;
  border-left: 4px solid var(--clr-purple-300);
  padding: 0.5rem;
  border-radius: 8px;
  background-color: #f9f9f9;
  color: var(--clr-text);
  min-width: 150px;
}

.social-profile h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--ff-title);
}


.card h3 img.icon {
  font-size: 1.5rem; /* Adjust this size if needed */
  width: .5rem;
  height: .5rem;
}

.profile-description {
    font-size: 1rem;
  }
  
.profile-description ul {
  list-style: none; /* Remove bullet points */
  padding: 0; /* Remove default padding */
}

.profile-description ul li {
  padding: 0.5rem;
  border-radius: 0.2rem;
}

.profile-description ul li:nth-child(odd) {
  background-color: var(--clr-purple-300); /* Alternate background color */
}
.text-left-align-header {
    text-align: left;
}









/* Base styles for the menu */
.nav-wrapper {
  width: clamp(16rem, 93vw, 77rem);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.09rem, 1rem + .47vw, 1.33rem);
  padding-right: clamp(1.09rem, 1rem + .47vw, 1.33rem); 
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 8rem;
  width: 100%;

  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  
}


.logo img {
    max-height: 55px;
    max-width: 65%;
    display: block;
    border: none;
}

.menu {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: left;
  
}

.menu li {
  position: relative;
  list-style: none;
}

.menu li a {
  display: block;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  font-size: clamp(0.88rem,0.83rem + 0.24vw,1rem);
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 0.02rem; /* Adjust the thickness of the underline */
  text-underline-offset: 0.2rem; /* Adjust the space between text and underline */
  text-decoration-color: var(--color-secondary);
}

.last-menu-item {
  margin-left: auto; /* Pushes the last menu item to the right */
}

.menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 15%;
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--color-light-shade);
  border-radius: 0.5rem;
  min-width: 10rem;
  z-index: 99;
  border:0.02rem solid var(--color-dark)
}

.menu li:hover > ul {
  display: block;

}

.menu li.menu-item-has-children > a::after {
  content: '↓'; /* Downward arrow symbol */
  margin-left: 0.1rem;
  color: var(--color-secondary)
  
}


/* Mobile styles */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;

}

.menu-icon span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 4px 0;    
  transition: transform 0.1s, opacity 0.1s;
}

@media (max-width: 768px) {
  .main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem; /* Adjust padding as needed */
    position: relative;
}

  .menu {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: var(--clr-dark);
      position: absolute;
      top: 100%; /* Open menu below the logo and menu icon */
      right: 0;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      z-index: 1;
      padding-bottom:1rem;

  }
  .menu li {
    text-align: left; /* Align menu items to the left */
}

.menu li a {
    width: 100%; /* Ensure full width for each item */
    padding: 1rem; /* Adjust padding for mobile view */
}

  .menu li ul {
      position: static;
  }


  .menu-toggle:checked + .menu-icon + .menu {
      display: flex;
      
  }

  .menu-icon {
      display: flex;
      
      
  }

  /* Styles for changing hamburger icon to close icon */
  .menu-toggle:checked + .menu-icon span:nth-child(1) {
      transform: rotate(45deg) translate(9px, 5px);
      z-index: 2;

  }
  
  .menu-toggle:checked + .menu-icon span:nth-child(2) {
      opacity: 0;
      background: #333; /* Ensure background color is consistent */

  }
  
  .menu-toggle:checked + .menu-icon span:nth-child(3) {
      transform: rotate(-45deg) translate(9px, -5px);
      z-index: 2;

  }

  .last-menu-item {
    margin-left:0; /* Pushes the last menu item to the right */
  }

}
.auto-grid-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.social-list {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.social-list img {
    width: 32px;
    height: 32px;
}

.column ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.column ul li {
    margin-bottom: 0.5rem;
}
.footer-wrapper {
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically (if needed) */
    text-align: center; /* Ensures text is also centered */
}
.footer-wrapper-1 {
    max-width: 1200px; /* Limit the width of the content */
    margin: 0 auto; /* Center the content horizontally */
    padding: 1rem 2rem; /* Add padding around the content */
    text-align: center; /* Ensure the text is centered */
}
.site-foot-1 {
    padding: 1rem 0; /* Additional padding for cleaner look */
}
.top {
    --offset: 500px;
    position: fixed;
    bottom: 40px;
    right: 20px;
    width: 2.5rem;
    height: 2.4rem;
    border: 0.02rem solid var(--clr-purple-400);
    border-radius: 50%;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999
}
.top:before {
    content: "↑";
    position: absolute;
    color: var(--clr-purple-400);
    font-weight: 600;
    font-size: 2rem
}
.top:hover {
    background-color: var(--clr-purple-300)
}


/* Responsive Adjustments */

/* For tablet and smaller */
@media (max-width: 768px) {
    .profile-image {
        width: 150px;
    }
    .product {
        grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    }
    .user-profile-1 {
        overflow-x: hidden;
    }
}

/* For small mobile devices */
@media (max-width: 600px) {
    .profile-image {
        width: 120px;
    }
    .product {
        grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    }
    .tag {
        font-size: 0.7rem;
    }
    .grid-flow {
        gap:0;
    }
}

/* For very small mobile devices */
@media (max-width: 400px) {
    .profile-image {
        width: 100px;
    }
    .product {
        grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    }
    .tag {
        font-size: 0.6rem;
    }
    .grid-flow {
        gap:0;
    }
}
/* For very small mobile devices */
@media (max-width: 340px) {
    .profile-image {
        width: 70px;
    }
    .product {
        grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    }
    .tag {
        font-size: 0.6rem;
    }
    .grid-flow {
        gap:0;
    }
}



  
.flex-group {
    display: flex;
    align-items: flex-start; /* Ensures the items stay aligned at the top */
    gap:1rem
  }
  
  .grid-flow {
    display: flex;
    flex-direction: column;
    gap:1rem
  }
  
  ul.socials {
    display: flex;
    list-style: none;
    padding: 0;
  }
  
  ul.socials li {
    display: flex;
    align-items: center;
    gap: 0.1rem; /* Space between icon and follower count */
  }
  
  ul.tags {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .tag a {
    text-decoration: none;
    color: var(--clr-dark);
    font-weight: 500;
  }
  
  .ff-title {
    font-family: var(--ff-title);
  }
  
  
/* Container for the social icons */
.socials {
    position: relative;
    display: flex;
    gap: 10px;
}

.social-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tooltip (Bubble) */
.tooltip {
    position: absolute;
    bottom: 100%; /* Position above the icon */
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
    background: linear-gradient(-20deg, var(--clr-white), var(--clr-purple-300), var(--clr-white));
    color: var(--clr-dark);
    padding: 10px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 10;
    transition: visibility 0s, opacity 0.3s ease-in-out;
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 300px;
    text-align: left;
    border: 1px solid var(--clr-purple-400)
}

.social-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Arrow on the tooltip */
.tooltip::after {
    content: '';
    position: absolute;
    top: 100%; /* Arrow pointing down */
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}
.user-profile-1 {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background-color: hsl(0 0% 50% / 0.2);
    border-radius: 200px 1rem 1rem 200px;
    box-shadow: 0 0 1rem hsl(0 0% 0% / 0.3);
    
}
.vertical-center {
    display: flex;
    align-items: center; /* Vertically centers the image */
    justify-content: center; /* Centers horizontally */
    height: 100%; /* Ensures it takes the full height of the container */
}

/* Adjust profile image sizes responsively */
.profile-image {
    width: 200px; /* Default width for desktop */
    aspect-ratio: 1;
    border-radius: 100vw;
    object-fit: cover;
    transition: transform 0.9s ease; /* Smooth transition */
}

/* Hover effect for scaling the image */
.profile-image:hover {
    transform: scale(1.25);
}
/* Tablet screens (600px width) */
@media (max-width: 800px) {
    .content-section h1{
        font-size: var(--text-800);        
        max-width: 20ch;
    }
}
/* Tablet screens (600px width) */
@media (max-width: 600px) {
    .content-section h1{
        font-size: var(--text-600);        
        max-width: 20ch;
    }
.content-section {
    padding: 1rem;
    overflow-y: auto;
}

    .profile-image {
        width: 150px; /* Adjust image size for tablet */
    }

    .user-profile-1 {
        padding: 0.8rem; /* Reduce padding */
        border-radius: 150px 1rem 1rem 150px; /* Adjust border radius for smaller screen */
    }
    .grid-flow {
        gap:0;
    }
}

/* Smaller tablets/mobile screens (400px width) */
@media (max-width: 400px) {
    .profile-image {
        width: 120px; /* Further adjust image size for smaller tablets */
    }

    .user-profile-1 {
        padding: 0.5rem; /* Further reduce padding */
        border-radius: 120px 1rem 1rem 120px; /* Adjust border radius */
    }

    .tags {
        gap: 0.4rem; /* Adjust gap between tags */
    }
    .grid-flow {
        gap:0;
    }
}

/* Small mobile screens (360px width) */
@media (max-width: 360px) {
    .profile-image {
        width: 100px; /* Adjust image size for small mobile */
    }
    .profile-image:hover {
        transform: scale(1.05);
    }
    .user-profile-1 {
        padding: 0.4rem; /* Minimize padding */
        border-radius: 100px 1rem 1rem 100px; /* Adjust radius for very small screens */
        max-width: 300px;
    }

    .tags {
        gap: 0.3rem; /* Adjust gap between tags */
        justify-content: center; /* Center tags on very small screens */
    }
    .grid-flow {
        gap:0;
    }
}
/* Tag styling */
.tags {
    list-style: none;
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}

.tag {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--clr-dark);
    border-radius: 0.25rem;
    padding: 0.125em 0.75em;
    border: 0.05rem solid var(--clr-cyan-300);
    transition: all 0.3s ease;
}

/* Hover effect on tags */
.tag a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tag {
        font-size: 0.7rem;
        padding: 0.125em 0.6em;
    }
}

@media (max-width: 600px) {
    .tag {
        font-size: 0.65rem;
        padding: 0.1em 0.5em;
        gap: 0.3rem;
    }
}

@media (max-width: 400px) {
    .tag {
        font-size: 0.6rem;
        padding: 0.1em 0.4em;
        gap: 0.25rem;
    }
}

.profile-description-2 {
    font-size: 0.7rem;
  }
  
.profile-description-2 ul {
  list-style: none; /* Remove bullet points */
  padding: 0; /* Remove default padding */
}

.profile-description-2 ul li {
  padding: 0.5rem;
  border-radius: 0.2rem;
}

.profile-description-2 ul li:nth-child(odd) {
  background-color: var(--clr-purple-400); /* Alternate background color */
}



/* A-Z Filter Links */
.az-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.az-link {
    font-size: 1.2rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--clr-primary);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.az-link:hover {
    background-color: var(--clr-primary);
    
}

/* Masonry Grid for Categories */
.categories-masonry-grid {
    column-count: 4; /* Number of masonry columns */
    column-gap: 1.5rem; /* Space between columns */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .categories-masonry-grid {
        column-count: 2; /* 2 columns for tablets */
    }
}

@media (max-width: 480px) {
    .categories-masonry-grid {
        column-count: 1; /* 1 column for mobile */
    }
}

/* Masonry Card (letter group for each A-Z) */
.masonry-card {
    break-inside: avoid;
    background-color: hsl(0 0% 50% / 0.2);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Category Items */
.category-item {
    display: block;
    padding: 0.5rem;
    font-size: 1rem;
    text-decoration: none;
    color: var(--clr-text);
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.category-item:hover {
    background-color: var(--clr-primary);
    border-radius: 5px;
    text-decoration: underline;
}

/* Letter Header in Each Card */
.letter-header {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}
/* Hide the full description initially */
.category-description .full-description {
    max-height: 4rem; /* Limit the height to show only a few lines */
    overflow: hidden;
    transition: max-height 0.5s ease; /* Add smooth transition */
}

/* Checkbox to trigger the expansion */
#toggle-description:checked ~ .category-description .full-description {
    max-height: 100rem; /* Large value to show the full content */
}

/* Show/Hide toggle buttons */
#toggle-description {
    display: none; /* Hide the checkbox */
}

.show-more-btn {
    cursor: pointer;
    color: var(--clr-primary);
    text-decoration: underline;
    display: inline-block;
    margin-top: 0.5rem;
}

/* Hide "Show More" when expanded and show "Hide" */
#toggle-description:checked ~ .text-show {
    display: none;
}

#toggle-description:not(:checked) ~ .text-hide {
    display: none;
}
.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-section label {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.filter-section button {
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
}

.filter-section button:hover {
    background-color: #0056b3;
}
.filter-options ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
}

.filter-options ul li {
    margin: 0;
}

.filter-options ul li a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
}

.filter-options ul li a:hover {
    background-color: #ddd;
}
/* Custom CSS */
.filter-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    margin-bottom: 20px;
}

.filter {
    margin: 0 10px;
    padding: 10px 20px;
    border-radius: 25px;
    background-color: #f7f7f7;
    cursor: pointer;
    border: 1px solid #ccc;
}

/* Hide the input checkboxes */
.filter input {
    display: none;
}

/* Highlight the selected filter */
.filter.selected {
    background-color: var(--clr-purple-400); /* Or any other color for highlighting */
    color: white;
}

/* Hidden class to hide elements */
.hidden {
    display: none;
}

/* Fieldset styling */
fieldset {
    display: block;
    border: 0.01rem solid var(--clr-purple-300);
    padding-top: 0.1rem;
    padding-bottom:1rem;
}
legend {
    display:block;
    padding:0 0.5rem;
    margin:0.01rem;
}

/* Responsive styling for mobile devices */
@media (max-width: 768px) {
    .filter-wrapper {
        justify-content: flex-start; /* Align items to the start on mobile */
    }

    .filter {
        margin: 5px; /* Reduce margins for smaller screens */
        padding: 8px 15px; /* Slightly smaller padding */
        font-size: 14px; /* Adjust font size for mobile */
    }

    /* Allow filters to wrap and adjust their width */
    .filter-wrapper .filter {
        flex: 1 1 auto; /* Make filters more flexible on small screens */
        width: calc(50% - 10px); /* Set width for two columns on mobile */
        text-align: center;
    }
}

/* Further adjustments for very small screens */
@media (max-width: 480px) {
    .filter-wrapper .filter {
        width: calc(100% - 10px); /* Full width filters on very small screens */
    }
}

/* Hide the full description initially */
.category-description .full-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease; /* Add smooth transition */
    color:var(--clr-white);
    opacity: 0; /* Hide the full content */
    text-align:left;
}

/* Limit the short description */
.category-description .short-description {
    display: block;
    margin-bottom: 1rem;
    color:var(--clr-white);
}

/* Show the full description when checkbox is checked */
#toggle-description:checked ~ .category-description .full-description {
    max-height: 100rem; /* Large value to show the full content */
    opacity: 1;
    display: block;
}

/* Apply two-column grid layout when expanded */
#toggle-description:checked ~ .category-description .full-description {
    column-count: 2; /* Create 2-column layout */
    column-gap: 2rem; /* Space between columns */
}
/* Responsive grid for smaller screens */
@media (max-width: 768px) {
    #toggle-description:checked ~ .category-description .full-description {
        grid-template-columns: 1fr; /* 1-column on smaller screens */
    }
}

/* Show/Hide toggle buttons */
#toggle-description {
    display: none; /* Hide the checkbox */
}

.show-more-btn {
    cursor: pointer;
    color:var(--clr-white);
    text-decoration: underline;
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom:4rem;
}

/* Hide "Show More" when expanded and show "Hide" */
#toggle-description:checked ~ .text-show {
    display: none;
}

#toggle-description:not(:checked) ~ .text-hide {
    display: none;
}

.filter-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center; /* Center-align the title */
}
.blog-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}


.masonry-card:hover {
    transform: translateY(-10px);
}

.image-container-blog-posts {
    height: 200px;
    overflow: hidden;
    border-radius: 0.5rem;
}

.post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.post-meta .post-author {
    margin-left: 10px;
}


.column {
    padding: 10px;
}

.list-style-none {
    list-style-type: none;
    padding: 0;
}

.list-style-none li {
    margin-bottom: 10px;
}
.display-flex {
    display: flex;
}
.table-of-contents {
    position: sticky;
    position: -webkit-sticky;
    top: 4rem;
    cursor: pointer;
    max-width: 25ch;
    font-size: clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem);
}
.border-radius-very-small {
    border-radius:0.5rem;
}
.country-flag {
    width: 30px; /* Adjust width as needed */
    height: auto;
    display: inline-block;
    margin-right: 5px; /* Space between flag and location name */
    vertical-align: middle;
    border:var(--clr-dark) 0.01rem solid;
}
