/* =================================================================== */
/*    PARTIAL: PAGES                                                   */
/*    Contains: Styles for specific, non-reusable page layouts like    */
/*    the blog, gallery, resume, contact page, etc.                    */
/* =================================================================== */

/* --- NEW: Homepage Store-Front Styles --- */

.hero {
  position: relative;
  min-height: 350px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 30px;
  background-color: var(--eerie-black1);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow2);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsla(0, 0%, 0%, 0.3), hsla(0, 0%, 0%, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 30px 20px;
  max-width: 700px;
}

.hero-title {
  color: var(--white1);
  font-size: 2.5rem; /* Fallback */
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--fw600);
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 4px 8px rgba(0,0,0,0.6);
}

.hero-subtitle {
  color: var(--white2);
  font-size: var(--fs5);
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Trust Bar / How It Works */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
  padding: 25px;
  background: var(--border-gradient-onyx);
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--jet);
  box-shadow: var(--shadow1);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  font-size: 28px;
  color: var(--orange-yellow-crayola);
  background: var(--bg-gradient-jet);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow2);
  border: 1px solid var(--jet);
}

.trust-text h4 {
  color: var(--white2);
  font-size: var(--fs6);
  font-weight: var(--fw600);
  margin-bottom: 4px;
}

.trust-text p {
  color: var(--light-gray);
  font-size: var(--fs7);
  line-height: 1.4;
}

/* Section Headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--jet);
}

.section-title {
  font-size: var(--fs2);
  color: var(--white2);
  font-weight: var(--fw600);
}

.section-link {
  color: var(--orange-yellow-crayola);
  font-size: var(--fs7);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition1);
  font-weight: var(--fw500);
}

.section-link:hover {
  color: var(--vegas-gold);
  transform: translateX(3px);
}

/* Store Grid (Featured Products) */
.store-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile default */
  gap: 25px;
  margin-bottom: 50px;
}

@media (min-width: 550px) {
  .store-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- NEW: Add this to make it 4 columns on Desktop --- */
@media (min-width: 1200px) {
  .store-grid { grid-template-columns: repeat(4, 1fr); }
}

.store-card {
  background: var(--border-gradient-onyx);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--jet);
  position: relative;
}

.store-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--eerie-black1);
    border-radius: inherit;
    z-index: 0;
}

.store-card > a {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.store-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow3);
  border-color: var(--orange-yellow-crayola);
}

/* =================================================================== */
/*    ENHANCED: PROCESS REVEAL (WITH NO-IMAGE STABILITY FIX)           */
/* =================================================================== */

.project-img, 
.store-card-banner,
.blog-banner-box {
    position: relative;
    width: 100%;
    display: block; 
    aspect-ratio: 1 / 1; 
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: var(--eerie-black1);
}

/* Primary Image (The Result) */
.project-img img.primary-img, 
.store-card-banner img.primary-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
}

/* Secondary Image (The Workshop View) */
.project-img img.secondary-img, 
.store-card-banner img.secondary-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.8) contrast(1.1) saturate(0.8);
    transform: scale(1.1); 
    transition: transform 0.8s ease, opacity 0.5s ease, visibility 0.5s ease;
    
    /* Hide by default to prevent transparency bleed */
    opacity: 0;
    visibility: hidden;
}

/* 
   HOVER REVEAL LOGIC 
   STABILITY FIX: This ONLY triggers if the parent has '.has-reveal'
*/
@media (min-width: 1024px) {
    /* If an item has a secondary image, fade out the primary on hover */
    .has-reveal:hover img.primary-img {
        opacity: 0; 
        transform: scale(1.05);
    }

    /* If an item has a secondary image, fade it in on hover */
    .has-reveal:hover img.secondary-img {
        opacity: 1; 
        visibility: visible;
        transform: scale(1);
    }

    /* Workshop Badge - Only for items with a reveal image */
    .has-reveal::after {
        content: 'WORKSHOP VIEW';
        position: absolute;
        bottom: 15px;
        right: 15px;
        font-size: 8px;
        letter-spacing: 1.5px;
        color: var(--orange-yellow-crayola);
        opacity: 0;
        z-index: 5;
        transition: opacity 0.3s ease;
        background: rgba(0, 0, 0, 0.6);
        padding: 2px 8px;
        border-radius: 4px;
        font-weight: 700;
        pointer-events: none;
    }
    
    .has-reveal:hover::after {
        opacity: 1;
    }
}

.store-card-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.store-card-banner img:not(.primary-img):not(.secondary-img) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.store-card:hover .store-card-banner img:not(.primary-img):not(.secondary-img) {
  transform: scale(1.08);
}

.store-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.store-card-title {
  color: var(--white2);
  font-size: var(--fs5);
  margin-bottom: 8px;
  line-height: 1.4;
  font-weight: var(--fw500);
}

.store-card-price {
  color: var(--light-gray70);
  font-size: var(--fs7);
  font-weight: var(--fw400);
  margin-bottom: 15px;
}

.store-card-action {
  margin-top: auto;
  color: var(--orange-yellow-crayola);
  font-size: var(--fs7);
  font-weight: var(--fw600);
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.category-card {
  background: var(--eerie-black1);
  border: 1px solid var(--jet);
  border-radius: 14px;
  padding: 25px 15px;
  text-align: center;
  transition: var(--transition1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 140px;
  box-shadow: var(--shadow1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--text-gradient-yellow);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow3);
  background: var(--border-gradient-onyx);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card ion-icon {
  font-size: 36px;
  color: var(--orange-yellow-crayola);
  margin-bottom: 12px;
}

.category-card span {
  color: var(--white1);
  font-weight: var(--fw600);
  font-size: var(--fs6);
  text-transform: capitalize;
}


/* --- About Page & Generic Content --- */
.about .article-title {
    margin-bottom: 15px;
    margin-top: 15px;
}

.about-text {
    color: var(--light-gray);
    font-size: var(--fs6);
    font-weight: var(--fw300);
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 15px;
    text-align: justify;
    padding-left: 10px;
    padding-right: 10px;
}

/* --- Homepage: Testimonials Section --- */
.testimonials-list {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    margin: 0 -15px;
    padding: 25px 15px;
    padding-bottom: 35px;
    overflow-x: auto;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
}

.testimonials-item {
    min-width: 100%;
    scroll-snap-align: center;
}

.testimonials-avatar-box {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(15px, -25px);
    background: var(--bg-gradient-onyx);
    border-radius: 14px;
    box-shadow: var(--shadow1);
}

.testimonials-text {
    color: var(--light-gray);
    font-size: var(--fs6);
    font-weight: var(--fw300);
    line-height: 1.6;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Homepage: Clients Section --- */
.clients-list {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    margin: 0 -15px;
    padding: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 25px;
}

.clients-item {
    min-width: 50%;
    scroll-snap-align: start;
}

.clients-item img {
    width: 100%;
    filter: grayscale(1);
    transition: var(--transition1);
}

.clients-item img:hover {
  filter: grayscale(0);
}

/* --- Resume Page --- */
.timeline {
  margin-bottom: 30px;
}

.timeline .title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.timeline-list {
    font-size: var(--fs6);
    margin-left: 45px;
}

.timeline-list span {
    color: var(--vegas-gold);
    font-weight: var(--fw400);
    line-height: 1.6;
}

.timeline-item {
  position: relative;
}

.timeline-item:not(:last-child) {
  margin-bottom: 20px;
}
.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    top: -25px;
    left: -30px;
    width: 1px;
    height: calc(100% + 50px);
    background: var(--jet);
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 5px;
    left: -33px;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: var(--text-gradient-yellow);
    box-shadow: 0 0 0 4px var(--jet);
}

.timeline-item-title {
    font-size: var(--fs6);
    line-height: 1.3;
    margin-bottom: 7px;
}

.timeline-text {
    color: var(--light-gray);
    font-weight: var(--fw300);
    line-height: 1.6;
    text-align: justify;
}

.skills-title {
  margin-bottom: 20px;
}

.skills-list {
  padding: 20px;
}

.skills-item:not(:last-child) {
  margin-bottom: 15px;
}

.skill .title-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.skill .title-wrapper data {
    color: var(--light-gray);
    font-size: var(--fs7);
    font-weight: var(--fw300);
}

.skills-progress-bg {
    background: var(--jet);
    width: 100%;
    height: 8px;
    border-radius: 10px;
}

.skills-progress-fill {
    background: var(--text-gradient-yellow);
    height: 100%;
    border-radius: inherit;
}

/* --- Product Gallery / Portfolio Page --- */
.filter-list {
  display: none;
}

.filter-select-box {
    position: relative;
    margin-bottom: 25px;
}

.filter-select {
    background: var(--eerie-black2);
    color: var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--jet);
    border-radius: 14px;
    font-size: var(--fs6);
    font-weight: var(--fw300);
}

.filter-select.active .select-icon {
  transform: rotate(0.5turn);
}

.select-list {
    background: var(--eerie-black2);
    position: absolute;
    top: calc(100% + 6px);
    width: 100%;
    padding: 6px;
    border: 1px solid var(--jet);
    border-radius: 14px;
    z-index: 2;
    visibility: hidden;
    pointer-events: none;
    transition: .5s ease-in-out;
}

.filter-select.active + .select-list {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.select-item button {
    background: var(--eerie-black2);
    color: var(--light-gray);
    font-size: var(--fs6);
    font-weight: var(--fw300);
    text-transform: capitalize;
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
}

.select-item button:hover {
  --eerie-black2: hsl(240, 2%, 20%);
}

.project-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 10px;
}

.project-item {
  display: none;
}

.project-item.active {
    display: block;
    animation: scaleUp .25s ease forwards;
}

.project-item > a {
  width: 100%;
}

.project-img, 
.store-card-banner,
.blog-banner-box {
    position: relative;
    width: 100%;
    display: block; /* Ensure it behaves as a block */
    
    /* Force Square Aspect Ratio */
    aspect-ratio: 1 / 1; 
    
    /* Fallback for older browsers that don't support aspect-ratio */
    @supports not (aspect-ratio: 1 / 1) {
        height: 0;
        padding-bottom: 100%; /* 1:1 Aspect Ratio via padding hack */
    }

    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: var(--eerie-black1);
}

/* Ensure the image inside fills the box perfectly */
.project-img img:not(.primary-img):not(.secondary-img), 
.store-card-banner img:not(.primary-img):not(.secondary-img),
.blog-banner-box img:not(.primary-img):not(.secondary-img) {
    position: absolute; /* Required for aspect-ratio padding hack fallback */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop sides/top to fill */
    object-position: center;
    transition: transform 0.5s ease;
}

/* Hover Effect */
.project-item > a:hover img:not(.primary-img):not(.secondary-img),
.store-card:hover img:not(.primary-img):not(.secondary-img) {
    transform: scale(1.08);
}

.project-item > a:hover .project-img::before {
  background: hsla(0, 0%, 0%, .5);
}

.project-item-icon-box {
    --scale: .8;
    background: var(--jet);
    color: var(--orange-yellow-crayola);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(var(--scale));
    font-size: 20px;
    padding: 18px;
    border-radius: 12px;
    opacity: 0;
    z-index: 10;
    transition: var(--transition1);
}

.project-item > a:hover .project-item-icon-box {
    --scale: 1;
    opacity: 1;
}

.project-item-icon-box ion-icon {
  --ionicon-stroke-width: 50px;
}

.project-title, .project-category {
  margin-left: 10px;
}

.project-title {
    color: var(--white2);
    font-size: var(--fs5);
    font-weight: var(--fw400);
    text-transform: capitalize;
    line-height: 1.3;
}

.project-category {
    color: var(--light-gray70);
    font-size: var(--fs6);
    font-weight: var(--fw300);
}

/* --- Blog Pages --- */
.blog-posts {
  margin-bottom: 10px;
}

.blog-posts-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.blog-posts-item > a {
    position: relative;
    background: var(--border-gradient-onyx);
    height: 100%;
    box-shadow: var(--shadow4);
    border-radius: 16px;
    z-index: 1;
}

.blog-posts-item > a::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: var(--eerie-black1);
    z-index: -1;
}

.blog-banner-box {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-banner-box img:not(.primary-img):not(.secondary-img) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition1);
}

.blog-content {
  padding: 15px;
}

.blog-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
}

.blog-meta :is(.blog-category, time) {
    color: var(--light-gray70);
    font-size: var(--fs6);
    font-weight: var(--fw300);
}

.blog-meta .dot {
    background: var(--light-gray70);
    width: 4px;
    height: 4px;
    border-radius: 4px;
}

.blog-item-title {
    margin-bottom: 10px;
    line-height: 1.3;
    transition: var(--transition1);
}

.blog-post-item > a:hover .blog-item-title {
  color: var(--orange-yellow-crayola);
}

.blog-text {
    color: var(--light-gray);
    font-size: var(--fs6);
    font-weight: var(--fw300);
    line-height: 1.6;
    text-align: justify;
}

/* --- Blog Post Detail Page --- */
.post-tags {
  margin-top: 30px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tag-list span {
  color: var(--light-gray70);
  font-size: var(--fs6);
}

.tag-item {
  font-size: var(--fs8);
  font-weight: var(--fw300);
  color: var(--orange-yellow-crayola);
  background: var(--onyx);
  padding: 4px 12px;
  border-radius: 8px;
  transition: var(--transition1);
}

.tag-item:hover {
  background: var(--jet);
  color: var(--vegas-gold);
}

.related-posts {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--jet);
}

.related-posts-title {
  margin-bottom: 25px;
}

.related-posts .blog-posts-list {
  grid-template-columns: 1fr;
}

/* --- Blog Search & Pagination --- */
.search-form {
  margin-bottom: 30px;
}

.search-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-wrapper .form-btn {
  width: auto; /* Allow button to shrink */
  padding: 13px; /* Make it more square */
  min-width: 50px;
}

.pagination {
  margin-top: 40px;
  width: 100%;
}

.pagination-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.pagination-link {
  background: var(--onyx);
  color: var(--light-gray);
  font-size: var(--fs6);
  font-weight: var(--fw500);
  padding: 8px 14px;
  border-radius: 12px;
  transition: var(--transition1);
  white-space: nowrap;
}

.pagination-item.active .pagination-link {
  background: var(--text-gradient-yellow);
  color: var(--eerie-black2);
}

.pagination-item:not(.active) .pagination-link:hover {
  background: var(--jet);
  color: var(--white1);
}

.pagination-link.disabled {
  opacity: 0.6;
  pointer-events: none;
}


/* --- Contact Page --- */
.mapbox {
    position: relative;
    height: 250px;
    width: 100%;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid var(--jet);
    overflow: hidden;
}

.mapbox figure {
  height: 100%;
}

.mapbox iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1) invert(1);
}

.contact-form {
  margin-bottom: 10px;
}

.form-title {
  margin-bottom: 20px;
}

.input-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.captcha-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.captcha-label {
  color: var(--light-gray);
  font-size: var(--fs6);
  white-space: nowrap; /* Prevent the question from breaking into two lines */
}

.captcha-wrapper .form-input {
  min-width: 80px;
}


/* --- Rich Text (Quill) Content Styling --- */
.about-text,
.service-item-text {
  text-align: left;
  padding-left: 0;
  padding-right: 0;
}

.about-text > *,
.service-item-text > * {
  margin-bottom: 1em;
}

.about-text h1, .service-item-text h1 {
  font-size: 2em;
  font-weight: 600;
  color: var(--white2);
}
.about-text h2, .service-item-text h2 {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--white2);
}
.about-text h3, .service-item-text h3 {
  font-size: 1.17em;
  font-weight: 600;
  color: var(--white2);
}

.about-text ul, .about-text ol,
.service-item-text ul, .service-item-text ol {
    list-style: revert;
    padding-left: 40px;
}

.about-text li,
.service-item-text li {
    display: list-item;
    list-style: revert;
    margin-bottom: 0.5em;
}

.about-text blockquote,
.service-item-text blockquote {
  border-left: 4px solid var(--jet);
  padding-left: 1em;
  margin-left: 0;
  color: var(--light-gray70);
}

.about-text a,
.service-item-text a {
  color: var(--orange-yellow-crayola);
  text-decoration: underline;
  transition: var(--transition1);
  display: inline;
  vertical-align: baseline;
}
.about-text a:hover,
.service-item-text a:hover {
  color: var(--vegas-gold);
}

.about-text > *:last-child,
.service-item-text > *:last-child {
    margin-bottom: 0;
}

.about-text img,
.service-item-text img {
  border-radius: 16px;
  max-width: 100%;
  height: auto;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

/* --- Bottom Box --- */
.bottom-box {
  background: var(--eerie-black2);
  border: 1px solid var(--jet);
  border-radius: 20px;
  padding: 15px;
  box-shadow: var(--shadow1);
  margin-top: 25px;
  z-index: 1;
}

.bottom-box .about-text:not(:last-child) {
  margin-bottom: 30px;
}

.bottom-box .about-text p {
  color: var(--light-gray);
  font-size: var(--fs-7);
  line-height: 1.6;
  font-weight: var(--fw-300);
}

.bottom-box .about-text p:not(:last-child) {
  margin-bottom: 15px;
}

/* ========================================= */
/*    WOW FACTOR ADDITIONS (Animations)      */
/* ========================================= */

/* --- 1. Hero Section Entrance Animations --- */
/* Define the Keyframe if not already present */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply to Hero Elements with delays for a "staggered" effect */
.hero-title {
  opacity: 0; /* Start hidden */
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-subtitle {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards; /* 0.2s delay */
}

.hero .form-btn {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards; /* 0.4s delay */
}

/* --- 2. Trust Bar (How It Works) Interactive Hover --- */
.trust-item {
  transition: transform 0.3s ease;
  cursor: default;
}

.trust-item:hover {
  transform: translateY(-5px); /* Lift the whole group */
}

/* Animate the icon circle on hover */
.trust-item .trust-icon {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
}

.trust-item:hover .trust-icon {
  background: var(--orange-yellow-crayola); /* Fill with accent color */
  color: var(--eerie-black2); /* Dark icon text */
  transform: scale(1.1) rotate(10deg); /* Grow and tilt */
  box-shadow: 0 0 20px var(--orange-yellow-crayola); /* Glow effect */
  border-color: var(--orange-yellow-crayola);
}

/* --- 3. Category Card Icon Pulse --- */
/* When hovering the category card, make the icon inside pulse */
.category-card:hover ion-icon {
  animation: pulse 1s infinite;
  color: var(--white1); /* Turn icon white on hover for contrast */
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}